Create a new vector store for a project.
This endpoint creates a vector store using the specified engine and configuration. Currently supports SGP Knowledge Base engine, but we plan to support more engines in the future.
Authentication:
Returns:
Example Request:
{
"engine": "sgp_knowledge_base",
"name": "My Knowledge Base",
"embedding_model": "openai/text-embedding-3-large",
}
Example Response:
{
"id": "vs_123456789",
"project_id": "proj_987654321",
"name": "My Knowledge Base",
"engine": "sgp_knowledge_base",
"created_at": "2024-01-15T10:30:00Z"
}
API key for authentication
Selected Account ID
Base embedding configuration using standard models.
Name of the vector store
Embedding model to use for SGP Vector Store. e.g. openai/text-embedding-3-large
sentence-transformers/all-MiniLM-L12-v2, sentence-transformers/all-mpnet-base-v2, sentence-transformers/multi-qa-distilbert-cos-v1, sentence-transformers/paraphrase-multilingual-mpnet-base-v2, openai/text-embedding-ada-002, openai/text-embedding-3-small, openai/text-embedding-3-large, embed-english-v3.0, embed-english-light-v3.0, embed-multilingual-v3.0, gemini/text-embedding-005, gemini/text-multilingual-embedding-002, gemini/gemini-embedding-001 "sgp_vector_store"Schema of the vector store metadata. You can set metadata for parsed documents and they will be indexed as extra metadata in the vector store to filter on when searching.
Type of embedding configuration for standard models
"base"Vector store created successfully
ID of the entity
ID of the project
Name of the vector store
Engine used for vector store
sgp_knowledge_base, sgp_vector_store When the vector store was created
Engine-specific external identifier used when calling the upstream API. For SGP Knowledge Base this equals the SGP KB UUID (same as id). For SGP Vector Store this is '<account_id>::