render_observations#
- langchain_cohere.react_multi_hop.prompt.render_observations(observations: List[Mapping[str, str]] | List[str] | Mapping[str, str] | str, index: int) Tuple[BaseMessage, int] [source]#
Renders the βoutputβ part of an Agentβs intermediate step into prompt content.
- Parameters:
observations (List[Mapping[str, str]] | List[str] | Mapping[str, str] | str) β
index (int) β
- Return type:
Tuple[BaseMessage, int]