Metadata-Version: 2.3
Name: chattr
Version: 0.0.2
Summary: App part of the Chatacter Backend
Author: Mohamed Hisham Abdelzaher
Author-email: Mohamed Hisham Abdelzaher <mohamed.hisham.abdelzaher@gmail.com>
Requires-Dist: fastembed>=0.7.1
Requires-Dist: gradio>=5.41.0
Requires-Dist: langchain-community>=0.3.27
Requires-Dist: langchain-mcp-adapters>=0.1.9
Requires-Dist: langchain-openai>=0.3.29
Requires-Dist: langgraph>=0.6.4
Requires-Dist: loguru>=0.7.3
Requires-Dist: m3u8>=6.0.0
Requires-Dist: mem0ai>=0.1.115
Requires-Python: >=3.12
Description-Content-Type: text/markdown

---
title: Chattr
emoji: 💬
colorFrom: gray
colorTo: blue
sdk: docker
app_port: 7860
short_description: Chat with Characters
---

## **Chattr**: App part of the Chatacter Backend

### Environment Variables

The configuration of the server is done using environment variables:

| Name                       | Description                      | Required | Default Value                              |
|:---------------------------|:---------------------------------|:--------:|:-------------------------------------------|
| `MODEL__URL`               | OpenAI-compatible endpoint       |    ✘     | `https://api.groq.com/openai/v1`           |
| `MODEL__NAME`              | Model name to use for chat       |    ✘     | `llama3-70b-8192`                          |
| `MODEL__API_KEY`           | API key for model access         |    ✔     | `None`                                     |
| `MODEL__TEMPERATURE`       | Model temperature (0.0-1.0)      |    ✘     | `0.0`                                      |
| `SHORT_TERM_MEMORY__URL`   | Redis URL for memory store       |    ✘     | `redis://localhost:6379`                   |
| `VECTOR_DATABASE__NAME`    | Vector database collection name  |    ✘     | `chattr`                                   |
| `VOICE_GENERATOR_MCP__URL` | MCP service for audio generation |    ✘     | `http://localhost:8001/gradio_api/mcp/sse` |
| `VIDEO_GENERATOR_MCP__URL` | MCP service for video generation |    ✘     | `http://localhost:8002/gradio_api/mcp/sse` |
| `DIRECTORY__ASSETS`        | Base assets directory            |    ✘     | `./assets`                                 |
| `DIRECTORY__LOG`           | Log files directory              |    ✘     | `./logs`                                   |
| `DIRECTORY__IMAGE`         | Image assets directory           |    ✘     | `./assets/image`                           |
| `DIRECTORY__AUDIO`         | Audio assets directory           |    ✘     | `./assets/audio`                           |
| `DIRECTORY__VIDEO`         | Video assets directory           |    ✘     | `./assets/video`                           |
