Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

add: merging retriever with example for hybrid search using bm25 and semantic search #86

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

iwilltry42
Copy link
Collaborator

Example flow config:

flows:
  hybrid:
    default: true
    retrieval:
      retriever:
        name: merge
        options:
          topK: 10
          retrievers:
            - name: basic
              weight: 0.5
              options:
                topK: 10
            - name: bm25
              weight: 0.5
              options:
                topN: 10
                k1: 1.2
                b: 0.75
                cleanStopWords:
                  - en
                  - de

@iwilltry42 iwilltry42 merged commit 6359cc2 into main Aug 27, 2024
1 check passed
@iwilltry42 iwilltry42 deleted the feat/merging-retriever branch August 27, 2024 07:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant