parse_agent_response#
- langchain_aws.agents.utils.parse_agent_response(
- response: Any,
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