Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ tools = [arxiv_tool, wiki_tool, search_tool, faiss_tool]
|
|
| 78 |
|
| 79 |
# Set up the agent
|
| 80 |
prompt = hub.pull("hwchase17/openai-functions-agent")
|
| 81 |
-
llm = ChatGroq(model="
|
| 82 |
agent = create_openai_tools_agent(llm, tools, prompt)
|
| 83 |
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
| 84 |
|
|
|
|
| 78 |
|
| 79 |
# Set up the agent
|
| 80 |
prompt = hub.pull("hwchase17/openai-functions-agent")
|
| 81 |
+
llm = ChatGroq(model="mixtral-8x7b-32768", api_key=groq_api_key, streaming=True)
|
| 82 |
agent = create_openai_tools_agent(llm, tools, prompt)
|
| 83 |
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
| 84 |
|