/** * Vector Database Enums * * Enumerations for vector database types and operations. */ /** * Supported vector database types */ export declare enum VectorDBType { /** Pinecone - Managed vector database */ PINECONE = "pinecone", /** Qdrant - Open-source vector search engine */ QDRANT = "qdrant", /** Weaviate - AI-native vector database */ WEAVIATE = "weaviate", /** AWS OpenSearch / Elasticsearch-compatible vector search */ OPENSEARCH = "opensearch", /** Azure AI Search */ AZURE_SEARCH = "azure-search", /** GCP Vertex AI Vector Search */ VERTEX_VECTOR_SEARCH = "vertex-vector-search", /** ChromaDB - Open-source embedding database */ CHROMA = "chroma", /** Milvus - Open-source vector database */ MILVUS = "milvus", /** pgvector - PostgreSQL extension for vectors */ PGVECTOR = "pgvector", /** In-memory vector store (for development/testing) */ MEMORY = "memory" } /** * Distance metric types for similarity search */ export declare enum DistanceMetric { /** Cosine similarity (angle between vectors) */ COSINE = "cosine", /** Euclidean distance (L2 norm) */ EUCLIDEAN = "euclidean", /** Dot product (inner product) */ DOT_PRODUCT = "dotproduct", /** Manhattan distance (L1 norm) */ MANHATTAN = "manhattan", /** Hamming distance (for binary vectors) */ HAMMING = "hamming" } /** * Index types for vector databases */ export declare enum VectorIndexType { /** Flat index (exact search) */ FLAT = "flat", /** IVF (Inverted File Index) */ IVF = "ivf", /** HNSW (Hierarchical Navigable Small World) */ HNSW = "hnsw", /** Product Quantization */ PQ = "pq", /** IVF with Product Quantization */ IVF_PQ = "ivf_pq", /** Annoy (Approximate Nearest Neighbors Oh Yeah) */ ANNOY = "annoy" } /** * Vector error types */ export declare enum VectorErrorType { /** Connection error */ CONNECTION_ERROR = "connection_error", /** Configuration error */ CONFIGURATION_ERROR = "configuration_error", /** Authentication error */ AUTHENTICATION_ERROR = "authentication_error", /** Collection not found */ COLLECTION_NOT_FOUND = "collection_not_found", /** Vector not found */ VECTOR_NOT_FOUND = "vector_not_found", /** Dimension mismatch */ DIMENSION_MISMATCH = "dimension_mismatch", /** Invalid operation */ INVALID_OPERATION = "invalid_operation", /** Rate limit exceeded */ RATE_LIMIT_ERROR = "rate_limit_error", /** Timeout error */ TIMEOUT_ERROR = "timeout_error", /** Unknown error */ UNKNOWN_ERROR = "unknown_error" } /** * Vector database features */ export declare enum VectorFeature { /** Supports metadata filtering */ METADATA_FILTERING = "metadata_filtering", /** Supports namespace/partition */ NAMESPACES = "namespaces", /** Supports hybrid search (vector + keyword) */ HYBRID_SEARCH = "hybrid_search", /** Supports batch operations */ BATCH_OPERATIONS = "batch_operations", /** Supports index management */ INDEX_MANAGEMENT = "index_management", /** Supports vector updates */ VECTOR_UPDATES = "vector_updates", /** Supports sparse vectors */ SPARSE_VECTORS = "sparse_vectors", /** Supports multi-vector queries */ MULTI_VECTOR = "multi_vector", /** Supports aggregations */ AGGREGATIONS = "aggregations" }