AI Personal Learning
and practical guidance
Bean Bag Marscode

NoneBot DeepSeek Plugin: Intelligent dialog for customer service based on NoneBot & DeepSeek.

General Introduction

NoneBot DeepSeek The plugin is a NoneBot plugin that integrates the DeepSeek model and is designed to provide intelligent dialog and Q&A functionality. By accessing the DeepSeek model, users can realize multi-round conversations, deep thinking and other functions on the NoneBot platform. The plugin supports multiple installation methods and provides detailed configuration options for users to customize according to their needs.NoneBot DeepSeek plugin is suitable for various scenarios that require intelligent conversation and Q&A functions, such as customer service systems, intelligent assistants, etc.

NoneBot DeepSeek Plugin: Intelligent Dialog and Q&A for Customer Service Based on NoneBot-1


 

Function List

  • intelligent dialog: Supports multi-round conversations, providing a natural and smooth dialog experience.
  • reflect in depth: Deep thinking and reasoning through the DeepSeek model.
  • Markdown to Image: Support for converting Markdown content to images.
  • Customized shortcut commands: Users can customize shortcut commands according to their needs to enhance the efficiency of use.
  • Model Configuration: Multiple model configurations are supported so that users can select different models according to their needs.
  • Balance inquiry: Provide a balance inquiry function to facilitate user management of utilization.

 

Using Help

Installation process

  1. Installation with nb-cli: Open a command line in the root directory of the Bot and enter the following command to install it:
   nb plugin install nonebot-plugin-deepseek
  1. Installation using a package manager::
    • Use pip to install: bash
      pip install nonebot-plugin-deepseek
    • Use poetry to install: bash
      poetry add nonebot-plugin-deepseek
    • Use pdm to install: bash
      pdm add nonebot-plugin-deepseek

configure

Add the following configuration item to the project's configuration file:

  • deepseek__api_key: API Key obtained from the DeepSeek Open Platform.
  • deepseek__enable_models: A list of enabled models in the form of a dictionary of CustomModel structures.
  • deepseek__prompt: Model presets (optional).
  • deepseek__md_to_pic: Whether or not to enable Markdown-to-image feature (optional).
  • deepseek__enable_send_thinking: Whether to send a chain of thought (optional).

Usage

  1. Basic use::
    • Q&A: bash
      /deepseek [Contents]
    • Quick Command: bash
      /ds [Contents]
  2. many rounds of dialogue::
    • Use the command: bash
      /deepseek --with-context [Contents].
    • Quick Command: bash
      /ds --with-context [content]
  3. reflect in depth::
    • Use the command: bash
      /deepseek [Contents] --use-model deepseek-reasoner
    • Quick Command: bash
      /Deep Thoughts [Contents]
  4. Setting the Default Model::
    • View a list of supported models: bash
      /deepseek model -l | --list
    • Set the default model: bash
      /deepseek model --set-default [model name]
    • Quick Command: bash
      /Model List
      /set default model [model name]
  5. Balance inquiry::
    • Use the command: bash
      /deepseek --balance
    • Quick Command: bash
      /ds ---balance
      /Balance

Customized shortcut commands

This feature relies on Alconna shortcut commands. The commands can be customized to suit your needs and do not include COMMAND_START, which must be filled in manually if necessary.

  • Add custom commands:
  /deepseek --shortcut  /deepseek
  • Deletes custom commands:
  /deepseek --shortcut delete
  • Lists custom commands:
  /deepseek --shortcut list
CDN
May not be reproduced without permission:Chief AI Sharing Circle " NoneBot DeepSeek Plugin: Intelligent dialog for customer service based on NoneBot & DeepSeek.

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish