| Package | Description |
|---|---|
| com.amazonaws.services.qbusiness.model |
| Modifier and Type | Method and Description |
|---|---|
TextSegment |
TextSegment.clone() |
TextSegment |
TextSegment.withBeginOffset(Integer beginOffset)
The zero-based location in the response string where the source attribution starts.
|
TextSegment |
TextSegment.withEndOffset(Integer endOffset)
The zero-based location in the response string where the source attribution ends.
|
TextSegment |
TextSegment.withSnippetExcerpt(SnippetExcerpt snippetExcerpt)
The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business
chat response.
|
| Modifier and Type | Method and Description |
|---|---|
List<TextSegment> |
SourceAttribution.getTextMessageSegments()
A text extract from a source document that is used for source attribution.
|
| Modifier and Type | Method and Description |
|---|---|
SourceAttribution |
SourceAttribution.withTextMessageSegments(TextSegment... textMessageSegments)
A text extract from a source document that is used for source attribution.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceAttribution.setTextMessageSegments(Collection<TextSegment> textMessageSegments)
A text extract from a source document that is used for source attribution.
|
SourceAttribution |
SourceAttribution.withTextMessageSegments(Collection<TextSegment> textMessageSegments)
A text extract from a source document that is used for source attribution.
|
Copyright © 2024. All rights reserved.