2 個答案
- 最新
- 最多得票
- 最多評論
2
Hi,
The Bedrock InvokeAgent API is probably the one that you are looking for: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html
With boto3, doc is here: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-agent-runtime/client/invoke_agent.html
Best,
Didier
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 年前
相關內容
已提問 3 年前

I followed this documentation, in the sessionState > useCase i entered "CHAT" but I get this error in the response: "message": "Cannot perform this action with the input field [files] with CHAT use case for the provided model"
Hi Rish123, after having answered you, I discovered this just-published video with accompanying repo (containing all code): video = https://www.youtube.com/watch?v=zC_qLlm2se0 code = https://github.com/build-on-aws/agents-for-amazon-bedrock-sample-feature-notebooks/blob/main/notebooks/preview-agent-code-interpreter.ipynb
Follow this guidance to fix your issue
Thanks for accepting my answer!
Didier