Module Values.EvaluationBedrockModelSource

Contains the ARN of the Amazon Bedrock model or inference profile specified in your evaluation job. Each Amazon Bedrock model supports different inferenceParams. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models. The inferenceParams are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, "temperature":"0.25" key value pair would need to be formatted as \"temperature\":\"0.25\" to successfully accepted in the request.

Sourcetype nonrec t = {
  1. modelIdentifier : EvaluationBedrockModelIdentifier.t;
    (*

    The ARN of the Amazon Bedrock model or inference profile specified.

    *)
  2. inferenceParams : EvaluationModelInferenceParams.t option;
    (*

    Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.

    *)
  3. performanceConfig : PerformanceConfiguration.t option;
    (*

    Specifies performance settings for the model or inference profile.

    *)
}
Sourceval context_ : string
Sourceval make : ?inferenceParams:??? -> ?performanceConfig:??? -> modelIdentifier:EvaluationBedrockModelIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EvaluationBedrockModelIdentifier.t | `Structure of (string * [> `Enum of string ]) 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