Skip to main content

Module vector_stores

Module vector_stores 

Source
Expand description

The Vector Stores API: manage vector stores via /vector_stores.

![warn] This module is untested! If you encounter any issues, please report them on the repository.

Vector stores hold parsed, chunked and embedded file contents for use with the file_search tool of the Responses API. See the OpenAI Vector Stores guide.

Submodules: create, retrieve, update, delete, list, files (per-store file management) and search (semantic search over a store).

Modules§

create
Create a vector store via POST /vector_stores.
delete
Delete a vector store via DELETE /vector_stores/{vector_store_id}.
files
Manage the files of a vector store via /vector_stores/{vector_store_id}/files.
list
List vector stores via GET /vector_stores.
retrieve
Retrieve a vector store via GET /vector_stores/{vector_store_id}.
search
Search a vector store via POST /vector_stores/{vector_store_id}/search.
update
Update a vector store via POST /vector_stores/{vector_store_id}.

Structs§

VectorStore
A vector store.
VectorStoreFile
A file inside a vector store.
VectorStoreFileCounts
The file counts of a vector store.
VectorStoreFileError
The last error of a vector store file.

Enums§

ChunkingStrategy
The chunking strategy applied to a file inside a vector store.
VectorStoreFileStatus
The status of a file inside a vector store.