Files
Analytical_engine_backend/venv/Lib/site-packages/langchain_classic/llms/base.py
2026-05-11 12:36:20 +05:30

20 lines
625 B
Python

"""This module provides backward-compatible exports of core language model classes.
These classes are re-exported for compatibility with older versions of LangChain
and allow users to import language model interfaces from a stable path.
Exports:
- LLM: Abstract base class for all LLMs
- BaseLLM: Deprecated or foundational class for legacy LLMs
- BaseLanguageModel: Base class for core language model implementations
"""
from langchain_core.language_models import BaseLanguageModel
from langchain_core.language_models.llms import LLM, BaseLLM
__all__ = [
"LLM",
"BaseLLM",
"BaseLanguageModel",
]