We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey all, I'm using RAGatouille as a retriever for langchain like so
RAG = RAGPretrainedModel.from_index(".ragatouille/colbert/indexes/clr-docs") retriever = RAG.as_langchain_retriever(k=10) retrieval = RunnableParallel({ "context": retriever, "question": RunnablePassthrough(), }) rag_chain = ( retrieval | RunnableParallel({ "answer": ANSWER_PROMPT | llm, "docs": itemgetter("context") }) )
I've traced down as_langchain_retriever but I could not find any helpful arguments.
as_langchain_retriever
How do I get the score for each retrieved doc so I can, i.e., calculate the auPRC score?
score
Thanks, Bernhard.
The text was updated successfully, but these errors were encountered:
Answer: Using the ContextualCompressionRetriever
ContextualCompressionRetriever
Sorry, something went wrong.
No branches or pull requests
Hey all, I'm using RAGatouille as a retriever for langchain like so
I've traced down
as_langchain_retriever
but I could not find any helpful arguments.How do I get the
score
for each retrieved doc so I can, i.e., calculate the auPRC score?Thanks,
Bernhard.
The text was updated successfully, but these errors were encountered: