Interface RetrieverParams<CustomOptions>

interface RetrieverParams<CustomOptions extends ZodTypeAny = ZodTypeAny> {
    options?: TypeOf<CustomOptions>;
    query:
        | string
        | {
            content: (
                | { media?: undefined; text: string }
                | { media: { contentType?: string; url: string }; text?: undefined }
            )[];
            metadata?: Record<string, any>;
        };
    retriever: RetrieverArgument<CustomOptions>;
}

Type Parameters

Properties

query:
    | string
    | {
        content: (
            | { media?: undefined; text: string }
            | { media: { contentType?: string; url: string }; text?: undefined }
        )[];
        metadata?: Record<string, any>;
    }