Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def main():
|
|
54 |
print("OPENAI_API_KEY is set")
|
55 |
|
56 |
# inform user that the model being used is the turbo model
|
57 |
-
st.write("Using the gpt-
|
58 |
|
59 |
|
60 |
# Upload the CSV file
|
@@ -74,7 +74,7 @@ def main():
|
|
74 |
|
75 |
# create the agent
|
76 |
agent = create_csv_agent(
|
77 |
-
ChatOpenAI(temperature=0, model="gpt-
|
78 |
os.path.join(os.getcwd(), csv_file.name),
|
79 |
verbose=True,
|
80 |
agent_type=AgentType.OPENAI_FUNCTIONS,
|
|
|
54 |
print("OPENAI_API_KEY is set")
|
55 |
|
56 |
# inform user that the model being used is the turbo model
|
57 |
+
st.write("Using the gpt-4o-mini model from OpenAI")
|
58 |
|
59 |
|
60 |
# Upload the CSV file
|
|
|
74 |
|
75 |
# create the agent
|
76 |
agent = create_csv_agent(
|
77 |
+
ChatOpenAI(temperature=0, model="gpt-4o-mini"),
|
78 |
os.path.join(os.getcwd(), csv_file.name),
|
79 |
verbose=True,
|
80 |
agent_type=AgentType.OPENAI_FUNCTIONS,
|