Module Values.FunctionSource

Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group. This data type is used in the following API operations: CreateAgentActionGroup request CreateAgentActionGroup response UpdateAgentActionGroup request UpdateAgentActionGroup response GetAgentActionGroup response

Sourcetype nonrec t = {
  1. name : Name.t;
    (*

    A name for the function.

    *)
  2. description : FunctionDescription.t option;
    (*

    A description of the function and its purpose.

    *)
  3. parameters : ParameterMap.t option;
    (*

    The parameters that the agent elicits from the user to fulfill the function.

    *)
  4. requireConfirmation : RequireConfirmation.t option;
    (*

    Contains information if user confirmation is required to invoke the function.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?parameters:??? -> ?requireConfirmation:??? -> name:Name.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of Name.t ] * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ParameterDescription.t ]) list ]) list | `String of Name.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