Skip to content

Commit

Permalink
Fix OpenSearch vector store upsert (FlowiseAI#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldabate authored Jun 1, 2024
1 parent 1d99270 commit e5f0ca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class OpenSearch_VectorStores implements INode {

//@ts-ignore
vectorStoreMethods = {
async upsert(nodeData: INodeData, _: string, options: ICommonObject): Promise<Partial<IndexingResult>> {
async upsert(nodeData: INodeData, options: ICommonObject): Promise<Partial<IndexingResult>> {
const docs = nodeData.inputs?.document as Document[]
const embeddings = nodeData.inputs?.embeddings as Embeddings
const indexName = nodeData.inputs?.indexName as string
Expand Down

0 comments on commit e5f0ca2

Please sign in to comment.