Module Values.CreateActRequestSource

Creates a new AI task (act) within a session that can interact with tools and perform specific actions.

Sourcetype nonrec t = {
  1. workflowDefinitionName : WorkflowDefinitionName.t;
    (*

    The name of the workflow definition containing the session.

    *)
  2. workflowRunId : UuidString.t;
    (*

    The unique identifier of the workflow run containing the session.

    *)
  3. sessionId : UuidString.t;
    (*

    The unique identifier of the session to create the act in.

    *)
  4. task : Task.t;
    (*

    The task description that defines what the act should accomplish.

    *)
  5. toolSpecs : ToolSpecs.t option;
    (*

    A list of tool specifications that the act can invoke to complete its task.

    *)
  6. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?toolSpecs:??? -> ?clientToken:??? -> workflowDefinitionName:WorkflowDefinitionName.t -> workflowRunId:UuidString.t -> sessionId:UuidString.t -> task:Task.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t