Module Values.SystemContentBlockSource

Contains a system prompt to provide context to the model or to describe how it should behave. For more information, see Create a prompt using Prompt management.

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

    The text in the system prompt.

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

    Creates a cache checkpoint within a tool designation

    *)
}
Sourceval make : ?text:??? -> ?cachePoint:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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