Skip to content

Type Alias: ChatModelSegment

ts
type ChatModelSegment = {
  type: "segment";
  segmentType: ChatModelSegmentType;
  text: string;
  ended: boolean;
  raw: LlamaTextJSON;
  startTime: string;
  endTime: string;
};

Defined in: types.ts:164

Type declaration

type

ts
type: "segment";

segmentType

ts
segmentType: ChatModelSegmentType;

text

ts
text: string;

ended

ts
ended: boolean;

raw?

ts
optional raw: LlamaTextJSON;

startTime?

ts
optional startTime: string;

endTime?

ts
optional endTime: string;