Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ async def setup_agent(settings):
|
|
85 |
agent = initialize_agent(
|
86 |
llm=llm, # our LLM (default is GPT-4 Turbo)
|
87 |
tools=[
|
88 |
-
|
89 |
], # our custom tool used to retrieve context
|
90 |
agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, # the agent type we're using today
|
91 |
memory=memory, # our memory!
|
|
|
85 |
agent = initialize_agent(
|
86 |
llm=llm, # our LLM (default is GPT-4 Turbo)
|
87 |
tools=[
|
88 |
+
rag_tool
|
89 |
], # our custom tool used to retrieve context
|
90 |
agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, # the agent type we're using today
|
91 |
memory=memory, # our memory!
|