← 返回
开发者工具 中文

业务运营问答助手

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...
从 Markdown 文件构建并查询 FAQ 知识库。适用于创建 FAQ 机器人、设置自动回复、构建知识库、添加 FAQ 条目等场景。
imbing
开发者工具 clawhub v0.0.1 1 版本 99882.4 Key: 无需
★ 3
Stars
📥 789
下载
💾 24
安装
1
版本
#latest

概述

Feishu FAQ Bot

Build a searchable knowledge base from markdown files. Match incoming questions to the best FAQ answer using fuzzy text matching.

Quick Start

# 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

CommandArgsDescription
----------------------------
initCreate a new empty knowledge base
add-q QUESTION -a ANSWER [-t TAGS]Add a single FAQ entry
importImport FAQs from markdown (H2 = question, body = answer)
search [--top N] [--threshold T]Find best matching answer(s)
list[--tag TAG]List all FAQ entries
removeRemove a FAQ entry
export`[--format md\json] [-o FILE]`Export knowledge base
statsShow knowledge base statistics

Markdown Import Format

## 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 Feishu 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.

版本历史

共 1 个版本

  • v0.0.1 当前
    2026-03-30 05:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

飞书图片消息

imbing
飞书图片消息操作技能,当触发飞书发送图片时自动调用本技能。 支持上传图片、发送图片消息、获取图片内容。 Activate when user mentions: 飞书发图、发送图片、上传图片、获取图片、下载图片、image_key。
★ 4 📥 1,738
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,936
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,755