Skip to content

Expression language: parallel answering of retrieved documents #9306

Closed Answered by dom-vaz
andyrandy87 asked this question in Q&A
Discussion options

You must be logged in to vote

It was added to Langchain via the map method. You can map the results of the retrieval to a chain.

Something like:

chain = retriever | map _chain.map() | reduce_chain

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thiswillbeyourgithub
Comment options

Answer selected by andyrandy87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants