返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
w

whatsapp-faq-bot

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 entries, search FAQs, or answer common questions from a knowledge base. Perfect for WhatsApp business bots.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
436
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

whatsapp-faq-bot

# WhatsApp FAQ Bot Build a searchable knowledge base from markdown files. Match incoming questions to the best FAQ answer using fuzzy text matching. ## Quick Start ```bash # Initialize a new FAQ knowledge base python scripts/faqbot.py init # Add 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.md # Search for the best matching answer python scripts/faqbot.py search "when are you open" # List all FAQ entries python scripts/faqbot.py list # Export all FAQs to markdown python scripts/faqbot.py export --format md -o faqs-export.md # Export as JSON python scripts/faqbot.py export --format json -o faqs.json # Remove a FAQ entry by ID python scripts/faqbot.py remove 3 # Get stats about the knowledge base python scripts/faqbot.py stats ``` ## Commands | Command | Args | Description | |---------|------|-------------| | `init` | | Create a new empty knowledge base | | `add` | `-q QUESTION -a ANSWER [-t TAGS]` | Add a single FAQ entry | | `import` | `<file.md>` | Import FAQs from markdown (H2 = question, body = answer) | | `search` | `<query> [--top N] [--threshold T]` | Find best matching answer(s) | | `list` | `[--tag TAG]` | List all FAQ entries | | `remove` | `<id>` | Remove a FAQ entry | | `export` | `[--format md\|json] [-o FILE]` | Export knowledge base | | `stats` | | Show knowledge base statistics | ## Markdown Import Format ```markdown ## What are your business hours? We are open Monday to Friday, 9 AM to 6 PM CET. Weekend support is available via email only. ## How do I reset my password? Go to Settings > Account > Reset Password. You will receive an email with a reset link. ## What payment methods do you accept? We accept: - Credit/debit cards (Visa, Mastercard) - PayPal - Bank transfer (EU only) ``` Each H2 heading becomes a question, the body below becomes the answer. ## Search Scoring - Uses TF-IDF-like fuzzy matching on question text - Returns confidence score (0.0 to 1.0) - Default threshold: 0.3 (adjustable with `--threshold`) - Returns top 3 matches by default (adjustable with `--top`) ## Integration with OpenClaw This skill is designed to work as a WhatsApp FAQ bot. When a user asks a question, the agent can use the `search` command to find the best match and respond automatically. Configure it in your cron or agent system prompt.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 whatsapp-faq-bot-1776314411 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 whatsapp-faq-bot-1776314411 技能

通过命令行安装

skillhub install whatsapp-faq-bot-1776314411

下载

⬇ 下载 whatsapp-faq-bot v1.0.0(免费)

文件大小: 6.49 KB | 发布时间: 2026-4-16 15:35

v1.0.0 最新 2026-4-16 15:35
Initial release of WhatsApp FAQ Bot.

- Build a searchable FAQ knowledge base from markdown files.
- Add, import, search, list, and remove FAQ entries via command-line.
- Fuzzy text matching for answering natural language questions.
- Export FAQs to markdown or JSON formats.
- Provides statistics about your knowledge base.
- Tailored for integration with WhatsApp business workflows.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部