suink / qq-chatgpt-bot Goto Github PK
View Code? Open in Web Editor NEW实现ChatGPT qq机器人聊天功能,使用gpt-3.5-turbo基于go-cqhttp+golang, 支持联系上下文对话, 关键词触发, 多平台使用
License: MIT License
实现ChatGPT qq机器人聊天功能,使用gpt-3.5-turbo基于go-cqhttp+golang, 支持联系上下文对话, 关键词触发, 多平台使用
License: MIT License
windows11系统
运行到
2023/03/07 13:24:16 chatgpt.go:37: 正在调用OpenAI API生成文本... 北京
然后就关闭了
可不可以新增除了at以外的触发方式,如关键字触发,想要私聊使用
我之前没研究清楚,在github上看了一个范例的程序,以为角色扮演一定要使用另一个模型。后来发现直接用gpt-3.5-turbo是可行的。直接把角色信息追加到messages开头即可。另一个模型消耗的token量应该比gpt-3.5-turbo要多。
不过我最近时间不是很多了,所以暂且先在这里提一下。
how to solve it
输出的文本有时不会换行,黏在一块十分难读,请问有可能的原因和解决方案吗?
为什么运行一段时间会掉线
Hello, please allow me to sell an account with $18 api here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.