Skip to content

CreateVectorStoreRequest

Request body for creating a vector store.

Example Usage

typescript
import { CreateVectorStoreRequest } from "@meetkai/mka1/models/components";

let value: CreateVectorStoreRequest = {};

Fields

FieldTypeRequiredDescription
namestringThe name of the vector store.
descriptionstringA description for the vector store. Can be used to describe the vector store's purpose.
fileIdsstring[]A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.
expiresAftercomponents.ExpiresAfterThe expiration policy for a vector store.
chunkingStrategycomponents.CreateVectorStoreRequestChunkingStrategyThe chunking strategy used to chunk the file(s). If not set, will use the auto strategy. Only applicable if file_ids is non-empty.
metadataRecord<string, string>Set of 16 key-value pairs that can be attached to an object. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.