Unstructured Data Analysis: Providing Context For Structured Data

Summary

Summary

  • Why 90% of enterprise data is unstructured—and what that's costing your team

  • How AI-powered unstructured data analysis reveals what structured data can't

  • What it takes to analyze documents, tickets, and text alongside your core data

IN THIS ARTICLE

Like this article?

Subscribe to our newsletter to receive more educational content

PUBLISHED:

UPDATED:

Say you run an e-commerce store and ask your BI tool why jacket returns spiked. The LLM behind it goes straight to the sales tables in your warehouse, and after a quick look, comes back with an answer saying returns rose in colder regions, so it’s probably a seasonal trend. At first, the answer sounds about right. 

The catch? It never read any of your support tickets, where hundreds of customers complained the jacket runs a size small. The AI never got the context behind the numbers. 

This is the unstructured data gap. Most of the “why” behind your metrics lives in reviews, tickets, call notes, and team chats, but very little of it is organized, let alone connected to your data stack. In fact, our CDO report shows 53% of data leaders say most of their important context still lives as tribal knowledge, either in someone’s head or in a doc nobody’s opened in months.

In this guide, we’ll walk you through unstructured data analysis, its key techniques, and how to connect it to the data you already have. 

What is unstructured data?

Unstructured data analysis is the process of extracting meaningful trends, patterns, and insights from data that has no predefined schema, such as open text, audio, and documents, and turning it into structured information you can work with.

In other words, it takes the messy notes, conversations, and one-off exceptions scattered across your team’s tools and organizes them into structured fields, so your AI analytics tool can query, join, and analyze them alongside the rest of your data.

On paper, making unstructured data usable sounds like a modeling problem, but in practice it’s far more complicated. When an LLM labels a review as positive or negative, or summarizes a long Slack thread, there’s no simple way to check its output against a source of truth. As a result, it can return a confident answer that’s wrong, and nobody notices until a decision has already been made. 

To close the gap, unstructured data analysis needs a disciplined approach with verification built in at every level, from processing to analysis. 

Structured vs. unstructured data analysis: what’s the difference?

Both approaches aim to answer business questions, but they work with very different raw materials. Here’s how they compare:


Structured data analysis

Unstructured data analysis

Data format

Predefined schema with typed fields in rows and columns

No predefined schema, such as free-form text, audio, images, and documents. The files usually have a format, but the content has no fixed fields. 

Common sources

Sales records, CRM data, inventory systems, financial reports, and spreadsheets

Customer reviews, support tickets, emails, Slack messages, and call recordings

How it’s analyzed

SQL queries, aggregations, and BI dashboards

NLP, LLMs, embeddings, and semantic extraction

Data preparation required

Cleaning, deduplication, and modeling before data is ready to query

Text extraction, OCR, transcription, and chunking, followed by extraction into structured fields before analysis

Storage

Data warehouses and relational databases

Object storage, data lakes, document stores, and SaaS tools like helpdesks and Slack, with embeddings often indexed in vector databases

Core techniques

Aggregation, cohort analysis, regression, and forecasting

Named entity recognition (NER), sentiment classification, topic modeling, and summarization, increasingly handled by LLMs

Output

Exact, repeatable results. The same query returns the same answer

Probabilistic results. The labels and summaries can vary by model, prompt, or run

What techniques are used to analyze unstructured data?

  1. Feature extraction

Before generative AI, computers couldn’t understand natural language, so they analyzed unstructured data with statistics and rules instead. The most common technique was feature extraction, which converts raw data into machine-readable numbers.

For text, the process usually started by counting how often each word appeared. The technique ignored grammar, word order, and context, so it measured frequency without any sense of what the words meant together.

Companies used these counts for keyword searches, word clouds, and basic pattern spotting. A sales leader, for example, might track which objections came up most often on calls, while a retail manager might estimate sentiment across customer reviews.

These methods were easy to set up and cheaper to run, making them efficient for turning unstructured data into numbers that traditional BI tools could handle. The tradeoff was depth. Word counts miss nuance, so “runs small,” “tight in the shoulders,” and “had to size up” look like three unrelated issues, even though they all point to the same fit problem.  

Feature extraction in enterprise analytics 

Let's expand on the retail manager example. Imagine that we have three reviews for a specific T-shirt on an e-commerce site as follows:

  • Review A: “The fabric is soft.”

  • Review B: “The fabric is not itchy.”

  • Review C: “Nice color and not itchy at all.”

In BoW, a list of all unique words across all reviews is created:

['The', 'fabric', 'is', 'soft', 'not', 'itchy', 'nice', 'color', 'and', 'at', 'all']

Then, the model counts how many times each word appears in each review:

Review

'The'

'fabric'

'is'

'soft'

'not'

'itchy'

'nice'

Review A 

1

1

1

1

0

0

0

Review B 

1

1

1

0

1

1

0

Review C 

0

0

0

0

1

1

1

SUM

2

2

2

1

2

2

1

In short, feature extraction can measure text, but it can’t understand it. When these counts feed into predictive models, the mistakes carry through. A model trained on miscounted words learns the wrong patterns, so positive reviews get labeled as negative, and a single issue like poor fit gets split into several smaller ones. Any analysis built on that model inherits the same errors, which means your team can end up acting on a problem that’s completely different than it really is. 

How unstructured images and audio were analyzed

Before modern neural networks, a similar limitation existed for images and video. These legacy unstructured image analysis systems rely heavily on manually engineered features, like principal component analysis (PCA) to identify objects and count how many times they appear in a set of photos or audio files. Using these methods for visual analysis, engineers must explicitly define which features a model should look for, such as edges, corners, or specific geometric shapes. To detect a car, for instance, the system might search for circular features representing wheels and rectangular patterns representing the body. These handcrafted features are then passed into downstream models as the basis for classification. 

This approach to analyzing unstructured images and audio data sources is extremely brittle. A slight distortion in lighting, perspective, orientation or audio quality can alter the extracted features, leading the system to fail. Because the machine can not truly see or understand the object, it simply checks if the predefined features are present. As a result, feature engineering becomes a bottleneck, making it difficult to build scalable and robust unstructured analysis systems for diverse, real-world enterprise environments. For example, in high-quality manufacturing, a major challenge is that defects are rare, leaving edge cases underrepresented in training data. This data scarcity results in either overfitting to the limited set of defects or underperforming when encountering new types of anomalies. GenAI can overcome data scarcity by generating synthetic defect images.  

  1. Semantic embedding 

Pre-GenAI approaches treated unstructured data as a feature engineering problem. Engineers manually designed features like TF-IDF scores, n-grams, and word counts, and statistical models learned from those. Agentic analytics shifts this manual work to large neural networks.

Now, large language models (LLMs) are able to autonomously learn representations during pretraining, freeing engineers to focus on composing the right context through retrieval, prompts, and tools. This AI context is critical to ensuring the model can perform inference over the relevant information. 

Modern unstructured data analysis runs on four components: dense embeddings, hybrid retrieval, rerankers, and LLMs. Together, they make up a retrieval-augmented generation (RAG) pipeline, which lets you analyze unstructured data at scale while keeping every answer traceable to its source. 

Analyzing unstructured data in the GenAI era

First, multimodal embedding models convert unstructured data into vectors, which are numerical representations that capture the semantic meaning of the underlying content. The vectors are then stored in a vector database, allowing the system to search by meaning instead of just matching keywords.

Transforming unstructured data into embedding vectors

Second, the retrieval of these vectors is done using a hybrid strategy. Vector search retrieves semantically similar vectors, while sparse search (e.g., BM25 or keyword-based search) captures exact key term matches. Combining both methods ensures high accuracy of retrieval — semantic similarity prevents missing contextually related results, and keyword search ensures precision when specific terms matter. In enterprise systems, this retrieval step often runs multiple times, reformulating the query to maximize coverage.

Third, a reranker model often evaluates the retrieved data to identify the most semantically similar and useful results. Unlike retrieval in the previous step, which relied on vector similarity scores alone, the reranker reads the query and each retrieved item together, allowing it to deeply assess their relationship. It analyzes how well the meaning of the information aligns with the intent of the query and assigns a refined relevance score. By reranking the retrieved information, only the most contextually appropriate vectors and filters are built into the analysis. This significantly improves the relevance of unstructured data before passing it to the final reasoning model. 

Finally, the LLM synthesizes an answer based on the provided information. 

The hybrid retrieval process, combining vector and keyword search for highly accurate results

Instead of generating responses from general training data, the model is grounded in content from the hybrid retrieval process. This reduces hallucinations and enables citations, making outputs explainable, which is a non-negotiable requirement in real-world enterprise systems.

How to do unstructured data analysis using RAG

Here’s a real-world scenario of how a merchandiser might analyze unstructured customer reviews using a modern RAG-driven system:

The customer reviews are first converted into dense vector embeddings and stored in a vector database. When someone asks, “What are customers saying about the fit and fabric of X product?” the system does not rely on simple word matching. Instead, it performs hybrid retrieval to find reviews that align with the query. 

First, the question itself is transformed into a dense embedding using the same embedding model that was used to vectorize all customer reviews. This query vector represents the intent behind the question — not just words like “fit” and “fabric” but related concepts such as sizing accuracy, tightness, looseness, comfort, material quality, softness, thickness, breathability, and texture. The vector database then performs semantic retrieval to find the reviews whose embeddings are closest or similar to the query embedding.

At the same time, another retrieval method, usually based on a classical bag-of-words algorithm like TF-IDF, runs in parallel to capture exact term matches. This hybrid retrieval strategy ensures both contextual understanding and precision. Reviews mentioning specific phrases like “runs small,” “tight around the shoulders” or “material feels soft but thin” are retrieved, even if they do not explicitly use the words in the original query. 

Next, a reranker model evaluates the retrieved reviews by reading each review together with the original question. The reranker deeply assesses how well each review aligns with the user’s intent and assigns refined relevance scores. Weak or loosely related matches are filtered out, and the most contextually appropriate reviews are promoted.

Finally, only the highest-quality reviews are passed to the LLM, which is then asked to perform a structured analysis. The LLM model can be instructed to extract specific aspects (such as fabric and fit), determine the sentiment associated with each aspect, and return structured output, including references to the original review IDs for full traceability. 

The output is clear and easy to understand. For example:

  • Fabric: Positive (based on reviews R1 and R3)

  • Fit/sizing: Negative (based on review R2)

Each insight is directly backed by real customer reviews, so you can clearly see what customers liked or disliked and exactly which feedback supports that conclusion.

How LLMs generate structure from unstructured data

Let's consider the merchandising manager reviews example again:

“The material feels premium, but it runs small around the shoulders.”

On its own, this is qualitative feedback. But when processed by an LLM with structured extraction instructions, it can be converted into an analyzable dataset. The information from this unstructured review above can be stored in a structured table, as follows:

Review_ID

Product_ID

Aspect

Sentiment

Evidence_Text

R4012

JKT-8871

Fabric

Positive

“Material feels premium”

R4012

JKT-8871

Fit

Negative

“Runs small around the shoulders”

When scaled across thousands of reviews, this data becomes a structured sentiment table. Analysts can now compute the percentage of each sentiment by product, find correlation between complaints and return rates, and unlock sentiment trends before and after design updates.

How do you analyze semi-structured data?

Your data estate is wide, and not everything fits neatly into structured or unstructured. Take legal contracts, financial statements, and medical records. They’re mostly written in text, but they also follow a recognizable layout, with labeled sections, dates, amounts, and IDs that give the surrounding words context.

This middle ground is called semi-structured data. It doesn’t follow the fixed rows and columns of a database table, but still uses labels, tags, or fields to give the data some structure. As a result, every semi-structured record has two parts: the structured fields and the free text. Analyzing them means handling each part on its own terms before combining them into a single view.

Analyzing semi-structured data in 3 steps: 

Take this ticket, exported from a helpdesk as JSON:

{

  "ticket_id": "T-20931",

  "customer_id": "C-5512",

  "order_id": "48213",

  "created_at": "2026-10-14",

  "channel": "email",

  "description": "Ordered the medium in navy, but it fits like a small. Second jacket with this issue. Sending it back."

}
{

  "ticket_id": "T-20931",

  "customer_id": "C-5512",

  "order_id": "48213",

  "created_at": "2026-10-14",

  "channel": "email",

  "description": "Ordered the medium in navy, but it fits like a small. Second jacket with this issue. Sending it back."

}
{

  "ticket_id": "T-20931",

  "customer_id": "C-5512",

  "order_id": "48213",

  "created_at": "2026-10-14",

  "channel": "email",

  "description": "Ordered the medium in navy, but it fits like a small. Second jacket with this issue. Sending it back."

}
{

  "ticket_id": "T-20931",

  "customer_id": "C-5512",

  "order_id": "48213",

  "created_at": "2026-10-14",

  "channel": "email",

  "description": "Ordered the medium in navy, but it fits like a small. Second jacket with this issue. Sending it back."

}

Step 1: Parse the structured fields

Fields like ticket_id, customer_id, order_id, and created_at are extracted into regular columns. Most modern warehouses, including Snowflake, BigQuery, and Databricks, can store JSON natively and query nested fields directly with SQL, so this step often needs no custom code.

Step 2: Extract meaning from the free-text fields

The description field goes through the same LLM extraction process covered earlier, which returns details like issue type, sentiment, and whether it’s a repeat problem, each tied back to the exact phrase it came from.

Step 3: Recombine and join

The parsed fields and extracted fields are stored together as one row, then joined to your other tables through the keys the record already carries:

ticket_id

customer_id

order_id

created_at

channel

description

T-20931

C-5512

48213

2026-10-14

email

Ordered the medium in navy, but it fits like a small. Second jacket with this issue. Sending it back.

Because the order_id came with the ticket, there’s no guesswork in linking the complaint to the returns table. It’s the main advantage of semi-structured data. Purely unstructured sources, like a Slack thread or a call recording, often need extra work to match a comment to the right customer or order, while semi-structured records arrive with those connections built in.

One thing to watch for is schema drift. Semi-structured sources change as tools add, rename, or drop fields over time. If a helpdesk update starts calling a field order_number instead of order_id, any pipeline expecting the old name can break silently. Validating incoming fields and flagging unexpected changes helps keep your joins reliable. 

Make unstructured data your competitive advantage

Most of the data stack is now a commodity. Anyone can sign up for the same AI models, cloud warehouses, and BI tools, so owning them won’t set you apart.

Unstructured data is different because it’s specific to your business. Your support tickets capture how your customers actually feel, contracts record the terms you’ve negotiated, and team chats preserve years of decisions, exceptions, and hard-won lessons no competitor can replicate.

WisdomAI turns that untapped knowledge into something your agents can actually use. Instead of asking you to rebuild your stack, it connects to the stack you already have, pulls your unstructured data into the same analysis as your warehouse, and gives your agents the enterprise context they need to answer correctly.  

Here’s how we put your unstructured data to work:

Federation across every source

WisdomAI queries your data where it lives, so nothing gets copied into a central store. This reach extends well beyond your warehouse tables to the contracts, tickets, and transcripts that hold the context behind most of your metrics. 

Because every query goes straight to the source, agents always work with the latest data, and the decisions built on it reflect what’s true today. Your data teams save time as well. There are fewer pipelines to build and fewer duplicate copies to maintain, allowing you to connect your data and start answering questions within days.

WisdomAI's queries your data where it lives

An enterprise context layer for accurate answers

WisdomAI's Context Layer captures the business meaning AI can’t learn from raw tables alone. It holds not only your data context but also the operational knowledge behind it, like constraints and exceptions. Your security and governance rules live there too, so every query respects who can access what and every answer is grounded in how business actually works.

Most of this knowledge already exists somewhere in your stack, in dbt models, data dictionaries, documents, and query logs. WisdomAI reads through those sources and proposes table and column descriptions, metric definitions, join logic, business context rules, and example question-to-SQL pairs for your data team to review and approve. From there, the context is versioned and kept current, with every correction your team makes feeding back in.

As a result, when someone asks a question, the LLM draws on the relevant context and returns answers that are accurate and efficient.

WisdomAI's enterprise context layer

Analytics Harness to reduce ambiguity

The Analytics Harness sits between the model and your data, guiding and validating every answer AI produces. When you ask a KPI question, it checks the right sources, pulls in the relevant context, and optimizes the path the model takes, so the answer stays consistent no matter who asks or which tool they use.

Ambiguous terms get the same treatment. The harness applies the governed definition that fits the question. If no clear definition exists or two sources conflict, it flags the issue for your data team to review rather than letting the model guess. The result is answers your business can trust, consistent across every tool, without your team having to debug them by hand.

Resolving unclear/ambigious terms with Analytics Harness

At WisdomAI, we’re tackling some of the hardest problems in analytics, from the agent harness to context architecture, and unstructured data analysis is a big part of that work. Whether your challenge is accuracy, messy definitions, scattered sources, or getting AI answers your team can trust, chances are we’ve already helped a team like yours work through it.

Get a demo and see the difference yourself. 

Frequently asked questions 

How do you handle unstructured data?

The most practical approach is to start with the unstructured sources that best explain your metrics, like support tickets, contracts, or call transcripts. An LLM can turn the key details into structured fields, which you can then analyze in your BI tools alongside your warehouse data. To keep the analysis accurate, pair it with a context layer that ties everything back to your business definitions and an Analytics Harness that checks and verifies answers before your team relies on them. 

Which tools can help you with unstructured data analysis?

It depends on your data, your stack, and how much your team wants to build in-house, but most setups rely on the same core toolkit. Document parsing tools like Unstructured and LlamaParse pull text out of Word files, PDFs, and emails and split it into smaller chunks. Embedding models then turn those chunks into vectors, which vector databases store so content can be searched by meaning instead of keywords. Finally, a BI or analytics tool lets you analyze the results alongside your structured data. 

What are examples of unstructured data in business?

Unstructured data is any information that doesn’t fit into rows and columns. Common examples include customer reviews, contracts, sales call transcripts, emails, Slack threads, wiki pages, meeting notes, and operations manuals. This data often holds the reasons behind your metrics, which is why analyzing them matters for analytics.

Can generative AI analyze unstructured data?

Yes. Generative AI can read documents, tickets, and transcripts and understand meaning and context in a way older methods like keyword counts never could. The challenge is accuracy. A model can misread a term, call the wrong tools, or fill gaps with confident guesses. To get answers you can trust, Generative AI needs to be grounded in your actual data and enterprise context, with a check in place to verify each answer against its sources.