DreamStream-1 commited on
Commit
e0b2ed1
·
verified ·
1 Parent(s): 9f3a072

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ class AdvancedRAG:
241
  thread_id=self.thread_id,
242
  role="user",
243
  content="I have uploaded a document. Please analyze it.",
244
- file_ids=[file_obj.id]
245
  )
246
 
247
  return file_obj.id
 
241
  thread_id=self.thread_id,
242
  role="user",
243
  content="I have uploaded a document. Please analyze it.",
244
+ attachments=[{"file_id": file_obj.id}]
245
  )
246
 
247
  return file_obj.id