Module Values.PromptGenAiResourceSource

Contains specifications for a generative AI resource with which to use the prompt. For more information, see Create a prompt using Prompt management.

Sourcetype nonrec t = {
  1. agent : PromptAgentResource.t option;
    (*

    Specifies an Amazon Bedrock agent with which to use the prompt.

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