LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-corelanguage_modelsbaseLangSmithParams
    Class●Since v0.2

    LangSmithParams

    LangSmith parameters for tracing.

    Copy
    LangSmithParams()

    Bases

    TypedDict

    Constructors

    constructor
    __init__
    NameType
    ls_providerstr
    ls_model_namestr
    ls_model_typeLiteral['chat', 'llm']
    ls_temperaturefloat | None
    ls_max_tokensint | None
    ls_stoplist[str] | None

    Attributes

    attribute
    ls_provider: str

    Provider of the model.

    attribute
    ls_model_name: str

    Name of the model.

    attribute
    ls_model_type: Literal['chat', 'llm']

    Type of the model.

    Should be 'chat' or 'llm'.

    attribute
    ls_temperature: float | None

    Temperature for generation.

    attribute
    ls_max_tokens: int | None

    Max tokens for generation.

    attribute
    ls_stop: list[str] | None

    Stop words for generation.

    View source on GitHub