chatgpt-steam-output icon indicating copy to clipboard operation
chatgpt-steam-output copied to clipboard

Open AI ChatGPT流式输出。Open AI Stream output. ChatGPT Stream output.GPT-3.5

Results 8 chatgpt-steam-output issues
Sort by recently updated
recently updated
newest added

存在内存泄漏:okhttpclient a connection to http was leaked

@Slf4j public class ConsoleEventSourceListener extends EventSourceListener { @Override public void onOpen(EventSource eventSource, Response response) { log.info("OpenAI建立sse连接..."); } @Override public void onEvent(EventSource eventSource, String id, String type, String data) { log.info("OpenAI返回数据:{}",...

问题如下 ![image](https://github.com/Grt1228/chatgpt-steam-output/assets/119870721/15cf8706-9e21-4d48-9b39-d913d8938e9c) idea的代理已经配置成功 ![image](https://github.com/Grt1228/chatgpt-steam-output/assets/119870721/3e03695d-886f-468b-9dfe-ed0c36bb5fa1) 能ping通网页版,但无法通过demo运行,望各位大佬解答,谢谢!

有这样的一个需求。APP请求java后端,java后端请求AI中台,AI中台再请求OPENAI的接口,答案进行流式返回。这个应该如何修改呢?

gpt3.5接入后,在聊天窗口问:你是那个版本,gpt回复:我是OpenAI GPT-3的AI语言模型,是目前最先进的自然语言处理模型之一;为什么会出现这个问题呢?

请问一直请求超时是怎么回事呀,本机有用clash设置代理,用postman请求是有返回的 `2023-05-05 11:19:15.598 INFO 12776 --- [.openai.com/...] c.u.chatgpt.interceptor.OpenAILogger : OkHttp-------->:

把onEvent里的回答拼接成一个字符串,用TikTokensUtil.tokens得出的记过比OpenAISSEEventSourceListener里累加的token要多10%,不太明白为什么要采用累加的方法计算token?

1.当前多轮对话的消息列表中只有user的问题记录,故增加了AI的回答内容。 2.sdk依赖升级1.0.12