export type OptionsService = OptionsTencentCloudVector | OptionsChroma; export type OptionsTencentCloudVector = { apiKey: string; apiAccount: string; baseUrl: string; }; export type OptionsChroma = { dbHost: string; embedderType: "ollama" | "xinference"; embedderHost?: string; embedderModel?: string; }; export type OptionsOllamaFileParser = { parserHost?: string; parserModel?: string; }; export type OptionsRerank = { host?: string; model?: string; };