This commit is contained in:
Archer
2023-12-31 14:12:51 +08:00
committed by GitHub
parent ccca0468da
commit 9ccfda47b7
270 changed files with 8182 additions and 1295 deletions

View File

@@ -3,7 +3,8 @@ export type LLMModelItemType = {
name: string;
maxContext: number;
maxResponse: number;
price: number;
inputPrice: number;
outputPrice: number;
};
export type ChatModelItemType = LLMModelItemType & {
quoteMaxToken: number;
@@ -22,7 +23,8 @@ export type VectorModelItemType = {
model: string;
name: string;
defaultToken: number;
price: number;
inputPrice: number;
outputPrice: number;
maxToken: number;
weight: number;
};
@@ -30,7 +32,8 @@ export type VectorModelItemType = {
export type ReRankModelItemType = {
model: string;
name: string;
price: number;
inputPrice: number;
outputPrice?: number;
requestUrl?: string;
requestAuth?: string;
};
@@ -38,12 +41,14 @@ export type ReRankModelItemType = {
export type AudioSpeechModelType = {
model: string;
name: string;
price: number;
inputPrice: number;
outputPrice?: number;
voices: { label: string; value: string; bufferId: string }[];
};
export type WhisperModelType = {
model: string;
name: string;
price: number;
inputPrice: number;
outputPrice?: number;
};