_profiles.py — langchain Source File
Architecture documentation for _profiles.py, a python file in the langchain codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7f14cee9_2901_37a4_23d2_c873511f7db5["_profiles.py"] feec1ec4_6917_867b_d228_b134d0ff8099["typing"] 7f14cee9_2901_37a4_23d2_c873511f7db5 --> feec1ec4_6917_867b_d228_b134d0ff8099 style 7f14cee9_2901_37a4_23d2_c873511f7db5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Auto-generated model profiles.
DO NOT EDIT THIS FILE MANUALLY.
This file is generated by the langchain-profiles CLI tool.
It contains data derived from the models.dev project.
Source: https://github.com/sst/models.dev
License: MIT License
To update these data, refer to the instructions here:
https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-profile-data
"""
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
"claude-opus-4-0": {
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
"claude-3-5-sonnet-20241022": {
"max_input_tokens": 200000,
"max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
"claude-opus-4-1": {
"max_input_tokens": 200000,
"max_output_tokens": 32000,
"text_inputs": True,
// ... (378 more lines)
Dependencies
- typing
Source
Frequently Asked Questions
What does _profiles.py do?
_profiles.py is a source file in the langchain codebase, written in python.
What does _profiles.py depend on?
_profiles.py imports 1 module(s): typing.
Where is _profiles.py in the architecture?
_profiles.py is located at libs/partners/anthropic/langchain_anthropic/data/_profiles.py (directory: libs/partners/anthropic/langchain_anthropic/data).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free