/** * Generates embeddings for entities across all 5 dimensions. * Uses OpenAI text-embedding-3-small model (1536 dimensions). */ export declare class EmbeddingGenerator { private openai; private readonly model; private readonly dimensions; constructor(apiKey?: string); /** * Generates an embedding for a single entity. * * @param dimension The dimension (X, Y, Z, W, or T) * @param entityId The entity ID (for logging) * @param content The content to embed * @returns Promise that resolves to the embedding vector (1536 dimensions) * @throws Error if OpenAI API is not configured or API call fails */ generateEmbedding(dimension: 'X' | 'Y' | 'Z' | 'W' | 'T', entityId: string, content: string): Promise; /** * Generates embeddings for multiple entities in batch. * Uses OpenAI batch API for better performance. * * @param items Array of items to embed * @returns Promise that resolves to a Map of entityId -> embedding vector */ generateBatch(items: Array<{ dimension: 'X' | 'Y' | 'Z' | 'W' | 'T'; entityId: string; content: string; }>): Promise>; /** * Gets the embedding model name. */ getModel(): string; /** * Gets the embedding dimensions. */ getDimensions(): number; /** * Checks if OpenAI API is configured. */ isConfigured(): boolean; } //# sourceMappingURL=embedding-generator.d.ts.map