templates: add gemini functions agent (#17141)

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Harrison Chase
2024-02-07 17:27:01 -08:00
committed by GitHub
parent aeb6b38901
commit 19546081c6
8 changed files with 2221 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
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": []}))