ChatCompletionChunk#

class langchain_community.adapters.openai.ChatCompletionChunk[source]#

Bases: IndexableBaseModel

Chat completion chunk.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param choices: List[ChoiceChunk] [Required]#