nonebot / nonebot/nonebot2

Plugin: LLM 客服

Closed
#4,174 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Plugin Publish
Dominant language
Python
Stars
7.7k
Forks
662
Avg merge
7d 15h
Merged PRs (30d)
7

Description

PyPI 项目名

nonebot-plugin-advisor

插件模块名

nonebot_plugin_advisor

标签

[{"label":"跨平台","color":"#a32525"},{"label":"客服","color":"#2580a3"},{"label":"LLM","color":"#a39625"}]

插件配置项
# ===== nonebot-plugin-advisor 配置示例(复制为 .env 后按需修改) =====

# --- LLM(OpenAI 兼容接口) ---
ADVISOR_LLM_BASE_URL=https://api.openai.com/v1
ADVISOR_LLM_API_KEY=sk-xxxxxxxx
ADVISOR_LLM_MODEL=gpt-4o-mini
# 视觉模型:负责“看图描述/索引”。若你的主模型不支持图片,务必单独配置一个支持视觉的模型
ADVISOR_VISION_MODEL=
ADVISOR_LLM_TEMPERATURE=0.3
ADVISOR_LLM_MAX_TOKENS=1500

# --- 人设 / 触发 ---
ADVISOR_NICKNAME=小顾
ADVISOR_PRODUCT_NAME=你的产品名
ADVISOR_KB_DESCRIPTION=关于你的产品的官方文档
ADVISOR_ACK_TEXT=收到~我帮您看下,稍等一下哦
# 是否把用户图片以多模态直接喂给主模型(需要主模型支持看图)
ADVISOR_IMAGE_INLINE=false

# --- 联网搜索 ---
ADVISOR_ENABLE_WEB=true
# 自建 SearXNG JSON 接口地址;留空则自动退回 Bing
ADVISOR_SEARXNG_URL=

# --- 文档知识库(可留空禁用) ---
# git 仓库地址,或本地目录绝对路径
ADVISOR_KB_SOURCE=
ADVISOR_KB_BRANCH=
# 定时同步:cron(分 时 日 月 周)或分钟间隔,二者都 0 则仅启动时同步一次
ADVISOR_KB_SYNC_CRON=0 3 * * *
ADVISOR_KB_SYNC_INTERVAL=0
ADVISOR_KB_MAX_IMAGES_PER_SYNC=50
插件测试
  • 如需重新运行插件测试,请勾选左侧勾选框

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains plugin metadata and configuration for nonebot-plugin-advisor, but names no repository file, test, or concrete change. First clarify whether this is a plugin submission or a requested change in nonebot2, then identify the relevant submission or documentation entry point. Completion criteria are not specified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.