CreateVectorStoreFileBatchRequest
Request body for creating a vector store file batch.
Example Usage
typescript
import { CreateVectorStoreFileBatchRequest } from "@meetkai/mka1/models/components";
let value: CreateVectorStoreFileBatchRequest = {
fileIds: [
"file-abc123",
"file-def456",
"file-ghi789",
],
attributes: {
"batch_id": "import-2024-01",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
fileIds | string[] | ➖ | A list of File IDs that the vector store should use. If attributes or chunking_strategy are provided at the root level, they will be applied to all files in the batch. Mutually exclusive with 'files'. At most 500 per batch. |
files | components.FileWithMetadata[] | ➖ | A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. Entries without their own attributes or chunking_strategy fall back to the request-level values. Mutually exclusive with 'file_ids'. At most 500 per batch. |
attributes | Record<string, components.CreateVectorStoreFileBatchRequestAttributes> | ➖ | Batch-wide default attributes, applied to every file that does not carry its own (a 'files' entry's attributes override this). |
chunkingStrategy | components.CreateVectorStoreFileBatchRequestChunkingStrategy | ➖ | Batch-wide default chunking strategy, applied to every file that does not carry its own (a 'files' entry's chunking_strategy overrides this). |