toggle menu
lmos-runtime
0.4.0
jvm
switch theme
search in API
lmos-runtime
/
ai.ancf.lmos.runtime.core.inbound
/
ConversationController
Conversation
Controller
@
RestController
@
RequestMapping
(
value
=
[
"/lmos/runtime/apis/v1"
]
)
class
ConversationController
(
conversationService
:
ConversationService
)
Members
Constructors
Conversation
Controller
Link copied to clipboard
constructor
(
conversationService
:
ConversationService
)
Functions
chat
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
>