🦀 ClawHub
业务运营问答助手
by @imbing
Build and query a FAQ knowledge base from markdown files. Use when asked to create a FAQ bot, set up automatic answers, build a knowledge base, add FAQ entri...
💡 Examples
# Initialize a new FAQ knowledge base
python scripts/faqbot.py initAdd a FAQ entry interactively
python scripts/faqbot.py add -q "What are your business hours?" -a "We are open Monday to Friday, 9 AM to 6 PM CET."Import FAQs from a markdown file
python scripts/faqbot.py import faq-source.mdSearch for the best matching answer
python scripts/faqbot.py search "when are you open"List all FAQ entries
python scripts/faqbot.py listExport all FAQs to markdown
python scripts/faqbot.py export --format md -o faqs-export.mdExport as JSON
python scripts/faqbot.py export --format json -o faqs.jsonRemove a FAQ entry by ID
python scripts/faqbot.py remove 3Get stats about the knowledge base
python scripts/faqbot.py stats
TERMINAL
clawhub install bo-faq-bot