Spaces:
Runtime error
Runtime error
lakshmivairamani
commited on
Commit
•
bd23182
1
Parent(s):
c28d00a
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ db_uri = 'mysql+mysqlconnector://redmindgen:51([email protected]
|
|
30 |
db = SQLDatabase.from_uri(db_uri)
|
31 |
|
32 |
# LLM setup
|
33 |
-
llm = ChatOpenAI(model="
|
|
|
34 |
|
35 |
-
#gpt-3.5-turbo-0125
|
36 |
|
37 |
# Define the SQL query generation tool
|
38 |
template_query_generation = """Based on the table schema below, write a SQL query that would answer the user's question:
|
|
|
30 |
db = SQLDatabase.from_uri(db_uri)
|
31 |
|
32 |
# LLM setup
|
33 |
+
llm = ChatOpenAI(model="gpt-3.5-turbo-0125")
|
34 |
+
|
35 |
|
|
|
36 |
|
37 |
# Define the SQL query generation tool
|
38 |
template_query_generation = """Based on the table schema below, write a SQL query that would answer the user's question:
|