GenerateResponseChunk<Output> constructor
GenerateResponseChunk<Output> (
- ModelResponseChunk _chunk, {
- List<
ModelResponseChunk> previousChunks = const [], - Output? output,
Implementation
GenerateResponseChunk(
this._chunk, {
this.previousChunks = const [],
this.output,
}) : super(
index: _chunk.index,
role: _chunk.role,
content: _chunk.content,
custom: _chunk.custom,
);