Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.59 KB

File metadata and controls

36 lines (27 loc) · 2.59 KB

CreateNamespaceRequest

Request schema for creating a new namespace.

Properties

Name Type Description Notes
namespace_name str Name of the namespace to create
namespace_type NamespaceType Type of namespace. STANDARD for regular namespaces, MARKETPLACE for curated datasets. [optional]
description str Description of the namespace [optional]
feature_extractors List[BaseFeatureExtractorModelInput] List of feature extractors to use. At least one feature extractor must be provided. Optional 'params' can be specified for extractors with configurable settings (e.g., model selection) that affect vector dimensions. These params are locked at namespace creation time.
payload_indexes List[PayloadIndexConfigInput] Optional list of custom payload index configurations. Indexes required by selected feature extractors will be added automatically. [optional]
auto_create_indexes bool Enable automatic creation of Qdrant payload indexes based on filter usage patterns. When enabled, the system tracks which fields are most frequently filtered (>100 queries/24h) and automatically creates indexes to improve query performance. Background task runs every 6 hours. Expected performance improvement: 50-90% latency reduction for filtered queries. [optional] [default to False]
infrastructure NamespaceInfrastructure Optional dedicated infrastructure configuration for this namespace. Required for custom plugins and custom models (Enterprise tier). If None, uses shared infrastructure or organization-level infrastructure. [optional]

Example

from mixpeek.models.create_namespace_request import CreateNamespaceRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateNamespaceRequest from a JSON string
create_namespace_request_instance = CreateNamespaceRequest.from_json(json)
# print the JSON string representation of the object
print(CreateNamespaceRequest.to_json())

# convert the object into a dict
create_namespace_request_dict = create_namespace_request_instance.to_dict()
# create an instance of CreateNamespaceRequest from a dict
create_namespace_request_from_dict = CreateNamespaceRequest.from_dict(create_namespace_request_dict)

[Back to Model list] [Back to API list] [Back to README]