langchain/templates/xml-agent/main.py
2024-05-22 15:21:08 -07:00

6 lines
203 B
Python

from xml_agent.agent import agent_executor
if __name__ == "__main__":
question = "who won the womens world cup in 2023?"
print(agent_executor.invoke({"question": question, "chat_history": []}))