Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home 🦜🔗 LangChain  documentation - Home
  • Reference
  • Legacy reference
Ctrl+K
Docs
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
  • Legacy reference
Docs
  • GitHub
  • X / Twitter

Section Navigation

Base packages

  • Core
  • Langchain
  • Text Splitters
  • Community
  • Experimental

Integrations

  • AI21
  • Airbyte
  • Anthropic
    • chat_models
      • AnthropicTool
      • ChatAnthropic
      • convert_to_anthropic_tool
      • ChatAnthropicMessages
    • experimental
    • llms
    • output_parsers
  • AstraDB
  • AWS
  • Azure Dynamic Sessions
  • Box
  • Chroma
  • Cohere
  • Couchbase
  • Elasticsearch
  • Exa
  • Fireworks
  • Google Community
  • Google GenAI
  • Google VertexAI
  • Groq
  • Huggingface
  • Milvus
  • MistralAI
  • MongoDB
  • Nomic
  • Nvidia Ai Endpoints
  • Ollama
  • OpenAI
  • Pinecone
  • Postgres
  • Prompty
  • Qdrant
  • Robocorp
  • Together
  • Unstructured
  • VoyageAI
  • Weaviate
  • LangChain Python API Reference
  • langchain-anthropic: 0.1.23

chat_models#

Classes

chat_models.AnthropicTool

Anthropic tool definition.

chat_models.ChatAnthropic

Anthropic chat models.

Functions

chat_models.convert_to_anthropic_tool(tool)

Convert a tool-like object to an Anthropic tool definition.

Deprecated classes

chat_models.ChatAnthropicMessages

Deprecated since version 0.1.0: Use ChatAnthropic instead.

© Copyright 2023, LangChain Inc.