steven

Results 6 comments of steven

see https://github.com/TheoKanning/openai-java/pull/129

I have resolved this issue, please see the pull request: https://github.com/TheoKanning/openai-java/pull/129

通过prompt将之前对话的所有信息全部提交即可实现会话功能

prompt中输入之前会话的所有内容即可实现该功能

采用的是输出token。可以考虑用新的chatgpt-api以及模型参数了,价格更低

please use the SSE protocol。 see https://github.com/TheoKanning/openai-java/pull/129, example repo is https://github.com/mrjiangyan/openai-java/blob/main/example/src/main/java/example/OpenAiApiExample.java