Metadata-Version: 2.4
Name: chatmodeltask
Version: 0.1.2
Summary: Smart model routing layer for LangChain + OpenRouter
Author-email: MO7AMED DEV <programmingi77i@gmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: redis<6,>=5
Requires-Dist: httpx<1,>=0.27
Requires-Dist: langchain<2,>=1.3
Requires-Dist: langchain-openrouter<1,>=0.2
Requires-Dist: python-dotenv<2,>=1
Requires-Dist: thefuzz<1,>=0.22
Dynamic: license-file

# ChatModelTask

Smart model routing layer for LangChain + OpenRouter.

## Installation

```bash
pip install chatmodeltask
```
```python
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=...
