BedrockAgentFinish#
- class langchain_aws.agents.base.BedrockAgentFinish[source]#
Bases:
AgentFinish
AgentFinish with session id information.
- Parameters:
session_id – Session id
trace_log – trace log as string when enable_trace flag is set
Override init to support instantiation by position for backward compat.
- param log: str [Required]#
Additional information to log about the return value. This is used to pass along the full LLM prediction, not just the parsed out return value. For example, if the full LLM prediction was Final Answer: 2 you may want to just return 2 as a return value, but pass along the full string as a log (for debugging or observability purposes).
- param return_values: dict [Required]#
Dictionary of return values.
- param session_id: str [Required]#
- param trace_log: str | None [Required]#
- param type: Literal['AgentFinish'] = 'AgentFinish'#
- property messages: Sequence[BaseMessage]#
Messages that correspond to this observation.