Comments (3)
以下のようなプロンプトが使えるかも
使用する runtime は python 3.9 です。
ただし、 Lambda 関数を作成するコードと、 Lambda 関数の実装は json 形式で分けて出力してください。
json は以下の例のように、create , implementation キーを使ってください。
JSON以外の文字列は一切出力しないでください。例外はありません。
# 例
{"create":"""import boto3
client = boto3.client('lambda')
client.create_function()
...
'""",
"implementation":"""
def lambda_handler(event, context):
return event
"""
}
from generative-ai-use-cases-jp.
すません、自分のミスなんですが、
client.create_function()
...
ではなく、
client.create_function(...)
のほうが良さそうです(と書いたつもりでした…)
from generative-ai-use-cases-jp.
一旦ブログでの対応。声が多ければ別途対応することとしてクローズする
https://aws.amazon.com/jp/builders-flash/202311/bedrock-interpreter/
from generative-ai-use-cases-jp.
Related Issues (20)
- 手元の環境に依存せずにデプロイする手順の作成
- ブラウザ拡張の main マージ
- Streaming Response を実施している Lambda を直接 invoke から CloudFront OAC に変更
- Amplify 5.x => 6.x マイグレーション
- PWA対応
- 出力が左に偏る画面がある
- XMLタグのAutoClose機能
- 【機能追加要望】cdkの設定値を開発環境、ステージング環境や本番環境で切り替えたい HOT 2
- Knowledge Base x OpenSearch Serverless 対応 (kuromoji あり Hybrid Search)
- Claude3 Opus のRAGチャットで504 Gateway Timeout HOT 1
- 【要望】PowerPointファイルのアップロードと読み取り
- .gitignore の対象を追加 HOT 3
- ファイルアップロード・音声認識からユースケースに「送る」ボタン HOT 5
- 生成ごとの消費トークン数をDynamoDBに記録する
- 「保存したシステムコンテキスト」を選択したときに、「プロンプト例」を選択したときと同様にチャット画面に遷移したい HOT 5
- 【不具合】空文字の質問文をリクエストするとエラーが発生
- ファイルアップロード機能において、アップロード(認識)エラーとなる形式がある HOT 1
- Guardrail の追加
- 複数リージョンに deploy すると WebSearchAgentStack で IAMロール AmazonBedrockExecutionRoleForAgents_SearchEngine の重複エラーが発生する HOT 1
- BIツール用のデータ出力機能
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generative-ai-use-cases-jp.