On this page
Upload files and build a knowledge base
Add files and folders to a chat, project or agent, choose Express or Precision processing, import from connectors, and fix files that fail to index.
This page shows how to add files and databases for Generate to answer from, import them from your connectors, and fix a file that is not searchable.
The knowledge base is the set of files and databases Generate searches when it answers in a chat, a project or an agent. Upload a contract, a report or a spreadsheet once, and every chat that can reach it answers from it and cites the passage it used.
When you add a file, Generate extracts its text, splits it into passages and indexes them for search. A file is searchable once processing finishes; until then, answers may miss it. How carefully Generate reads the file depends on the processing mode you pick, and whether it keeps the original depends on Preserve original file. In a project or agent, the knowledge panel lists each file with a lightning mark for Express or a target mark for Precision; hover the mark to see which mode it was uploaded in. A green file mark beside it means the original was preserved.
Upload files
Section titled “Upload files”Add files or a folder to a chat, a project or an agent.
-
Open the upload window
In a project, select Add Files at the bottom of the Knowledge panel; in an agent, open Knowledge; in a chat, select +, then Add files. Add files to Generate opens.
Open full sizeShown in the enterprise edition. -
Set the processing mode
Where the window offers Processing mode (projects and agents), choose Express or Precision. Processing modes says which to use.
-
Choose whether to preserve the original
Set Preserve original file. Choose Yes to keep the original so agents can edit, redline or change it later, and so you can download it. Choose No if Generate only needs to read it.
-
Add the files
Drag files onto the window, or select Choose files. In a project or agent you can also select Choose a folder; the folder uploads with its structure.
-
Wait for processing
Wait for processing to finish. A file that is still processing may not be fully searchable yet.
The limits are in Upload limits.
Import from your connectors
Section titled “Import from your connectors”Bring files in from a cloud app you connected, and keep them linked to it.
-
Pick a source
In Add files to Generate, select a connected source under Add files from your connectors, such as Google Drive, SharePoint, OneDrive, Dropbox or Microsoft Teams. A source you have not connected shows Connect; select it and sign in first.
-
Tick the files
In Select files, open folders and tick the files you want, or search with Search files and folders…. Unsupported file types cannot be ticked. Clear selection unticks everything.
Open full sizeShown in the enterprise edition. -
Review and import
Select Next, check the list in Review & import, then select Import.
An imported file stays linked to its source:
- Open its menu and select Sync from cloud to fetch the latest version. Generate tells you if the file was already up to date.
- If the file was deleted at the source, Generate asks whether to Keep locally or Delete it.
- If you restored it from the trash at the source, select Check if restored to sync it again.
Manage files
Section titled “Manage files”Rename, reclassify, download, move or delete a file.
-
Open the file’s menu
In the Knowledge panel, select the three dots (File actions) beside a file.
Open full sizeShown in the enterprise edition. -
Choose an action
Select the action you want; File actions says what each one does.
To organize a long list, select New folder, give it a Folder name and select Create; folders have their own Folder actions to rename or delete them. Deleting a folder permanently removes its files and their indexed content. To find a file, type in Search files, change the order with Sort, or open the filter button for Date added, File type and File size, then Apply filters.
Fix a file that is not searchable
Section titled “Fix a file that is not searchable”Read the file’s status, then take the action File statuses gives for it.
-
Read the status
Find the file in the Knowledge panel and read its status, such as Partly searchable or Not searchable.
-
Take the matching action
Select Re-index file, Re-extract with precision mode or Retry processing, whichever the status calls for, or replace a file that cannot be fixed.
Add a database
Section titled “Add a database”Select Add database in a chat, project or agent to let Generate answer from tables with SQL. Answers show the query and the matching rows. In a project, the Databases tab of the Knowledge panel lists them. Connecting a database is covered in Databases; on an airgapped site the cloud warehouses (Redshift, BigQuery, Snowflake and Athena) are not offered.
Where files live
Section titled “Where files live”| Where you add them | Who can use them |
|---|---|
| A chat | That chat only. They are deleted with the chat. A chat holds up to 20 files and no folders. |
| A project, under Knowledge | Every chat in the project and everyone the project is shared with. They do not appear in your other projects or personal chats. |
| An agent, under Knowledge | Every conversation with that agent. |
In a project, the tick beside each file decides whether the next chat you start there searches it. Untick a file to leave it out, or use Select all files to put every file back.
Processing modes
Section titled “Processing modes”| Mode | What it does |
|---|---|
| Express | Extracts the text quickly. Use it for plain documents you only need to search or summarize. It may skip layout, tables, figures and precise citations. |
| Precision | Analyzes each document in depth, keeping layout, tables and figures, so answers can cite the exact place in the file. Use it for PDFs, slides, contracts, reports and anything with tables. |
Upload limits
Section titled “Upload limits”| Limit | Value |
|---|---|
| Types | PDF, DOC and DOCX, PPT and PPTX, XLS and XLSX, CSV, TXT, MD, PNG, JPG and JPEG, WEBP and SVG. Other types are refused and named. |
| Size per file | Under 200 MB, unless your administrator changed the limit. A larger file is refused with is too large. |
| Files per chat | 20. |
| Folders | In projects and agents only. Unsupported files inside a folder are skipped, and Generate says how many. |
File actions
Section titled “File actions”| Action | What it does |
|---|---|
| Edit name | Renames the file. |
| Reclassify | Classifies it again, where your administrator has turned on classification. |
| Download | Saves the original. It is greyed out when the original was not preserved. |
| Move to | Moves it into another folder. |
| Delete | Removes the file and its indexed content. |
File statuses
Section titled “File statuses”A file’s status tells you whether Generate can answer from it.
| Status | What to do |
|---|---|
| Processing or queued | Wait; it becomes searchable when done. |
| Partly searchable | Some of it reached the index. You can still tick it, and answers use the part that was indexed, so they may be incomplete. Select Re-index file to restore the rest. |
| Not searchable | Nothing searchable was found. Select Re-extract with precision mode for scanned or layout-heavy files, or Re-index file. |
| Failed or cancelled | Select Retry processing. |
| Damaged or unsupported | The file cannot be fixed by retrying. Replace it with a readable copy. |
| File expired | It was removed because of storage limits. Upload it again. |
How editions differ
Section titled “How editions differ”| Edition | What changes |
|---|---|
| Enterprise, consumer | Everything on this page. |
| Storage | Project editors whose teams have the privilege can also attach a network file share with Add network share. Its files stay on the share. |
| Healthcare | Projects and agents also have Add healthcare data for the site’s data feeds. |
| Airgapped | No import from connectors and no cloud data warehouses. |
Last updated on