IndexCreateRequest
A request to create an index.
{
"name": "string",
"description": "string",
"embeddings_model_endpoint": "string",
"text_splitting": "string",
"chunk_size": 0,
"chunk_overlap": 0,
"hybrid_search": false,
"text_search_config": "simple"
}
Name of the index.
Description of the index.
ID of the model to be used by the index for generating embeddings.
Maximum size (in tokens) of the text chunks. This must be at least 100 to accommodate for content metadata embedded alongside each chunk of text.
Size of the chunk overlap (in tokens) when splitting text.
Enable or disable hybrid search. If enabled, text_search_config must be provided.
The text search configuration to use for hybrid search. The available values depend on the version of the database server used by this Private AI Services instances. Please refer to the PostgreSQL server documentation for available values. For example: 'simple', 'english', 'french'.