Smart model routing layer for LangChain + OpenRouter
Project description
ChatModelTask
Smart model routing layer for LangChain + OpenRouter.
Installation
pip install chatmodeltask
from chatModelTask import ChatModelTask
llm = ChatModelTask(task_description="summarization")
print(llm.invoke("Hello world"))
Environment Variables
OPENROUTER_API_KEY=... REDIS_HOST=localhost MODEL_SCORE_ENGINE_BASE_URL=... MODEL_SCORE_ENGINE_API_KEY=...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chatmodeltask-0.1.5.tar.gz
(8.4 kB
view details)
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 chatmodeltask-0.1.5.tar.gz.
File metadata
- Download URL: chatmodeltask-0.1.5.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4d502ac12cabcee7d4f0f8cf7d2d266dab2e44dd4ee77f804498da2eb22aadf
|
|
| MD5 |
64c55ab40bdb084168f943e9d59ffd2a
|
|
| BLAKE2b-256 |
49f8c25ae1b673a4ae10c4090673cbe42da08f6488251654cc471db069441414
|
File details
Details for the file chatmodeltask-0.1.5-py3-none-any.whl.
File metadata
- Download URL: chatmodeltask-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb577fa902b147d0817dd058d5d87396f0edd49b560ade15e9952de86407180
|
|
| MD5 |
4831c4eeeb3e60dc4005d82dfab1affc
|
|
| BLAKE2b-256 |
7297eb7e2952e207bacfe8f0ed740bc50e6e7355f2d6a2305e220745c7c0481b
|