We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
类似chat聊天功能,用户发起一段文本,deepseek4j调用大模型返回的内容返回(Stream模式),大模型的返回内容要保存到数据库。咨询下去该如何获取大模型的返回呢?
1.4.3
// sse 流式返回 @GetMapping(value = "/chat", produces = MediaType.TEXT_EVENT_STREAM_VALUE) public Flux<ChatCompletionResponse> chat(String prompt) { return deepSeekClient.chatFluxCompletion(prompt); }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
您的问题
类似chat聊天功能,用户发起一段文本,deepseek4j调用大模型返回的内容返回(Stream模式),大模型的返回内容要保存到数据库。咨询下去该如何获取大模型的返回呢?
版本信息
1.4.3
补充信息
提问前确认
The text was updated successfully, but these errors were encountered: