Salesforce conceptsSalesforce Certified Agentforce SpecialistData 360
AI-201 Data 360 fundamentals: libraries and retrievers
What AI-201 asks about Data 360: how data libraries turn documents into chunks, a search index and a retriever, and the limits that trip people up.
3 min read
A data library breaks its sources into chunks, then indexes them, so search finds the right chunk instead of reading a whole document. Once you pick a library's data source, you cannot change it.
01 What does AI-201 ask about Data 360?
Chunk, index, retriever: the night before a mock, these three words can blur into one. This domain asks you to keep them apart. A data library takes unstructured or semi-structured data, such as documents or long text fields, and makes it searchable.
The domain's two objectives, and what each one asks about
- Objective 2.1: Agentforce Data LibraryWhat a library builds for you, the kinds of data it takes in, and how agents answer from it.
- Objective 2.2: chunking, indexing, retrieversHow data is split into chunks, how the index finds them, and what each library's retriever exposes.
A data library turns unstructured data into searchable information.
02 How does a document become an answer?
Think of it as a pipeline. When you save a library, Data 360 creates a data stream first, then data lake and data model objects, and maps them before building the search index.
From a saved data library to a grounded prompt
- Data streamCreated first when you save
- Data objectsLake and model objects, mapped
- Chunks and indexSmall parts, made searchable
- RetrieverReturns the relevant data
The retriever closes the loop: it returns relevant data to augment a prompt. A default retriever comes with each search index and cannot be customized, but you can build custom ones in AI Models.
Default retrievers cannot be customized; custom ones are built in AI Models.
03 Which chunking strategy applies?
Next, look at how the text gets split. In the advanced search index builder, section-aware chunking is the default for HTML and PDF files. Conversation-based chunking is for transcripts, audio and video.
In the advanced search index builder, section-aware chunking is the default for HTML and PDF.
04 Which data library limits catch people out?
Write these numbers into your notes. A file-based library takes up to 1,000 files, with PDFs up to 100 MB each. To give one agent several libraries, you first create an ensemble retriever.
To check yourself, MockCert's quiz questions are free with no account, and each answer is explained right away. MockCert is independent of Salesforce.
Several libraries for one agent means an ensemble retriever first.
Summary
- Data libraries chunk and index data so search finds the right part.
- Retrievers return relevant data to augment a prompt.
- A library's data source cannot be changed once selected.