Spaces:
Runtime error
Runtime error
Starter LLM Inference Call
Browse files
app.py
CHANGED
|
@@ -68,7 +68,9 @@ agent = create_sql_agent(
|
|
| 68 |
llm,
|
| 69 |
db=db,
|
| 70 |
verbose=True,
|
| 71 |
-
agent_type="openai-tools"
|
|
|
|
|
|
|
| 72 |
)
|
| 73 |
|
| 74 |
# Query examples
|
|
|
|
| 68 |
llm,
|
| 69 |
db=db,
|
| 70 |
verbose=True,
|
| 71 |
+
#agent_type="openai-tools"
|
| 72 |
+
agent_type="zero-shot-react-description",
|
| 73 |
+
handle_parsing_errors=True
|
| 74 |
)
|
| 75 |
|
| 76 |
# Query examples
|