langchain/docs/modules
German Martin 736a1819aa
LOTR: Lord of the Retrievers. A retriever that merge several retrievers together applying document_formatters to them. (#5798)
"One Retriever to merge them all, One Retriever to expose them, One
Retriever to bring them all and in and process them with Document
formatters."

Hi @dev2049! Here bothering people again!

I'm using this simple idea to deal with merging the output of several
retrievers into one.
I'm aware of DocumentCompressorPipeline and
ContextualCompressionRetriever but I don't think they allow us to do
something like this. Also I was getting in trouble to get the pipeline
working too. Please correct me if i'm wrong.

This allow to do some sort of "retrieval" preprocessing and then using
the retrieval with the curated results anywhere you could use a
retriever.
My use case is to generate diff indexes with diff embeddings and sources
for a more colorful results then filtering them with one or many
document formatters.

I saw some people looking for something like this, here:
https://github.com/hwchase17/langchain/issues/3991
and something similar here:
https://github.com/hwchase17/langchain/issues/5555

This is just a proposal I know I'm missing tests , etc. If you think
this is a worth it idea I can work on tests and anything you want to
change.
Let me know!

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-06-10 08:41:02 -07:00
..
agents feat: issue-5712 add sleep tool (#5715) 2023-06-07 09:39:02 -07:00
callbacks FileCallbackHandler (#5589) 2023-06-03 16:48:48 -07:00
chains Harrison/nebula graph (#5865) 2023-06-07 21:56:43 -07:00
indexes LOTR: Lord of the Retrievers. A retriever that merge several retrievers together applying document_formatters to them. (#5798) 2023-06-10 08:41:02 -07:00
memory Add support for the endpoint URL in DynamoDBChatMesasgeHistory (#5836) 2023-06-08 23:21:11 -07:00
models Baseten integration (#5862) 2023-06-08 23:05:57 -07:00
prompts Harrison/pipeline prompt (#5540) 2023-06-04 14:29:37 -07:00
utils/examples Pass parsed inputs through to tool _run (#4309) 2023-05-08 09:13:05 -07:00
agents.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
chains.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
indexes.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
memory.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
models.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
paul_graham_essay.txt Fix notebook example (#3142) 2023-04-19 08:55:06 -07:00
prompts.rst docs: modules pages simplified (#5116) 2023-06-03 14:44:32 -07:00
state_of_the_union.txt