View a markdown version of this page

Citation - AWS Context

Citation

Maps a span of the answer to the entities that support it. The span is answer[startIndex:endIndex].

Contents

endIndex

The character offset in answer where the cited span ends (exclusive).

Type: Integer

Required: Yes

references

The entities in retrievedContext that support the span, referenced by identity.

Type: Array of Reference objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: Yes

startIndex

The character offset in answer where the cited span begins.

Type: Integer

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: