langchain.agents.format_scratchpad.xml
.format_xml¶
- langchain.agents.format_scratchpad.xml.format_xml(intermediate_steps: List[Tuple[AgentAction, str]]) str [source]¶
Format the intermediate steps as XML.
- Parameters
intermediate_steps – The intermediate steps.
- Returns
The intermediate steps as XML.