{"slug": "bring-structured-and-unstructured-data-together-with-amazon-quick", "title": "Bring structured and unstructured data together with Amazon Quick", "summary": "Amazon Web Services published a walkthrough showing how Amazon Quick combines structured data, connected through enriched datasets, and unstructured data, connected through S3-backed knowledge bases, so a single conversational AI agent can query both and return combined answers with citations. The setup uses a three-layer architecture: a data layer with Amazon S3 documents indexed into a knowledge base and datasets with semantic descriptions that the agent translates into SQL, a workspace layer where a Space references both sources, and an agent layer where a custom chat agent links to the Space and applies built-in AI guardrails such as content safety screening. Following the walkthrough requires an Amazon Quick account with an Enterprise subscription, since creating datasets requires Enterprise, plus an S3 bucket and administrator-granted read-only access to it.", "body_md": "## [Artificial Intelligence](https://aws.amazon.com/blogs/machine-learning/)\n\n# Bring structured and unstructured data together with Amazon Quick\n\nOrganizations collect data in many forms. Structured data lives in databases and spreadsheets, whereas unstructured data sits in documents, reports, and files stored across file systems. Analyzing both together typically requires switching between multiple tools, running separate queries, and manually correlating results.\n\n[Amazon Quick](https://docs.aws.amazon.com/quick/latest/userguide/welcome.html) addresses this with a unified experience. You can connect structured data through [enriched datasets](https://docs.aws.amazon.com/quick/latest/userguide/working-with-datasets.html) and unstructured data through [S3-backed knowledge bases](https://docs.aws.amazon.com/quick/latest/userguide/s3-integration.html). You can then query both through a single conversational AI agent.\n\nIn this post, you learn how to:\n\n- Connect Amazon Simple Storage Service (Amazon S3) as a data source and create a knowledge base.\n- Build a Space that combines structured and unstructured data.\n- Create and configure a custom chat agent that queries across both data types.\n- Ask questions that span structured and unstructured sources in a single conversation.\n\n## Solution architecture\n\nThe following diagram illustrates how each component connects to deliver a unified data experience through Amazon Quick.\n\nThe architecture has three layers:\n\n- **Data layer:** Your data exists in two forms. Unstructured content (documents, PDFs, reports) is stored in Amazon S3 and indexed through a knowledge base. Structured data (metrics, sales figures, and operational key performance indicators) is loaded as enriched datasets with semantic descriptions that the agent uses to translate questions into SQL.\n- **Workspace layer:** A Space brings both data types together into a single workspace. The Space references your knowledge base for unstructured queries and your datasets for structured queries. It can also include dashboards, file uploads, and action connectors. This is the layer where data from different sources converges into a unified context.\n- **Agent layer:** The custom chat agent links to the Space and uses it as its knowledge source. When a user asks a question, the agent determines whether to query the knowledge base, the dataset, or both, and returns a combined response with citations. Amazon Quick also applies built-in[AI guardrails](https://docs.aws.amazon.com/quick/latest/userguide/guardrails.html) , such as content safety screening, to chat interactions.\n\nWith this layered approach, you can expand the solution over time. When you add a new data source to the Space, the agent linked to that Space can use it, and responses respect the permissions of the user who asks.\n\n## Prerequisites\n\nTo follow along with this walkthrough, you need:\n\n- An Amazon Quick account with an Enterprise subscription for the user who follows this walkthrough (creating datasets requires Enterprise). For details, see [Amazon Quick pricing](https://aws.amazon.com/quick/pricing/) .\n- An Amazon S3 bucket for your business documents. To create one, see the [Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html) .\n- [Amazon Quick access to your S3 bucket](https://docs.aws.amazon.com/quick/latest/userguide/s3-admin-setup.html#s3-grant-bucket-access) , granted by an Amazon Quick administrator. In the admin console, the administrator chooses Permissions, then AWS resources, selects Amazon S3, and chooses Select S3 buckets. Selected buckets have read-only permissions by default.\n- Permissions to create integrations, knowledge bases, datasets, spaces, and chat agents in Amazon Quick.\n\n## Prepare your sample data\n\nThis walkthrough uses two types of data:\n\n**Unstructured documents:** Upload these to your Amazon S3 bucket for the knowledge base:\n\n- [AnyCompany_Business_Review.pdf](https://aws-blogs-artifacts-public.s3.us-east-1.amazonaws.com/BI-7992/AnyCompany_Business_Review.pdf)\n- [AnyCompany_Market_Analysis_Report.pdf](https://aws-blogs-artifacts-public.s3.us-east-1.amazonaws.com/BI-7992/AnyCompany_Market_Analysis_Report.pdf)\n- [AnyCompany_Product_Strategy_Memo.pdf](https://aws-blogs-artifacts-public.s3.us-east-1.amazonaws.com/BI-7992/AnyCompany_Product_Strategy_Memo.pdf)\n\n**Structured data:** Download this file to your computer. You upload it directly to Amazon Quick in Step 3:\n\n## Step 1: Create an Amazon S3 integration\n\nStart by connecting Amazon Quick to your S3 bucket. From the Amazon Quick console, select **Knowledge** in the left navigation panel.\n\nThe knowledge page shows available connector types, including Amazon Q Business, Web Crawler, Amazon S3, and third-party options like Google Drive, OneDrive, and Microsoft SharePoint.\n\nUnder Amazon S3, choose **Add**. In the Create S3 knowledge base dialog, on the Connect S3 bucket page, provide the following details:\n\n- **Name:** A descriptive name for your integration (for example, “My Data Access Integration”).\n- **S3 bucket location:** Choose**Quick Suite instance account** to use a bucket in the same AWS account as Amazon Quick, or**Other AWS account** for a bucket in a different account.\n- **S3 bucket URL:** The S3 URI of the bucket containing your data. The bucket must be in the same Region as Amazon Quick.\n\nChoose **Next**.\n\n## Step 2: Create a knowledge base\n\nAfter the S3 integration is created, Amazon Quick prompts you to create a knowledge base. The knowledge base indexes your S3 content for AI-powered search.\n\nConfigure the knowledge base:\n\n- **Name:** “Business Knowledge Base”.\n- **Description (optional):** Notes about how the knowledge base will be used.\n- **Content:** Select “Add all content” to index everything in the connected S3 bucket, or “Add specific content” to specify the S3 prefixes for the folders and files to include (prefix filters are case-sensitive).\n\n**Next:** Additional settings opens optional settings for document-level access control lists (ACLs) and a metadata files folder. Decide whether to use ACLs before you create the knowledge base, because you can’t change that choice later. This walkthrough uses sample data, so the default settings are sufficient. For details, see [Set up and manage Amazon S3 integration](https://docs.aws.amazon.com/quick/latest/userguide/s3-setup-manage.html).\n\nChoose **Create**. A success banner confirms the S3 integration, and the knowledge base begins indexing in the background.\n\n## Step 3: Create and enrich a dataset\n\nA [dataset](https://docs.aws.amazon.com/quick/latest/userguide/working-with-datasets.html) is your structured data file loaded into Amazon Quick. By enriching the dataset with semantic descriptions, custom instructions, and correct data types, the AI agent can interpret your data more accurately. It can then translate natural language questions into SQL queries.\n\n### Create the dataset\n\n1. From the Amazon Quick home page, navigate to **Data** in the left navigation.\n2. Choose **Create dataset** , then select**Upload file** .\n3. Select the **Product_Sales.csv** file you downloaded earlier and choose**Open** .\n4. On the confirmation screen, review the column names and data types. Choose **Next** to create the dataset.\n\nAmazon Quick ingests the file into SPICE (the in-memory calculation engine) and the dataset appears in your dataset list.\n\nThe dataset takes its name from the uploaded file, so it appears as Product_Sales.csv in your account.\n\n### Enrich the dataset\n\nEnriching your dataset with semantic information helps the AI understand your data in business context. The agent uses this context to translate natural language questions into more accurate SQL queries. From the dataset page, choose **Edit dataset** to enter the data preparation view.\n\n### Transform: Fix data types\n\nIn the **Transform** tab, update data types for columns that were auto-detected incorrectly. For this dataset:\n\n- Change **Order Date** and**Date Key** from String to Date.\n- Change **Customer ID** from String to Integer.\n- Change **Sales** ,**Discount** , and**Profit** from String to Decimal.\n- Change **Quantity** and**Unit Price** from String to Integer.\n\n### Output: Add semantic context\n\nSelect the **Output** tab to access the dataset-level enrichment fields. Here you provide context that helps the AI understand what your data represents and how to use it.\n\n**Description:** Add a dataset-level description:\n\n“Product sales transaction data for AnyCompany, covering orders from FY2024-FY2025 across North America, EMEA, Asia Pacific, and Latin America. Includes order details, customer information, product lines, and revenue metrics.”\n\n**Custom instructions:** Add guidance for how the AI should query this data:\n\n**USAGE GUIDELINES:**\n\n- Revenue values are in USD.\n- When comparing performance, group by Region (North America, EMEA, Asia Pacific, Latin America).\n- Order Date should be used for time-based trend analysis. The fiscal year matches the calendar year.\n- Date Key is a numeric YYYYMMDD representation of Order Date.\n- Sales = Quantity x Unit Price x (1 – Discount)\n\n**COMMON USE CASES:**\n\n- Regional sales performance comparison.\n- Product line revenue analysis.\n- Quarterly trend identification.\n- Customer segmentation by industry and segment.\n\n**TAGS:** Sales, revenue, orders, regional performance, product analytics\n\n**Column descriptions:** Select each column in the left panel and add a description. For example:\n\n- Order ID: “Unique identifier for each sales transaction (format: `REGION-YYYY-NNNNNN` )”\n- Region: “Geographic sales region: North America, EMEA, Asia Pacific, or Latin America”\n- Product: “AnyCompany product name: Analytics Pro, Connect, Automate, AI Assistant, Data Catalog, or Integration Hub”\n- Sales: “Order revenue in USD after discount”\n- Segment: “Customer size segment: Enterprise, Mid-Market, or SMB”\n\nChoose **Save & publish** to save your changes. The dataset summary now shows the columns with their correct data types and the descriptions you added.\n\nThis enriched dataset provides the structured data layer for your solution. When the agent receives a natural language question about sales data, it uses these descriptions and instructions to generate more accurate SQL queries. Combined with the knowledge base from Step 2, you now have both structured and unstructured data ready to bring together in a Space.\n\n## Step 4: Create a Space\n\n[Spaces](https://docs.aws.amazon.com/quick/latest/userguide/working-with-spaces.html) in Amazon Quick act as unified data workspaces. A Space can hold file uploads, dashboards, knowledge bases, actions, and datasets, giving your chat agent a single location to query across data types.\n\nFrom the left navigation, select **Spaces** and create a new Space. Name it “Business Intelligence Hub”.\n\nAdd your knowledge base and dataset to the Space:\n\n1. Choose **Add knowledge** and select**Knowledge bases** from the list. Select “Business Knowledge Base” from the list.\n2. Choose **Add knowledge** again and select**Datasets** from the list. Select “Product_Sales.csv” from the list.\n\nThe Space now shows both your knowledge base (unstructured documents) and your enriched dataset (structured sales data) linked as data sources. This is the central hub where both data types come together, giving your chat agent a single place to query across everything. Figure 7 shows the Space with both resources in the Ready state.\n\n## Step 5: Create a custom chat agent\n\nNavigate to **Chat agents** in the left navigation and choose **Create chat agent**. Amazon Quick presents a prompt builder where you can describe your agent in natural language or choose from templates like Training Guide, Project Coordinator, and Onboarding Helper.\n\nFor this walkthrough, choose **Skip** to configure the agent manually.\n\n### Configure the agent persona\n\nThe configuration panel has several sections. Start with the Agent Persona:\n\n- **Agent identity:** “Business Intelligence Assistant”\n- **Description:** “An AI assistant that breaks down information silos by analyzing business data from your knowledge base”\n\nFor Agent Persona instructions, enter:", "url": "https://wpnews.pro/news/bring-structured-and-unstructured-data-together-with-amazon-quick", "canonical_source": "https://aws.amazon.com/blogs/machine-learning/bring-structured-and-unstructured-data-together-with-amazon-quick/", "published_at": "2026-11-03 16:49:29+00:00", "updated_at": "2026-11-03 16:49:47.115770+00:00", "lang": "en", "topics": ["ai-agents", "ai-products", "artificial-intelligence", "ai-tools"], "entities": ["Amazon Quick", "Amazon Web Services", "Amazon S3", "AnyCompany_Business_Review.pdf"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/bring-structured-and-unstructured-data-together-with-amazon-quick", "markdown": "https://wpnews.pro/news/bring-structured-and-unstructured-data-together-with-amazon-quick.md", "text": "https://wpnews.pro/news/bring-structured-and-unstructured-data-together-with-amazon-quick.txt", "jsonld": "https://wpnews.pro/news/bring-structured-and-unstructured-data-together-with-amazon-quick.jsonld"}}