StreamPartial: {
content: string;
type: "lit";
} | {
content: string;
prompt: string;
type: "gen";
} | {
content: string;
preprompt?: string;
system: string;
type: "template";
} | {
content: string;
tokenCount: number;
type: "ungen";
}
Type declaration
-
content: string
-
type: "lit"
Type declaration
-
content: string
-
prompt: string
-
type: "gen"
Type declaration
-
content: string
-
Optional
preprompt?: string
-
system: string
-
type: "template"
Type declaration
-
content: string
-
tokenCount: number
-
type: "ungen"