npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

kivibot-plugin-chatgpt3

v1.1.3

Published

移植keli 的 OpenAI / ChatGPT 插件,使用最新的 `GPT-3.5` 模型(`gpt-3.5-turbo`)

Downloads

5

Readme

OpenAI ChatGPT for kivibot

npm-version dm

kivibotOpenAI ChatGPT 插件。

特征

  • 默认使用最新的 GPT-3.5 模型(gpt-3.5-turbo
  • 可选配置触发指令前缀,默认为 %
  • 可选开启 at 触发(艾特机器人)
  • 可选开启仅私聊可用,在群聊中关闭
  • 使用 QQ 消息进行配置,无需手动修改
  • 从 keli 移植过来 安装
/plugin add chatgpt3

启用

/plugin on chatgpt3

配置

申请 OpenAI 的 apiKey,然后使用以下命令自动配置

/gpt3 setkey <apiKey>

由于国内api.openai.com被墙,需要设置代理,打开bot/node_modules/openai/dist/base.js,将18行的exports.BASE_PATH = "https://api.openai.com/v1".replace(/\/+$/,"");改为如下:(感谢Viki的代理.jpg)

exports.BASE_PATH = "https://gpt.viki.moe/v1".replace(/\/+$/,"");

使用

%背诵故事静夜思
%换个话题吧

可选配置

配置是否艾特触发,默认开启

/gpt3 at <on/off>

配置是否启用群聊,默认开启,发言不可控,为了账号安全可以关闭群聊功能,仅保留私聊

/gpt3 group <on/off>

配置触发前缀,默认 %,不可为空

/gpt3 prefix <prefix>

配置完成后,通过消息命令重载 ChatGPT 插件生效。

/plugin reload chatgpt3

其他配置可手动修改 data/plugin/kivibot-plugin-chatgpt3/config.json 文件,重载插件生效。