feat: 封装向量生成和账单

This commit is contained in:
archer
2023-04-03 10:59:32 +08:00
parent 6c4026ccef
commit cf37992b5c
9 changed files with 82 additions and 85 deletions

View File

@@ -16,7 +16,7 @@ const BillSchema = new Schema({
},
modelName: {
type: String,
enum: modelList.map((item) => item.model),
enum: [...modelList.map((item) => item.model), 'text-embedding-ada-002'],
required: true
},
chatId: {