bstraehle commited on
Commit
7f928ad
1 Parent(s): 421ee5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  # Multimodal message, clear, undo
2
- # File search
3
  # Matlplotlib chart
4
  # Function: Tavily API
5
 
@@ -57,7 +57,7 @@ def create_message(client, thread, msg):
57
  role="user",
58
  thread_id=thread.id,
59
  content=msg["text"],
60
- attachments=None,
61
  )
62
 
63
  show_json("message", message)
 
1
  # Multimodal message, clear, undo
2
+ # File search https://platform.openai.com/docs/api-reference/messages/createMessage
3
  # Matlplotlib chart
4
  # Function: Tavily API
5
 
 
57
  role="user",
58
  thread_id=thread.id,
59
  content=msg["text"],
60
+ attachments=[msg["files"], [code_interpreter, file_search]],
61
  )
62
 
63
  show_json("message", message)