Interface SimpleRetrieverOptions<C, R>
interface SimpleRetrieverOptions<C extends ZodTypeAny = ZodTypeAny, R = any> { configSchema?: C; content?: | string | ( item: R, ) => | string | (
| { media?: undefined; text: string } | { media: { contentType?: string; url: string }; text?: undefined } )
[]; metadata?: string[] | (item: R) => undefined | Record<string, any>; name: string;} Properties
Optional
configSchema
Optional
content
content?: | string | ( item: R, ) => | string | (
| { media?: undefined; text: string } | { media: { contentType?: string; url: string }; text?: undefined } )
[] Optional
metadata
metadata?: string[] | (item: R) => undefined | Record<string, any> name
name: string
Simple retriever options.