Values.RetrieveResultItemSourceA single retrieved relevant passage result.
type nonrec t = {id : ResultId.t option;The identifier of the relevant passage result.
*)documentId : DocumentId.t option;The identifier of the document.
*)documentTitle : DocumentTitle.t option;The title of the document.
*)content : Content.t option;The contents of the relevant passage.
*)documentURI : Url.t option;The URI of the original location of the document.
*)documentAttributes : DocumentAttributeList.t option;An array of document fields/attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.
*)scoreAttributes : ScoreAttributes.t option;The confidence score bucket for a retrieved passage result. The confidence bucket provides a relative ranking that indicates how confident Amazon Kendra is that the response is relevant to the query.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of DocumentAttributeKey.t
| `Structure of
(string
* [> `List of [> `String of String_.t ] list
| `Long of Long.t
| `String of DocumentAttributeStringValue.t
| `Timestamp of Timestamp.t ])
list ])
list ]
list
| `String of ResultId.t
| `Structure of (string * [> `Enum of string ]) list ])
list ]