Spaces:
Build error
Build error
update
Browse files
utils.py
CHANGED
|
@@ -10,7 +10,7 @@ def query_agent(data, query):
|
|
| 10 |
# Parse the CSV file and create a Pandas DataFrame from its contents.
|
| 11 |
df = pd.read_csv(data)
|
| 12 |
|
| 13 |
-
llm = OpenAI("gpt-3.5-turbo")
|
| 14 |
|
| 15 |
# Create a Pandas DataFrame agent.
|
| 16 |
agent = create_pandas_dataframe_agent(llm, df, verbose=True)
|
|
|
|
| 10 |
# Parse the CSV file and create a Pandas DataFrame from its contents.
|
| 11 |
df = pd.read_csv(data)
|
| 12 |
|
| 13 |
+
llm = OpenAI(model="gpt-3.5-turbo")
|
| 14 |
|
| 15 |
# Create a Pandas DataFrame agent.
|
| 16 |
agent = create_pandas_dataframe_agent(llm, df, verbose=True)
|