completions
completions: {
data: {
text: string;
tokens: {
generatedToken: {
logprob: number;
raw_logprob: number;
token: string;
};
textRange: {
end: number;
start: number;
};
topTokens: any;
}[];
};
finishReason: {
reason: string;
} & {
length?: number;
};
}[]
Type declaration
data: {
text: string;
tokens: {
generatedToken: {
logprob: number;
raw_logprob: number;
token: string;
};
textRange: {
end: number;
start: number;
};
topTokens: any;
}[];
}
text: string
tokens: {
generatedToken: {
logprob: number;
raw_logprob: number;
token: string;
};
textRange: {
end: number;
start: number;
};
topTokens: any;
}[]
finishReason: {
reason: string;
} & {
length?: number;
}