feat: config vector model and qa model

This commit is contained in:
archer
2023-08-25 15:00:51 +08:00
parent a9970dd694
commit 6d93059e25
35 changed files with 337 additions and 196 deletions

View File

@@ -19,7 +19,7 @@ const kbSchema = new Schema({
type: String,
required: true
},
model: {
vectorModel: {
type: String,
required: true,
default: 'text-embedding-ada-002'