Concept 11 of 15Act and ground AI

Unstructured data, search indexes and retrieval for AI

Bringing documents, transcripts and web content into Data 360 as UDLOs and UDMOs, chunking and embeddings, vector and hybrid search indexes, retrievers, the Agentforce Data Library shortcut, testing with Intelligent Context, and keeping retrieval permission-aware.

Your confidence:Not rated

Simple explanation

Pipeline (offline preparation)

  1. Ingest content: files (PDF, HTML, docs), knowledge articles, transcripts, web pages, files in cloud storage (some audio and video stay in place and are transcribed).
  2. Map to UDMOs (or standard DMOs for long text fields).
  3. Chunk content and create vector embeddings.
  4. Build a search index: vector (semantic) or hybrid (semantic plus keyword).

Run time (online) 5. A retriever queries the index with the user's question (plus filters). 6. Retrieved chunks are added to the prompt for the model (RAG).

Shortcuts and tools

  • Agentforce Data Library (ADL) sets up streams, mapping, index, retriever, prompt template and agent action with defaults.
  • Intelligent Context lets you test parsing and chunking interactively before building a full index.
  • Custom retrievers add filters (product, language, region) and return extra fields.

Quality levers: content hygiene, chunk size and boundaries, hybrid search for codes and part numbers, filters, and evaluation sets.

Real-world analogy

RAG is an open-book exam: instead of answering from memory, the model first looks up the right pages (retrieval) and then writes the answer using them. Indexing is putting tabs and an index in the book so the right pages are found fast.

Worked example

A manufacturer indexes 8,000 product manuals and service bulletins with hybrid search so part numbers match exactly. A custom retriever filters by product line and language; the service agent cites the bulletin it used. Intelligent Context tests showed tables in old PDFs needed a different parsing setting.

Diagram

Rendering diagram…

Key points

  • UDLO/UDMO β†’ chunk β†’ embed β†’ index β†’ retrieve β†’ prompt.
  • Hybrid search helps with codes, names and exact terms.
  • ADL for a fast start; custom retrievers for control.
  • Test parsing with Intelligent Context; evaluate with question sets.
  • Keep content current, deduplicated and governed.

Limits and gotchas

  • Unstructured processing is billed per volume processed; reindexing large corpora costs credits.
  • Retrieval must respect who may see which content; design filters and data spaces accordingly βš‘ verify permission-aware retrieval options.
  • Poor source documents produce poor answers; clean before indexing.
  • Embedding model choice constrains chunk size.

🎀 How to say this in an interview

Explain both halves (offline preparation and run time), then quality levers and access control for retrieved content.

Common follow-ups

Answers are vague and miss part numbers. What do you change?

Switch to hybrid search, tune chunking so tables and part lists stay together, add product filters to the retriever, and evaluate against a test set.

How do you stop internal-only documents reaching a customer agent?

Separate indexes or retriever filters by audience, data space separation, and tests that try to retrieve restricted content.