...
要先拿到 Assistant ID & User API key
建立與 Assistant 連線
create thread → get thread ID
如何發送 user msg 到 Assistant
create message → get message ID
如何取得 Assistant 的回應
create run → run ID
check run status → if run status == done
list message →
當 Assistant 要求要執行 plugin 時,你要
怎樣知道 Assistant 要執行 plugin 以及什麼 plugin,要代入什麼參數?
打 run_plugin_api 來執行
將 plugin 結果傳回 Assistant
補充:file 時,先用 DocChat