Skip to content

DOC: How to merge or use multiple retrievers? #5554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
djaffer opened this issue May 27, 2024 · 3 comments · Fixed by #5556
Closed
2 tasks done

DOC: How to merge or use multiple retrievers? #5554

djaffer opened this issue May 27, 2024 · 3 comments · Fixed by #5556
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder

Comments

@djaffer
Copy link
Contributor

djaffer commented May 27, 2024

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

No response

Idea or request for content:

The documentation misses this use case. Based of search seems python has the merger_retriever but js doesn't

@dosubot dosubot bot added the auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder label May 27, 2024
@jeasonnow
Copy link
Contributor

The function merge_retrievers similar to Python's has not been implemented yet, but I can submit a PR to achieve this.

@djaffer
Copy link
Contributor Author

djaffer commented May 27, 2024

@jeasonnow will this work with elastic vector store?

@jeasonnow
Copy link
Contributor

I believe this applies to all retriever instances. You can try using my code locally to see how it works; the usage is consistent with Python's approach.
@djaffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants