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.11.tar.gz
(9.0 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.11.tar.gz.
File metadata
- Download URL: chatmodeltask-0.1.11.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ae8b5b77b2b7600270caea565b1671f3887d9138629298f4d6ebc14ec94880e
|
|
| MD5 |
ffa121f54d818d4a708ff29181d12d04
|
|
| BLAKE2b-256 |
9a092b28d9b5a1a7568e9923c80561e15453bff65b5d73e163d2752e17dfd616
|
File details
Details for the file chatmodeltask-0.1.11-py3-none-any.whl.
File metadata
- Download URL: chatmodeltask-0.1.11-py3-none-any.whl
- Upload date:
- Size: 11.2 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 |
20300b2ecb7b7597caff6b4ff375fb56e4554e0a12c555f8c2994ee787abb00d
|
|
| MD5 |
d58011308a8b5bba5979389304a4358f
|
|
| BLAKE2b-256 |
c25242cc813a1534d0420512e13a10d422b5505d076fa09e672d8bad03be7e01
|