CLI tool for updating model profile data in LangChain integration packages.
Project description
🦜🪪 langchain-model-profiles
[!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.
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_model_profiles-0.0.5.tar.gz.
File metadata
- Download URL: langchain_model_profiles-0.0.5.tar.gz
- Upload date:
- Size: 123.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21a4dfaa04e2200a2f52b00312bdfc62236579e396ebde2d483ca02127cc4f5c
|
|
| MD5 |
9fd9adb3c415af379eb11f740c906217
|
|
| BLAKE2b-256 |
4396359105e3fb0161b5ba2e23daccc9c8b1c7cfe1dff1a05724e52a176ef3d1
|
File details
Details for the file langchain_model_profiles-0.0.5-py3-none-any.whl.
File metadata
- Download URL: langchain_model_profiles-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f90826c70904783ffc0450835f5dcd419d4d0d4633c4efa5bb92d49296e85524
|
|
| MD5 |
fe1a95d399f729e3498a0aa9dbe22199
|
|
| BLAKE2b-256 |
6a7f1a537c74c6ed8794c8f6ebd2fadbeed48a2911acee14efc636791a1ecb08
|