Amazon Q BusinessGoogle Drive data source connector field mappings - Amazon Q Business

Amazon Q BusinessGoogle Drive data source connector field mappings

To improve retrieved results and customize the end user chat experience, Amazon Q Business enables you to map document attributes from your data sources to fields in your Amazon Q index.

Amazon Q offers two kinds of attributes to map to index fields:

  • Reserved or default – Reserved attributes are based on document attributes that commonly occur in most data. You can use reserved attributes to map commonly occurring document attributes in your data source to Amazon Q index fields.

  • Custom – You can create custom attributes to map document attributes that are unique to your data to Amazon Q index fields.

When you connect Amazon Q to a data source, Amazon Q automatically maps specific data source document attributes to fields within an Amazon Q index. If a document attribute in your data source doesn't have a attribute mapping already available, or if you want to map additional document attributes to index fields, use the custom field mappings to specify how a data source attribute maps to an Amazon Q index field. You create field mappings by editing your data source after your application and retriever are created.

To learn more about document attributes and how they work in Amazon Q, see Document attributes and types in Amazon Q.

Important

Filtering using document attributes in chat is only supported through the API.

The Amazon Q GoogleDrive connector supports the following entities and the associated reserved and custom attributes.

Supported entities and field mappings

Files

GoogleDrive field name Index field name Description Data type
authors _authors Default String list
emailIds gd_author_emails Custom String list
mimeType gd_file_mime_type Custom String
size gd_size Custom Long (numeric)
starred gd_starred_file Custom String
version gd_size Custom Long (numeric)
webViewLink _source_uri Default String
viewedByMeAt gd_viewed_at Custom Date
modifiedByMeAt gd_modified_by_me_at Custom Date
createdAt _created_at Default Date
modifiedAt _last_updated_at Default Date
lastModifyingUser gd_last_modified_by Custom String
kind gd_kind Custom String
id gd_id Custom String
name gd_name Custom String
parents gd_parents Custom String list
spaces gd_spaces Custom String list
iconLink gd_icon_link Custom String
hasThumbnail gd_has_thumbnail Custom String
thumbnailVersion gd_thumbnail_version Custom Long (numeric)
shared gd_shared Custom String

Comments

GoogleDrive field name Index field name Description Data type
authors _authors Default String list
commentType gd_type Custom String
createdAt _created_at Default Date
modifiedAt _last_updated_at Default Date
webViewLink _source_uri Default String
kind gd_kind Custom String
id gd_id Custom String