Spaces:
Runtime error
Runtime error
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` | | |