hassano94 commited on
Commit
6f608b7
·
verified ·
1 Parent(s): 7986b7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ port = "3306"
21
  mydatabase = "Chinook"
22
  pg_uri = f"mysql+pymysql://{username}:{password}@{host}:{port}/{mydatabase}"
23
  db = SQLDatabase.from_uri(pg_uri)
24
- llm = ChatOpenAI(model="gpt-4-turbo", temperature=0)
25
  agent_executor = create_sql_agent(llm, db=db, agent_type="openai-tools", verbose=False)
26
 
27
  #sidebar
 
21
  mydatabase = "Chinook"
22
  pg_uri = f"mysql+pymysql://{username}:{password}@{host}:{port}/{mydatabase}"
23
  db = SQLDatabase.from_uri(pg_uri)
24
+ llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)
25
  agent_executor = create_sql_agent(llm, db=db, agent_type="openai-tools", verbose=False)
26
 
27
  #sidebar