Issue with RetrievalQAWithSourcesChain Deployment in Databricks using MLflow #28499
Unanswered
UnnamalaiNarayanan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
We are building an application using RetrievalQAWithSourcesChain to extract information from PDFs and return the relevant source documents used for generating responses. To support filtering, we developed a custom class (RetrievalQAFilter) that overrides the functionality of RetrievalQAWithSourcesChain, based on the guidance from this GitHub issue.
However, we are encountering an error when deploying the model as a serving endpoint in Databricks using MLflow:
Error: retriever must be present.
We would appreciate any insights or suggestions to resolve this. Are we missing any critical steps in configuring or serving the model? Please let us know if further information is needed.
Thank you for your support!
System Info
langchain==0.3.1 langchain_core==0.3.6 langchain_community==0.3.1 databricks-vectorsearch
Beta Was this translation helpful? Give feedback.
All reactions