openai.ChatCompletion.create()
. If :obj:None
, :obj:ChatGPTConfig().as_dict()
will be used. (default: :obj:None
)None
)None
)None
)None
)None
)None
)OpenAITokenCounter
will be used. (default: :obj:None
)None
)3
) **kwargs (Any): Additional arguments to pass to the client initialization.ChatCompletion
in the non-stream mode, or
Stream[ChatCompletionChunk]
in the stream mode.
ChatCompletionStreamManager[BaseModel]
for
structured output streaming.