SourceAttribution

The documents used to generate an Amazon Q Business web experience response.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number attached to a citation in an Amazon Q Business generated response.

Link copied to clipboard

The identifier of the data source from which the document was ingested. This field is not present if the document is ingested by directly calling the BatchPutDocument API (similar to checkDocumentAccess). If the document is from a file-upload data source, the datasource will be "uploaded-docs-file-stat-datasourceid".

Link copied to clipboard

The unique identifier of the source document used in the citation, obtained from the Amazon Q Business index during chat response generation. This ID is used as input to the GetDocumentContent API to retrieve the actual document content for user verification.

Link copied to clipboard

The identifier of the index containing the source document's metadata and access control information. This links the citation back to the specific Amazon Q Business index where the document's searchable content and permissions are stored.

Link copied to clipboard

The content extract from the document on which the generated response is based.

Link copied to clipboard

A text extract from a source document that is used for source attribution.

Link copied to clipboard

The title of the document which is the source for the Amazon Q Business generated response.

Link copied to clipboard

The Unix timestamp when the Amazon Q Business application was last updated.

Link copied to clipboard
val url: String?

The URL of the document which is the source for the Amazon Q Business generated response.

Functions

Link copied to clipboard
inline fun copy(block: SourceAttribution.Builder.() -> Unit = {}): SourceAttribution
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String