/** * OpenAI Vector Store Creation Utility * * This module provides utilities for creating OpenAI vector stores from files or directories, * providing functionality for creating OpenAI vector stores. * * Note: This implementation uses OpenAI v4 API. */ /** * Configuration for creating an OpenAI vector store. */ export interface OpenAIVectorStoreConfig { /** OpenAI API key */ apiKey: string; /** Name for the vector store */ name?: string; } /** * Create an OpenAI vector store from files or directories. * * This function creates a vector store by: * 1. Creating an assistant with file search capabilities * 2. Uploading files to OpenAI * 3. Attaching files to the assistant * * @param path - Path to file or directory containing documents * @param config - Configuration for the OpenAI client * @returns Assistant ID that can be used as a knowledge source */ export declare function createOpenAIVectorStoreFromPath(path: string, config: OpenAIVectorStoreConfig): Promise; //# sourceMappingURL=openai-vector-store.d.ts.map