parse_agent_response#
- langchain_aws.agents.base.parse_agent_response(response: Any) List[BedrockAgentAction] | BedrockAgentFinish [source]#
Parses the raw response from Bedrock Agent
- Parameters:
response (Any) – The raw response from Bedrock Agent
- Return type:
List[BedrockAgentAction] | BedrockAgentFinish
- Returns
Either a BedrockAgentAction or a BedrockAgentFinish