Update app.py
Browse files
app.py
CHANGED
@@ -54,13 +54,12 @@ def chat_with_assistant(message: str, dataframe: pd.DataFrame) -> str:
|
|
54 |
dataframe_csv = dataframe.to_csv(index=False)
|
55 |
|
56 |
full_message = f"""
|
57 |
-
|
58 |
-
I have a DataFrame with the following content:
|
59 |
{dataframe_csv}
|
60 |
|
61 |
Here is my question: {message}
|
62 |
|
63 |
-
|
64 |
"""
|
65 |
|
66 |
client.beta.threads.messages.create(
|
|
|
54 |
dataframe_csv = dataframe.to_csv(index=False)
|
55 |
|
56 |
full_message = f"""
|
57 |
+
Here is the student information:
|
|
|
58 |
{dataframe_csv}
|
59 |
|
60 |
Here is my question: {message}
|
61 |
|
62 |
+
Only output your answer without code.
|
63 |
"""
|
64 |
|
65 |
client.beta.threads.messages.create(
|