Coder Social home page Coder Social logo

nonebot-plugin-nekoimage's Introduction

nonebot-plugin-nekoimage

对接NekoImageGallery(一个AI驱动的自然语言和反向图像搜索引擎,由CLIP和qdrant提供支持)的nonebot插件

安装

  1. 手动构建最新版本的nonebot-plugin-send-anything-anywhere(以下简称saa)并安装

截止2024.1.15,saa的最新版本号仍为2023年11月18日的0.4.0,这个版本并未对qq适配器进行较好的适配,因此需要手动构建最新版本的saa并安装,安装命令如下:

git clone https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere
cd nonebot-plugin-send-anything-anywhere
poetry install
  1. 安装本插件
  • 使用 nb-cli 安装
    nb plugin install nonebot-plugin-nekoimage
  • 使用 poetry 安装
    poetry add nonebot-plugin-nekoimage
  • 使用 pip 安装
    pip install nonebot-plugin-nekoimage

配置文件

NEKOIMAGE_API=http://127.0.0.1:8000 # 参见 [NekoImageGallery](https://github.com/hv0905/NekoImageGallery)
NEKOIMAGE_SECRET=your-super-secret-access-token # 参见 [NekoImageGallery](https://github.com/hv0905/NekoImageGallery)
NEKOIMAGE_AT_MSG=true # 是否**仅处理at机器人**的消息
NEKOIMAGE_BETTER_URL=true # 将url格式的信息处理后发送,特别适用于adapter-qq
NEKOIMAGE_HTTPX_TIMEOUT=30 # 插件向NekoImageGallery后端发送请求的等待超时时间

支持的适配器

本插件使用 nonebot-saa 同时适配以下适配器使用:

特别感谢

nonebot-plugin-nekoimage's People

Contributors

pk5ls20 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.