Type Alias: LlamaChatResponseSegment
ts
type LlamaChatResponseSegment = {
type: "segment";
segmentType: ChatModelSegmentType;
text: string;
ended: boolean;
raw: LlamaTextJSON;
startTime: string;
endTime: string;
};
Defined in: evaluator/LlamaChat/LlamaChat.ts:888
Type declaration
type
ts
type: "segment";
segmentType
ts
segmentType: ChatModelSegmentType;
text
ts
text: string;
ended
ts
ended: boolean;
raw
ts
raw: LlamaTextJSON;
startTime?
ts
optional startTime: string;
endTime?
ts
optional endTime: string;