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.17.tar.gz
(14.5 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.17.tar.gz.
File metadata
- Download URL: chatmodeltask-0.1.17.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21017a8ea4d350cac68b6c63cbd1783636a93fc9ef35e2fac5cc8cf1056d7d3a
|
|
| MD5 |
b10f26cdf1684cc2a2f556e2f83b4fd0
|
|
| BLAKE2b-256 |
f47e1adad0dd469b3e845c8716b9361d488ba0e0c2ccea3d8e41113893a8bf52
|
File details
Details for the file chatmodeltask-0.1.17-py3-none-any.whl.
File metadata
- Download URL: chatmodeltask-0.1.17-py3-none-any.whl
- Upload date:
- Size: 17.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 |
834508efba9725509c4298f04310cd38aa60afb5e9118de0f0bd8beae6879b37
|
|
| MD5 |
40a7e46ab695733aa537650ac732313b
|
|
| BLAKE2b-256 |
a0048574a611d70dda536bd9669de811e75a352f4c26c1795e8c2063c7189ac6
|