Spaces:
Runtime error
Runtime error
Aman Jain
commited on
Commit
·
27eee56
1
Parent(s):
3088501
Fixes
Browse files
app.py
CHANGED
|
@@ -129,7 +129,7 @@ llm_engine = OpenAIEngine()
|
|
| 129 |
|
| 130 |
|
| 131 |
# Create the agent
|
| 132 |
-
agent = ReactJsonAgent(tools=[retriever_tool], llm_engine=llm_engine, max_iterations=
|
| 133 |
|
| 134 |
# Function to run the agent
|
| 135 |
def run_agentic_rag(question: str) -> str:
|
|
|
|
| 129 |
|
| 130 |
|
| 131 |
# Create the agent
|
| 132 |
+
agent = ReactJsonAgent(tools=[retriever_tool], llm_engine=llm_engine, max_iterations=4, verbose=2)
|
| 133 |
|
| 134 |
# Function to run the agent
|
| 135 |
def run_agentic_rag(question: str) -> str:
|