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.10.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.10.tar.gz.
File metadata
- Download URL: chatmodeltask-0.1.10.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 |
3a6a968a61931f2e016ba79714fa8c3d1c62a965f61dc6e5672fdcfc27e0ff03
|
|
| MD5 |
1416af20c8af7d7aa3824f905e5c9c3b
|
|
| BLAKE2b-256 |
48f99a766b894e9978a3d115e332317d2053cacddbf338df1015285bb05deb57
|
File details
Details for the file chatmodeltask-0.1.10-py3-none-any.whl.
File metadata
- Download URL: chatmodeltask-0.1.10-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 |
eaef3f40a578b8ae3542cd7cf5bd07206f0d66d197aa4c332d6afb2340cc395e
|
|
| MD5 |
630d1f94cd5287cfc71fdef6eb8e93e8
|
|
| BLAKE2b-256 |
19845f8505db3d85ee5cf9c1d577be4b414999e1b3726c1b1e5d3f6887d9d7d6
|