Module Values.ToolConfigurationSource

Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.

Sourcetype nonrec t = {
  1. tools : ToolConfigurationToolsList.t;
    (*

    An array of tools that you want to pass to a model.

    *)
  2. toolChoice : ToolChoice.t option;
    (*

    If supported by model, forces the model to request a tool.

    *)
}
Sourceval context_ : string
Sourceval make : ?toolChoice:??? -> tools:ToolConfigurationToolsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ToolName.t | `Structure of (string * [> `Structure of 'a list ]) list ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `String of ToolName.t ]) list ]) list ]) 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