スキップしてコンテンツを表示

How to communicate with bedrock agent through code?

0

Ok, so I am stuck here for a while. I have a bedrock agent setup and working. I want to communicate with it through my code. I read documentation about Amazon SDK, but it mostly refers to interacting with bedrock knowledgebase instead of Agent.

Can anyone help me with this? Thanks.

2回答
2
承認された回答
エキスパート

回答済み 2年前

エキスパート

レビュー済み 2年前

AWS
エキスパート

レビュー済み 2年前

0

I followed this documentation: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html

but it requires many req parameters that I am unaware of, like memoryId, invocationId, promptSessionAttributes. I never came across these names while creating the bedrock knowledgebase, and agent.

If anyone can help me with this, then please. I can't figure this out.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ