Seleccione sus preferencias de cookies

Usamos cookies esenciales y herramientas similares que son necesarias para proporcionar nuestro sitio y nuestros servicios. Usamos cookies de rendimiento para recopilar estadísticas anónimas para que podamos entender cómo los clientes usan nuestro sitio y hacer mejoras. Las cookies esenciales no se pueden desactivar, pero puede hacer clic en “Personalizar” o “Rechazar” para rechazar las cookies de rendimiento.

Si está de acuerdo, AWS y los terceros aprobados también utilizarán cookies para proporcionar características útiles del sitio, recordar sus preferencias y mostrar contenido relevante, incluida publicidad relevante. Para aceptar o rechazar todas las cookies no esenciales, haga clic en “Aceptar” o “Rechazar”. Para elegir opciones más detalladas, haga clic en “Personalizar”.

TextSegment - Amazon Q Business
Esta página no se ha traducido a su idioma. Solicitar traducción

TextSegment

Provides information about a text extract in a chat response that can be attributed to a source document.

Contents

beginOffset

The zero-based location in the response string where the source attribution starts.

Type: Integer

Required: No

endOffset

The zero-based location in the response string where the source attribution ends.

Type: Integer

Required: No

mediaId

This member has been deprecated.

The identifier of the media object associated with the text segment in the source attribution.

Type: String

Length Constraints: Fixed length of 36.

Pattern: [a-zA-Z0-9][a-zA-Z0-9-]{35}

Required: No

mediaMimeType

This member has been deprecated.

The MIME type (image/png) of the media object associated with the text segment in the source attribution.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

snippetExcerpt

The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.

Type: SnippetExcerpt object

Required: No

sourceDetails

Source information for a segment of extracted text, including its media type.

Type: SourceDetails object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

See Also

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

PrivacidadTérminos del sitioPreferencias de cookies
© 2025, Amazon Web Services, Inc o sus afiliados. Todos los derechos reservados.