Feature/update upsert API (#3836)

* update upsert API

* add fix for override files in upsert vector
This commit is contained in:
Henry Heng
2025-01-09 13:22:35 +00:00
committed by GitHub
parent 1ae78c2739
commit 8d266052ae
14 changed files with 766 additions and 55 deletions
@@ -628,8 +628,8 @@ paths:
- document-store
security:
- bearerAuth: []
summary: Upsert new document to document store
description: Upsert new document to document store
summary: Upsert document to document store
description: Upsert document to document store
operationId: upsertDocument
parameters:
- in: path
@@ -2326,6 +2326,13 @@ components:
type: string
format: uuid
description: Document ID within the store. If provided, existing configuration from the document will be used for the new document
metadata:
type: object
description: Metadata associated with the document
example: { 'foo': 'bar' }
replaceExisting:
type: boolean
description: Whether to replace existing document loader with the new upserted chunks. However this does not delete the existing embeddings in the vector store
loader:
type: object
properties: