Docs: Update README and CLAUDE.md for recent architecture changes
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 46s
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 46s
- Updated docs to reflect switch to Bigrams (order 1) - Documented incremental DB updates and performance caching - Added mention of @-ping protection in features - Updated AI context guidance (20 messages instead of 50) - Fixed AI_SYSTEM_PROMPT env fallback in index.ts
This commit is contained in:
@@ -5,11 +5,12 @@ Ein Telegram-Bot, der mithilfe von Markov Chains neue Sätze aus vorherigen Nach
|
||||
## Features
|
||||
|
||||
- Lernt von allen Text-Nachrichten in einer Gruppe
|
||||
- Generiert grammatikalisch sinnvolle Sätze mit Trigrammen
|
||||
- Generiert kreative Sätze mit Bigrammen (hohe Diversität)
|
||||
- **Automatischer @-Ping-Schutz** (entfernt @ vor dem Senden)
|
||||
- Antwortet bei Reply, Erwähnung (@username) oder zufällig
|
||||
- Pro-Chat-Wahrscheinlichkeit einstellbar (Admins)
|
||||
- **KI/LLM-Integration** (OpenAI, Ollama, OpenRouter, etc.)
|
||||
- Persistente SQLite-Datenbank
|
||||
- **Leistungsoptimiert:** Inkrementelle SQLite-Updates statt kompletter Rewrites
|
||||
- Docker-Support
|
||||
|
||||
## Schnellstart
|
||||
@@ -154,8 +155,8 @@ src/
|
||||
└── ai.ts # OpenAI-kompatibler Client
|
||||
```
|
||||
|
||||
- **Markov Chain** mit Trigrammen für bessere Grammatik
|
||||
- **SQLite** für persistente Speicherung
|
||||
- **Markov Chain** mit Bigrammen für hohe Kreativität und Abwechslung
|
||||
- **SQLite** mit performanten ON CONFLICT Updates
|
||||
- Pro Chat separate Daten/Lernkurve
|
||||
|
||||
### Datenbank-Cleanup
|
||||
|
||||
Reference in New Issue
Block a user