youngtsai commited on
Commit
66db718
·
1 Parent(s): 58dc64d

metadata={

Browse files

"video_id": youtube_id,
"user_data": user_data
}

Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1992,6 +1992,10 @@ def chat_with_opan_ai_assistant(password, youtube_id, user_data, thread_id, tras
1992
  thread_id=thread.id,
1993
  assistant_id=assistant_id,
1994
  instructions=instructions,
 
 
 
 
1995
  )
1996
 
1997
  # 等待助手响应,设定最大等待时间为 30 秒
 
1992
  thread_id=thread.id,
1993
  assistant_id=assistant_id,
1994
  instructions=instructions,
1995
+ metadata={
1996
+ "video_id": youtube_id,
1997
+ "user_data": user_data
1998
+ }
1999
  )
2000
 
2001
  # 等待助手响应,设定最大等待时间为 30 秒