Class CozeChatController
java.lang.Object
com.bytedesk.ai.springai.providers.coze.CozeChatController
@RestController
@RequestMapping("/coze")
@ConditionalOnProperty(name="bytedesk.coze.enabled",
havingValue="true",
matchIfMissing=false)
public class CozeChatController
extends Object
https://www.coze.cn/open/docs/developer_guides
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
org.springframework.web.servlet.mvc.method.annotation.SseEmitter
chatStream
(String content, String userUid) org.springframework.http.ResponseEntity<?>
chatWithImage
(String imagePath, String userUid) void
destroy()
-
Field Details
-
cozeChatService
-
executorService
-
-
Constructor Details
-
CozeChatController
public CozeChatController()
-
-
Method Details
-
chat
-
chatWithImage
-
chatStream
-
destroy
@PreDestroy public void destroy()
-