Values.CreateActRequestSourceCreates a new AI task (act) within a session that can interact with tools and perform specific actions.
type nonrec t = {workflowDefinitionName : WorkflowDefinitionName.t;The name of the workflow definition containing the session.
*)workflowRunId : UuidString.t;The unique identifier of the workflow run containing the session.
*)sessionId : UuidString.t;The unique identifier of the session to create the act in.
*)task : Task.t;The task description that defines what the act should accomplish.
*)toolSpecs : ToolSpecs.t option;A list of tool specifications that the act can invoke to complete its task.
*)clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*)}val make :
?toolSpecs:??? ->
?clientToken:??? ->
workflowDefinitionName:WorkflowDefinitionName.t ->
workflowRunId:UuidString.t ->
sessionId:UuidString.t ->
task:Task.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of ToolName.t
| `Structure of
(string * [> `Structure of 'a list ]) list ])
list ]
list
| `String of WorkflowDefinitionName.t ])
list ]