Skip to main content

🦜🪪 langchain-model-profiles

PyPI - Version PyPI - License PyPI - Downloads Twitter

[!WARNING] This package is currently in development and the API is subject to change.

CLI tool for updating model profile data in LangChain integration packages.

Quick Install

pip install langchain-model-profiles

🤔 What is this?

langchain-model-profiles is a CLI tool for fetching and updating model capability data from models.dev for use in LangChain integration packages.

LangChain chat models expose a .profile field that provides programmatic access to model capabilities such as context window sizes, supported modalities, tool calling, structured output, and more. This CLI tool helps maintainers keep that data up-to-date.

Data sources

This package is built on top of the excellent work by the models.dev project, an open source initiative that provides model capability data.

LangChain model profiles augment the data from models.dev with some additional fields. We intend to keep this aligned with the upstream project as it evolves.

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using LangChain, see the LangChain Docs. You can also chat with the docs using Chat LangChain.

Usage

Update model profile data for a specific provider:

langchain-profiles refresh --provider anthropic --data-dir ./langchain_anthropic/data

This downloads the latest model data from models.dev, merges it with any augmentations defined in profile_augmentations.toml, and generates a profiles.py file.

Metadata

Release files for langchain-model-profiles 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-model-profiles 0.0.6
File Size Uploaded
langchain_model_profiles-0.0.6.tar.gz 149.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-model-profiles 0.0.6
File Interpreter ABI Platform
langchain_model_profiles-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 156.9 kB

Release files / langchain_model_profiles-0.0.6.tar.gz

Download URL langchain_model_profiles-0.0.6.tar.gz
Size 149.9 kB
Tags Source
SHA-256 checksum
How to use checksums
855b66ded9ec24d47c15216e5ae7981c9d140936959f9b9afd8f34e09f511258
BLAKE2b-256 checksum
How to use checksums
e9ca3e17f7e3b66a4fd2f67943c14edb41e49b61714792e14910976638f9bf93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / langchain_model_profiles-0.0.6-py3-none-any.whl

Download URL langchain_model_profiles-0.0.6-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa3d743b50464daf233d693826f824472f8231c66a0ad9e847e99169cfd3beca
BLAKE2b-256 checksum
How to use checksums
55bda9bcd50e85d2292134b4392864e706be01452e3010fa232719c222d6355c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page