Skip to content

Fix Metadata Filtering #25

@abdeliibrahim

Description

@abdeliibrahim
    // TODO: IN operator doesn't work with Supabase, so we'll use EQ operator for now
    // const retriever = index.asRetriever({
    //   similarityTopK: 5,
    //   filters: {
    //     filters: [
    //       {
    //         key: "source_document",
    //         operator: FilterOperator.IN,
    //         value: documents,
    //       },
    //     ],
    //   },
    // });
    //
    // Create a custom retriever that handles multiple documents with EQ operator

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions