Type alias TavilySearchAPIRetrieverFields
TavilySearchAPIRetrieverFields: BaseRetrieverInput & {
apiKey?: string;
excludeDomains?: string[];
includeDomains?: string[];
includeGeneratedAnswer?: boolean;
includeImages?: boolean;
includeRawContent?: boolean;
k?: number;
kwargs?: Record<string, unknown>;
searchDepth?: "basic" | "advanced";
}
Type declaration
Optional
apiKey?: string
Optional
excludeDomains?: string[]
Optional
includeDomains?: string[]
Optional
includeGeneratedAnswer?: boolean
Optional
includeImages?: boolean
Optional
includeRawContent?: boolean
Optional
k?: number
Optional
kwargs?: Record<string, unknown>
Optional
searchDepth?: "basic" | "advanced"
Options for the TavilySearchAPIRetriever class, which includes a BaseLanguageModel instance, a VectorStore instance, and an optional promptTemplate which can either be a BasePromptTemplate instance or a PromptKey.