ConversationController

@RestController
@RequestMapping(value = ["/lmos/runtime/apis/v1"])
class ConversationController(conversationService: ConversationService)

Constructors

Link copied to clipboard
constructor(conversationService: ConversationService)

Functions

Link copied to clipboard
@PostMapping(value = ["/{tenantId}/chat/{conversationId}/message"])
suspend fun chat(@RequestBody conversation: Conversation, @PathVariable conversationId: String, @PathVariable tenantId: String, @RequestHeader(value = "x-turn-id") turnId: String): ResponseEntity<AssistantMessage>