perf: vector format (#5516)

* perf: vector format

* feat: embedding batch size
This commit is contained in:
Archer
2025-08-22 10:18:24 +08:00
committed by GitHub
parent a92917c05f
commit 95325346ff
15 changed files with 436 additions and 38 deletions

View File

@@ -65,6 +65,7 @@ export type EmbeddingModelItemType = PriceType &
weight: number; // training weight
hidden?: boolean; // Disallow creation
normalization?: boolean; // normalization processing
batchSize?: number;
defaultConfig?: Record<string, any>; // post request config
dbConfig?: Record<string, any>; // Custom parameters for storage
queryConfig?: Record<string, any>; // Custom parameters for query

View File

@@ -110,6 +110,8 @@ export enum FlowNodeTypeEnum {
systemConfig = 'userGuide',
pluginConfig = 'pluginConfig',
globalVariable = 'globalVariable',
comment = 'comment',
workflowStart = 'workflowStart',
chatNode = 'chatNode',
@@ -141,7 +143,6 @@ export enum FlowNodeTypeEnum {
loopStart = 'loopStart',
loopEnd = 'loopEnd',
formInput = 'formInput',
comment = 'comment',
tool = 'tool',
toolSet = 'toolSet'
}