mirror of
https://github.com/countbot-ai/CountBot.git
synced 2026-09-14 20:46:47 +08:00
6a107ae591
- Wiki知识库: api.wiki, modules.wiki.*, frontmatter - MCP客户端: api.mcp, modules.mcp.* - 多智能体: api.agent_teams, modules.agent.*, models.agent_team - 用户/安全: modules.auth.* - IM渠道: modules.channels.* - 配置管理: modules.config.* - 编程工具: modules.tools.* - 记忆/会话: modules.session.* - 工作区: modules.workspace.* - 定时任务: modules.cron.* - LLM提供者: modules.providers.* - 消息队列: modules.messaging.* - WebSocket: modules.websocket.* - 系统托盘: modules.system.* - 第三方库: frontmatter, python_multipart 构建(依赖): 默认禁用jieba分词(41MB体积对小知识库提升约0%) 搜索(wiki): 扩展停用词表并优化分词策略文档
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
# ============================================
|
||
# CountBot 依赖配置
|
||
# ============================================
|
||
|
||
# ── 核心框架 ──────────────────────────────
|
||
fastapi>=0.115.0
|
||
uvicorn==0.32.0
|
||
sqlalchemy>=2.0.36
|
||
pydantic>=2.10.0
|
||
pydantic-settings>=2.7.0
|
||
loguru>=0.7.3
|
||
python-dotenv>=1.0.1
|
||
|
||
# ── HTTP 客户端 ───────────────────────────
|
||
httpx>=0.28.0
|
||
requests>=2.32.0
|
||
|
||
# ── LLM 相关 ─────────────────────────────
|
||
anthropic>=0.40.0
|
||
openai>=1.58.0
|
||
|
||
# ── 数据库 ───────────────────────────────
|
||
aiosqlite>=0.20.0
|
||
|
||
# ── 定时任务 ─────────────────────────────
|
||
croniter>=5.0.0
|
||
|
||
# ── 桌面客户端 ────────────────────────────
|
||
pywebview>=5.3
|
||
|
||
# ── 网页内容提取 ──────────────────────────
|
||
beautifulsoup4>=4.14.2
|
||
|
||
# ── 渠道 SDK ─────────────────────────────
|
||
qq-botpy>=1.2.1
|
||
dingtalk-stream>=0.24.3
|
||
lark-oapi>=1.5.3
|
||
python-telegram-bot>=20.7
|
||
websockets>=12.0
|
||
|
||
# ============================================
|
||
# 可选依赖(按需安装)
|
||
# ============================================
|
||
|
||
# ── 增强网页抓取(反爬虫、JS渲染)─────────
|
||
# 注意:scrapling 包体积较大(~100MB),包含 playwright 等依赖
|
||
# 不安装不影响运行,会自动回退到 httpx(基础 HTTP 请求)
|
||
# scrapling>=0.3.6
|
||
|
||
# ── 极强反爬虫(仅在 scrapling 安装后需要)──
|
||
# camoufox>=0.4.11
|
||
|
||
# ── MCP 客户端(默认关闭,按需安装)──
|
||
# 不安装不影响运行,MCP 功能默认关闭
|
||
mcp>=1.0.0
|
||
|
||
# ── Wiki 知识库中文分词(可选,提升搜索质量)──
|
||
# 不安装会自动回退为单字分词,不影响基本功能
|
||
# jieba>=0.42
|
||
|
||
|
||
|