mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
add vector upsert ability
This commit is contained in:
@@ -92,6 +92,7 @@ export interface INodeProperties {
|
||||
baseClasses: string[]
|
||||
description?: string
|
||||
filePath?: string
|
||||
badge?: string
|
||||
}
|
||||
|
||||
export interface INode extends INodeProperties {
|
||||
@@ -100,6 +101,11 @@ export interface INode extends INodeProperties {
|
||||
loadMethods?: {
|
||||
[key: string]: (nodeData: INodeData, options?: ICommonObject) => Promise<INodeOptionsValue[]>
|
||||
}
|
||||
vectorStoreMethods?: {
|
||||
upsert: (nodeData: INodeData, options?: ICommonObject) => Promise<void>
|
||||
search: (nodeData: INodeData, options?: ICommonObject) => Promise<any>
|
||||
delete: (nodeData: INodeData, options?: ICommonObject) => Promise<void>
|
||||
}
|
||||
init?(nodeData: INodeData, input: string, options?: ICommonObject): Promise<any>
|
||||
run?(nodeData: INodeData, input: string, options?: ICommonObject): Promise<string | ICommonObject>
|
||||
clearSessionMemory?(nodeData: INodeData, options?: ICommonObject): Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user