Create a new namespace to organize and store your data. Namespaces can be either text-based for document storage or vector-based for embedding storage.
Create a new namespace to organize and store your data. Namespaces provide isolated environments for your documents or vectors, ensuring data separation and organized data management.
Namespace names must be unique on this Moorcheh instance and can only contain alphanumeric characters, hyphens, and underscores.
On-prem does not use API keys. Start the server with moorcheh up before calling this endpoint.
Required when type is "vector". Must be greater than 0. Every vector uploaded to this namespace must have exactly this many dimensions (for example 768 for many open models, or 1536 for OpenAI text-embedding-3-small). Must not be sent for text namespaces.
Fixed vector length for vector namespaces; null for text namespaces. Present on successful creation. All future vector uploads must match this dimension.