jeremierostan commited on
Commit
878fba8
·
verified ·
1 Parent(s): 14f7fbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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
- You are an assistant with code interpreter capabilities.
58
- I have a DataFrame with the following content:
59
  {dataframe_csv}
60
 
61
  Here is my question: {message}
62
 
63
- Please use the DataFrame and code to provide an answer.
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(