Document Store
Last updated
Last updated
Creates a new document store with the provided details
/document-store/store
Unique identifier for the document store
Name of the document store
Description of the document store
Loaders associated with the document store, stored as JSON string
Places where the document store is used, stored as JSON string
Configuration for the vector store, stored as JSON string
Configuration for the embedding, stored as JSON string
Configuration for the record manager, stored as JSON string
Date and time when the document store was created
Date and time when the document store was last updated
Status of the document store
EMPTY
, SYNC
, SYNCING
, STALE
, NEW
, UPSERTING
, UPSERTED
Updates the details of a specific document store by its ID
/document-store/store/{id}
Document store ID
Unique identifier for the document store
Name of the document store
Description of the document store
Loaders associated with the document store, stored as JSON string
Places where the document store is used, stored as JSON string
Configuration for the vector store, stored as JSON string
Configuration for the embedding, stored as JSON string
Configuration for the record manager, stored as JSON string
Date and time when the document store was created
Date and time when the document store was last updated
Status of the document store
EMPTY
, SYNC
, SYNCING
, STALE
, NEW
, UPSERTING
, UPSERTED
Retrieval query for the upserted chunks
/document-store/vectorstore/query
Document store ID
603a7b51-ae7c-4b0a-8865-e454ed2f6766
Query to search for
What is the capital of France?
Delete specific document loader and associated chunks from document store. This does not delete data from vector store.
/document-store/loader/{storeId}//{loaderId}
Document Store ID
Document Loader ID
No body
Get chunks from a specific document loader within a document store
/document-store/chunks/{storeId}//{loaderId}//{pageNo}
Document Store ID
Document loader ID
Pagination number
Updates a specific chunk from a document loader
/document-store/chunks/{storeId}//{loaderId}//{chunkId}
Document Store ID
Document Loader ID
Document Chunk ID
This is the content of the page.
{"author":"John Doe","date":"2024-08-24"}
Delete a specific chunk from a document loader
/document-store/chunks/{storeId}//{loaderId}//{chunkId}
Document Store ID
Document Loader ID
Document Chunk ID
No body
Upsert document to document store
/document-store/upsert/{id}
Document Store ID
Document ID within the store. If provided, existing configuration from the document will be used for the new document
Whether to replace existing document loader with the new upserted chunks. However this does not delete the existing embeddings in the vector store
Whether to create a new document store
Metadata associated with the document
{"foo":"bar"}
Only when createNewDocStore is true, pass in the new document store configuration