openai.ChatCompletion.create()
. If :obj:None
, :obj:ChatGPTConfig().as_dict()
will be used. (default: :obj:None
)None
)None
)OpenAITokenCounter
will be used. (default: :obj:None
)None
)3
) **kwargs (Any): Additional arguments to pass to the OpenAI client initialization. These can include parameters like ‘organization’, ‘default_headers’, ‘http_client’, etc.ChatCompletion
in the non-stream mode,
Stream[ChatCompletionChunk]
in the stream mode,
or ChatCompletionStreamManager[BaseModel]
for
structured output streaming.