If set, partial message increments will be sent, just like in ChatGPT. When tokens become available, they will be sent as plain data server-sent events with data: [DONE], and the stream will be terminated by the message. For example code, see the OpenAI Cookbook.
introduction
string
optional
Set the role and tone of a researcher
plan_approval
boolean
optional
Before conducting the research, generate a research plan and wait for the user to approve or modify it.
max_depth
integer
optional
The maximum research depth. It is recommended to set it to 25 rounds for optimal results.
{"id":"chatcmpl-123","object":"chat.completion","created":1677652288,"choices":[{"index":0,"message":{"role":"assistant","content":"\n\nHello there, how may I assist you today?"},"finish_reason":"stop"}],"usage":{"prompt_tokens":9,"completion_tokens":12,"total_tokens":21}}