Skip to content

CreateVectorStoreRequest

Example Usage

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

let value: CreateVectorStoreRequest = {
  createVectorStoreRequest: {
    name: "Product Documentation",
    description: "Vector store for product manuals and documentation",
    expiresAfter: {
      anchor: "last_active_at",
      days: 30,
    },
  },
};

Fields

FieldTypeRequiredDescriptionExample
xOnBehalfOfstringOptional external end-user identifier forwarded by the API gateway.
createVectorStoreRequestcomponents.CreateVectorStoreRequest✔️N/AExample 1: {
"name": "Product Documentation",
"description": "Vector store for product manuals and documentation",
"expires_after": {
"anchor": "last_active_at",
"days": 30
}
}
Example 2: {
"name": "Compact Embeddings Store",
"embedding_model": "auto",
"embedding_dimensions": 256
}