Documentation Index
Fetch the complete documentation index at: https://docs.mavera.io/llms.txt
Use this file to discover all available pages before exploring further.
Scenario
Your community asks the same questions repeatedly across#help, #general, and #support. This job mines question messages (identified by ? marks and question patterns), clusters them by topic via Mave, then generates polished FAQ entries with your brand voice — ready for docs, help centers, or pinned messages.
Flow: Discord GET /channels/{id}/messages → Filter questions → Mavera POST /mave/chat (cluster) → POST /generations (FAQ entries)
Code
Example Output
Error Handling
Question detection
Question detection
The regex pattern catches most questions but may miss imperative-style questions (“Tell me how to…”). Add patterns for your community’s question style.
Noise filtering
Noise filtering
Community channels contain memes, off-topic chat, and reactions. The length filter (15-500 chars) removes most noise. For cleaner results, only process messages from specific roles.
FAQ staleness
FAQ staleness
Regenerate monthly. Pin the latest FAQ in your Discord channels and update help center docs via webhook.