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.13.tar.gz
(14.1 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.13.tar.gz.
File metadata
- Download URL: chatmodeltask-0.1.13.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa42347d4bc5205760f29b41ed23018c08392233836fddffa165e67a3c54d456
|
|
| MD5 |
a0a2fafccf209a22b722fc202905a4ff
|
|
| BLAKE2b-256 |
c364ddc250fe055e01fa1a1c89eb61619985efcb32d8cd0f7b297bd0c5a75302
|
File details
Details for the file chatmodeltask-0.1.13-py3-none-any.whl.
File metadata
- Download URL: chatmodeltask-0.1.13-py3-none-any.whl
- Upload date:
- Size: 17.1 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 |
9d06eb73b2b6b01fedb5865c8e104e7d6d9ca23bed54eef11f12efb515a1843f
|
|
| MD5 |
a795dc382a8914e2a9785518d304ce1b
|
|
| BLAKE2b-256 |
1c18578c7f163580e6ef4718386e306694baed67a49eff2c8584eed8955bc8f7
|