feat: self vector search

This commit is contained in:
archer
2023-08-26 18:24:16 +08:00
parent 13439c5183
commit be33794a5f
22 changed files with 151 additions and 71 deletions

View File

@@ -6,5 +6,11 @@ export const defaultKbDetail: KbItemType = {
avatar: '/icon/logo.svg',
name: '',
tags: '',
vectorModelName: 'text-embedding-ada-002'
vectorModel: {
model: 'text-embedding-ada-002',
name: 'Embedding-2',
price: 0.2,
defaultToken: 500,
maxToken: 8000
}
};