mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
ebf998acb6
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com> Co-authored-by: Lance Martin <lance@langchain.dev> Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
6 lines
213 B
Python
6 lines
213 B
Python
from openai_functions_agent.agent import agent_executor
|
|
|
|
if __name__ == "__main__":
|
|
question = "who won the womens world cup in 2023?"
|
|
print(agent_executor.invoke({"input": question, "chat_history": []}))
|