app: wire new commands and update docs
This commit is contained in:
@@ -9,6 +9,13 @@ cp .env.example .env
|
||||
# Edit .env: add BOT_TOKEN, CREATOR_ID and configure optional AI models (GEMINI_API_KEY, MISTRAL_API_KEY, OLLAMA_ADDRESS)
|
||||
```
|
||||
|
||||
For local Ollama document RAG, install an embedding model locally and set it in `.env`:
|
||||
|
||||
```bash
|
||||
ollama pull nomic-embed-text
|
||||
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
|
||||
```
|
||||
|
||||
**With Bun (Recommended):**
|
||||
```bash
|
||||
bun install
|
||||
@@ -42,13 +49,14 @@ docker run -d --env-file .env -v $(pwd)/data:/config/data tg-bot-bun
|
||||
|
||||
## Requirements
|
||||
|
||||
- Node.js >= 18 OR Bun >= 1.0
|
||||
- Node.js >= 20 OR Bun >= 1.0
|
||||
- Docker (optional)
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
- AI chat (Gemini, Mistral, Ollama)
|
||||
- Local document RAG for Ollama without third-party providers
|
||||
- Custom answers and commands
|
||||
- Admin management
|
||||
- User blocking (mute/unmute)
|
||||
|
||||
Reference in New Issue
Block a user