_raise_deprecation() — langchain Function Reference
Architecture documentation for the _raise_deprecation() function in vector_db.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD d127ba58_0810_7842_efc5_bdd5321ff0bc["_raise_deprecation()"] 5eb6dd31_a76d_429d_2244_999951beb530["VectorDBQAWithSourcesChain"] d127ba58_0810_7842_efc5_bdd5321ff0bc -->|defined in| 5eb6dd31_a76d_429d_2244_999951beb530 style d127ba58_0810_7842_efc5_bdd5321ff0bc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/qa_with_sources/vector_db.py lines 78–85
def _raise_deprecation(cls, values: dict) -> Any:
warnings.warn(
"`VectorDBQAWithSourcesChain` is deprecated - "
"please use `from langchain_classic.chains import "
"RetrievalQAWithSourcesChain`",
stacklevel=5,
)
return values
Domain
Subdomains
Source
Frequently Asked Questions
What does _raise_deprecation() do?
_raise_deprecation() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/qa_with_sources/vector_db.py.
Where is _raise_deprecation() defined?
_raise_deprecation() is defined in libs/langchain/langchain_classic/chains/qa_with_sources/vector_db.py at line 78.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free