/** * Vector Database Module * * Provides a unified interface for working with vector databases. * Supports multiple providers: Pinecone, Qdrant, Weaviate, and in-memory. * * @example * ```typescript * // Product-level vector management (via ductape.vector) * await ductape.vector.create({ * product: 'my-product', * tag: 'embeddings', * name: 'Document Embeddings', * type: VectorDBType.PINECONE, * dimensions: 1536, * envs: [{ slug: 'prd', apiKey: '...', endpoint: '...' }], * }); * * // Connect and query * await ductape.vector.connect({ product: 'my-product', env: 'prd', tag: 'embeddings' }); * const results = await ductape.vector.query({ * product: 'my-product', * env: 'prd', * tag: 'embeddings', * vector: [...], * topK: 10, * }); * ``` */ export { VectorDatabaseService, type IVectorDatabaseServiceConfig, type ICreateVectorDbOptions, type IVectorDbEnvConfig, type IUpdateVectorDbOptions, type IFetchVectorOptions, type IDeleteVectorConfigOptions, type IProductVectorQueryOptions, type IProductVectorUpsertOptions, type IProductVectorFetchOptions, type IProductVectorDeleteOptions, type IVectorSchemaSnapshotOptions, type IVectorSchemaSnapshot, } from './vector-database.service'; export { VectorService, type IVectorServiceOptions, type IVectorLoggingContext } from './vector.service'; export { VectorDBType, DistanceMetric, VectorIndexType, VectorErrorType, VectorFeature, type IVectorEnvConfig, type IVectorConfig, type IVectorConnectionConfig, type IVectorConnectionOptions, type IVectorConnectionResult, type IVectorConnectionContext, type IVectorServiceConfig, type IVectorTestConnectionResult, type VectorMetadata, type IVector, type ISparseVector, type IUpsertVectorsOptions, type IUpsertVectorsResult, type IMetadataFilter, type MetadataFilterOperator, type IMetadataFilterGroup, type IQueryVectorsOptions, type IQueryMatch, type IQueryVectorsResult, type IFetchVectorsOptions, type IFetchVectorsResult, type IUpdateVectorOptions, type IUpdateVectorResult, type IDeleteVectorsOptions, type IDeleteVectorsResult, type IListVectorsOptions, type IListVectorsResult, type INamespaceInfo, type IListNamespacesResult, type IVectorIndexInfo, type ICreateIndexOptions, type ICreateIndexResult, type IDeleteIndexOptions, type IDeleteIndexResult, type IVectorIndexStats, type EmbeddingProvider, type IEmbeddingModelConfig, type IEmbedOptions, type IEmbeddingResult, type IBatchEmbeddingResult, type IEmbeddingProvider, type IOpenAIEmbeddingConfig, type ICohereEmbeddingConfig, type IVoyageEmbeddingConfig, type IJinaEmbeddingConfig, type IHuggingFaceEmbeddingConfig, type ILocalEmbeddingConfig, } from './types'; export { BaseVectorAdapter, type IAdapterConnectionOptions, PineconeAdapter, QdrantAdapter, WeaviateAdapter, MemoryAdapter, } from './adapters'; export { VectorActionTypes, VectorActionTypeMap, PLACEHOLDER_REGEX, extractPlaceholders, resolvePlaceholders, type IVectorActionDefinition, type IVectorActionTemplate, type IVectorActionParam, type IVectorActionCreateOptions, type IVectorActionUpdateOptions, type IVectorActionExecuteOptions, type IVectorActionFetchOptions, type IVectorActionDeleteOptions, type IVectorActionResult, } from './types'; export { VectorActionManager, VectorActionBuilder, createVectorAction } from './actions/action-manager'; export { VectorError } from './utils'; export { inferVectorMetadataSchema, type IVectorMetadataSchema, type IVectorMetadataFieldSchema, type VectorMetadataValueType, } from './utils';