SearchResultLocation
The search result location where the cited content is found, including the search result index and block positions within the content array.
Inherited functions
Casts this CitationLocation as a DocumentChar and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentCharLocation value. Throws an exception if the CitationLocation is not a DocumentChar.
Casts this CitationLocation as a DocumentChar and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentCharLocation value. Returns null if the CitationLocation is not a DocumentChar.
Casts this CitationLocation as a DocumentChunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentChunkLocation value. Throws an exception if the CitationLocation is not a DocumentChunk.
Casts this CitationLocation as a DocumentChunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentChunkLocation value. Returns null if the CitationLocation is not a DocumentChunk.
Casts this CitationLocation as a DocumentPage and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentPageLocation value. Throws an exception if the CitationLocation is not a DocumentPage.
Casts this CitationLocation as a DocumentPage and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentPageLocation value. Returns null if the CitationLocation is not a DocumentPage.
Casts this CitationLocation as a SearchResultLocation and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultLocation value. Throws an exception if the CitationLocation is not a SearchResultLocation.
Casts this CitationLocation as a SearchResultLocation and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultLocation value. Returns null if the CitationLocation is not a SearchResultLocation.
Casts this CitationLocation as a Web and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.WebLocation value. Throws an exception if the CitationLocation is not a Web.
Casts this CitationLocation as a Web and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.WebLocation value. Returns null if the CitationLocation is not a Web.