내용으로 건너뛰기

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠