Module Values.QQueryCardInputSource

The input shape for defining a query card in an Amazon Q App.

Sourcetype nonrec t = {
  1. title : Title.t;
    (*

    The title or label of the query card.

    *)
  2. id : UUID.t;
    (*

    The unique identifier of the query card.

    *)
  3. type_ : CardType.t;
    (*

    The type of the card.

    *)
  4. prompt : Prompt.t;
    (*

    The prompt or instructions displayed for the query card.

    *)
  5. outputSource : CardOutputSource.t option;
    (*

    The source or type of output to generate for the query card.

    *)
  6. attributeFilter : AttributeFilter.t option;
    (*

    Turns on filtering of responses based on document attributes or metadata fields.

    *)
}
Sourceval context_ : string
Sourceval make : ?outputSource:??? -> ?attributeFilter:??? -> title:Title.t -> id:UUID.t -> type_:CardType.t -> prompt:Prompt.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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