LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    Standard Tests
    Text Splitters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicllms
    Module●Since v1.0

    llms

    LLMs.

    LLM classes provide access to the large language model (LLM) APIs and services.

    Functions

    function
    is_interactive_env

    Determine if running within IPython or Jupyter.

    function
    get_type_to_cls_dict

    Modules

    module
    openai
    module
    opaqueprompts
    module
    aviary
    module
    rwkv
    module
    mlflow_ai_gateway
    module
    tongyi
    module
    baidu_qianfan_endpoint
    module
    openllm
    module
    mlflow
    module
    bittensor
    module
    ollama
    module
    textgen
    module
    petals
    module
    watsonxllm
    module
    minimax
    module
    arcee
    module
    predictionguard
    module
    manifest
    module
    deepsparse
    module
    yandex
    module
    clarifai
    module
    ai21
    module
    vertexai
    module
    self_hosted_hugging_face
    module
    huggingface_text_gen_inference
    module
    modal
    module
    anthropic
    module
    promptlayer_openai
    module
    beam
    module
    symblai_nebula
    module
    mosaicml
    module
    huggingface_pipeline
    module
    xinference
    module
    cloudflare_workersai
    module
    vllm
    module
    bananadev
    module
    titan_takeoff
    module
    ctransformers
    module
    pipelineai
    module
    stochasticai
    module
    loading
    module
    gigachat
    module
    octoai_endpoint
    module
    aleph_alpha
    module
    bedrock
    module
    volcengine_maas
    module
    cerebriumai
    module
    predibase
    module
    edenai
    module
    amazon_api_gateway
    module
    llamacpp
    module
    replicate
    module
    huggingface_endpoint
    module
    google_palm
    module
    base

    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.

    module
    ctranslate2
    module
    utils
    module
    writer
    module
    cohere
    module
    human
    module
    javelin_ai_gateway
    module
    openlm
    module
    deepinfra
    module
    baseten
    module
    fake
    module
    chatglm
    module
    pai_eas_endpoint
    module
    anyscale
    module
    gpt4all
    module
    sagemaker_endpoint
    module
    self_hosted
    module
    azureml_endpoint
    module
    forefrontai
    module
    fireworks
    module
    together
    module
    nlpcloud
    module
    titan_takeoff_pro
    module
    gooseai
    module
    databricks
    module
    koboldai
    module
    huggingface_hub
    module
    gradient_ai
    View source on GitHub