- Direct files are previewed in the model context. Files attached to a chat stay on the direct preview path. For Agent knowledge, the 20 document threshold counts documents attached to the Agent. Files added to a chat message do not count toward that threshold.
- With more than 20 Agent knowledge documents, text documents remain available through file lists and file tools, while spreadsheets remain available for direct reading. Synced folder text can also use semantic search.
- AI models have a context window, which is the limit of how much text can be processed at once. For long documents or a large number of documents, the documents are split into chunks and semantic search retrieves only the most relevant sections, which are then sent to the model in the context window. This is used in Knowledge bases.
FAQ
How does a file attachment work and how is it different from a Knowledge base?
Understand the difference between direct file attachments and Knowledge bases, including how each processes documents for AI responses.
There are two ways how contents of a file are processed for generating an answer: