Giter Club home page Giter Club logo

cow_plugin_kimichat's Introduction

插件说明:

国产模型kimi插件

支持联网、文件解析、20万上下文、卡兹克大佬力荐。

【文件解析】支持的格式如下:

['.dot', '.doc', '.docx', '.xls', ".xlsx", ".ppt", ".ppa", ".pptx", ".md", ".pdf", ".txt", ".csv"]

【独立上下文】:通过user ID新建会话,测试可多个会话同时进行,请低调使用。

这插件应该不会更新了,就这样了,没有进行压测,估摸着用的人还不多,好用排队去申请API去,别薅国产之光。

插件使用:

config.json.template复制为config.json,并修改其中refresh_token的值。

refresh_token的值怎么获取?

【方法1】:登录进去首页或对话页面先挂他个十几分钟,然后F12开发者模式,网络选项,发个信息,找到名称“refresh”的连接,打开响应选项卡,复制“refresh_token”:后面的值就行了。

【方法2】:退出登录,重新扫码,在扫码前F12,然后找到wechat的连接,看响应也有,一样能用

其他参数说明:

{
    "refresh_token": "", # 看上面
    "file_parsing_prompts": "请帮我整理汇总文件的核心内容", # 文件解析的首次提示词,设置通用点,全局参数
    "keyword": "",  # 关键词触发,留空就全部文本对话都会走插件,插件没有剔除关键词再POST接口,所以弄个正常点的,比如“kimi”
    "reset_keyword": "kimi重置会话", # 相当于网页开个新的窗口对话,没有写会话过期逻辑,懒
    "file_upload": true # 文件解析开关,群聊私聊通通都是他,开就全开,关就全关
}

常见问题(仅我自己测试的结果):

Q:一直返回Kimi 现在有点累了,晚一点再来问问我吧!您也可以重置会话试试噢!

​ A:大概率是传的或者搜索的内容有点问题,重置会话不要重复传递上次的内容就能解决。

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.