Values.SendMessageRequestSourceRequest structure for sending a chat message
type nonrec t = {agentSpaceId : AgentSpaceId.t;The agent space identifier
*)executionId : ResourceId.t;The execution identifier for the chat session
*)content : MessageContent.t;The user message content
*)context : SendMessageContext.t option;Optional context for the message
*)userId : ResourceId.t option;User identifier. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.
*)}val make :
?context:??? ->
?userId:??? ->
agentSpaceId:AgentSpaceId.t ->
executionId:ResourceId.t ->
content:MessageContent.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of AgentSpaceId.t
| `Structure of (string * [> `String of String_.t ]) list ])
list ]