1. Overview#
The Search Block allows you to fetch information from documents to make it available to AI. It creates a temporary data source available during publication creation.The principle of this block is to fetch document excerpts based on a question.For example, to the question "What services are offered?" the Search Block will fetch excerpts from the document that mention the offered services and return them as is.š Reference Integration: You will use the Search Block by nesting it in AI blocks so that AI can rely on these excerpts. This provides dynamic, relevant, and adapted reference elements.
Complete workflow understanding#
Before manipulating the Search Block, it's important to understand its overall functioning.1
š File upload setup
First, a "File Upload" step in the Wizard will allow the App User to add files. These files will be associated with a File Attribute.
2
š¤ File transmission
These files will be transmitted to the Search Block through the File Attribute when the Search Block is executed.
3
āļø Processing time
The Search Block will take from a few seconds to several minutes to divide these files into chunks and store them.
4
š Search availability
From this point, files are available for search by this Search Block and all those using the same File Attribute during the publication journey.
5
š¤ AI integration
By executing AI Blocks that are parents of Search Blocks during the Wizard, the Search Blocks will return excerpts for the AI to rely on and generate its content.