mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-23 02:15:42 +00:00
templates: add gemini functions agent (#17141)
Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
5
templates/gemini-functions-agent/main.py
Normal file
5
templates/gemini-functions-agent/main.py
Normal 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": []}))
|
Reference in New Issue
Block a user