chatgpt-java icon indicating copy to clipboard operation
chatgpt-java copied to clipboard

ChatGPT Java SDK。支持 GPT3.5、 GPT4 API。开箱即用。

Results 105 chatgpt-java issues
Sort by recently updated
recently updated
newest added

参考资料 - https://github.com/cmdhelp/cloudflare-chatgpt

Chatbot类的getChatText方法里,返回的response.body()是{"detail":"Too many requests, please slow down"}会出现报错com.alibaba.fastjson2.JSONException: illegal input, offset 1, char a

![image](https://user-images.githubusercontent.com/96099210/206680342-a1499a7e-0b79-4e4c-a20d-d3df39c2b73e.png) 我不是很理解,为什么会报这个错误?

或想请您告知为何model text-davinci-003不可用,我更改参数后返回的数据显示 ```json {"detail":"Engine text-davinci-003 not recognized"} ```

2022-12-09 12:17:48.300 ERROR 7095 --- [nio-5800-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.fastjson2.JSONException: illegal input, offset 1,...

这一次问的东西, 和上一句没有什么关联了, 使用的是例子上写的方式

duplicate

作者大大,麻烦回复一下,最好的完善wiki,谢谢!祝好!

可以写代码,写小说,写作文、演讲稿、工作报告、读书笔记、合同等 更多的可以在这展示

documentation

Cannot invoke "java.util.Map.containsKey(Object)" because "this.config" is null resources里面已经配置号config。引入maven后测试代码没改。包如上错误

session这玩意很容易掉, 为啥不用apikey来对接? 我觉得可以试试这个方向