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 Details

  • Constructor Details

    • CozeChatController

      public CozeChatController()
  • Method Details

    • chat

      @GetMapping("/chat") public org.springframework.http.ResponseEntity<?> chat(String content, String userUid)
    • chatWithImage

      @GetMapping("/cha/image") public org.springframework.http.ResponseEntity<?> chatWithImage(String imagePath, String userUid)
    • chatStream

      @GetMapping(value="/chat/stream", produces="text/event-stream") public org.springframework.web.servlet.mvc.method.annotation.SseEmitter chatStream(String content, String userUid)
    • destroy

      @PreDestroy public void destroy()