mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 15:41:05 +00:00
perf: vector format (#5516)
* perf: vector format * feat: embedding batch size
This commit is contained in:
1
packages/global/core/ai/model.d.ts
vendored
1
packages/global/core/ai/model.d.ts
vendored
@@ -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
|
||||
|
@@ -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'
|
||||
}
|
||||
|
Reference in New Issue
Block a user