Module Values.SystemContentBlockSource

Contains configurations for instructions to provide the model for how to handle input. To learn more, see Using the Converse API.

Sourcetype nonrec t = {
  1. text : NonEmptyString.t option;
    (*

    A system prompt for the model.

    *)
  2. guardContent : GuardrailConverseContentBlock.t option;
    (*

    A content block to assess with the guardrail. Use with the Converse or ConverseStream API operations. For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide.

    *)
  3. cachePoint : CachePointBlock.t option;
    (*

    CachePoint to include in the system prompt.

    *)
}
Sourceval make : ?text:??? -> ?guardContent:??? -> ?cachePoint:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of String_.t | `Structure of (string * [> `Blob of GuardrailConverseImageSourceBytesBlob.t ]) list ]) 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