File
Use the File connector to upload approved documents, spreadsheets, PDFs, or exported files directly into AIvis knowledge. It has no source-system ACL to synchronize, so access is controlled entirely by the connector’s Public or Private group configuration.
Use cases
What it indexes
The File connector uploads one or more files into AIvis-managed storage and indexes each recognized file as a document. It is a load-state connector with no scheduled refresh or source system to poll.
The normal Admin flow accepts multiple files and does not apply a file-extension filter in the browser. Uploading bytes successfully therefore does not guarantee that the connector will emit an indexed document.
Prerequisites
- Prepare files with one of the supported extensions and validate that their contents match the extension.
- For encrypted PDFs, note that the normal Admin File flow creates an empty internal credential and exposes no PDF-password field. Use an unencrypted copy unless your deployment has a separate supported ingestion path.
- Ensure the file-store and indexing workers can hold and process the upload. The File upload handler does not enforce a connector-specific byte limit. The current
MAX_FILE_SIZE_BYTESindexing check only logs when a constructed document exceeds the configured value; it does not reject the upload or skip that document. - Apply deployment ingress, storage, memory, and worker limits appropriate to your environment, then test representative large PDFs, spreadsheets, images, and archives before broad use.
Credentials
Do not upload access tokens, private keys, or source-system credentials as ordinary content. A File connector indexes content; it does not use a file as an authentication credential.
Configure in AIvis
- In the Admin panel, open Connectors, select File, and enter a descriptive connector name.
- Select one or more files. A ZIP is expanded by default; include at most one ZIP in the upload.
- Review the selected file names and remove unsupported formats before creating the connector. Upload storage can accept a file that the indexing worker later skips.
- Select AIvis Private groups for restricted files. Choose Public only when every AIvis account may search every file in the connector.
- Create the connector. The UI uploads the files, creates the connector and internal empty credential, links them with the selected access, and starts one indexing run.
- To revise an existing File connector, add or remove files in its management view. At least one file must remain; additions trigger update indexing and removals trigger pruning.
Permissions
File contents and descriptive owner metadata do not create source ACLs. File is not an Auto Sync Permissions source in the current Admin access selector.
Search access is controlled only by the connector’s AIvis Private groups or Public mode. Every user with connector access can search every emitted document in that File connector. Split files into separate connectors when audiences differ.
File-management authorization is separate from search access. All three File management endpoints first require a curator or admin session. Upload proceeds after that role gate. Listing then checks connector access; updating then checks editable access. A global curator has a special update allowance for a Public File connector, but not for an unrelated Private connector. An ordinary connector user cannot list or update files through these Admin endpoints merely because the user can search the connector. These management rules do not create per-document search permissions.
Verify
- After creation, confirm the upload returns stored file names and the indexing attempt completes.
- Search a distinctive title and sentence from each supported file type in the batch.
- Confirm an unsupported-extension test file is absent even if upload storage accepted it.
- For CSV, TSV, XLSX, or XLSM, inspect the extracted table and test raw-file analysis if code-interpreter staging is part of your deployment.
- For a ZIP, compare extracted file names with the archive. Confirm hidden path entries are not indexed as documents.
- Test every assigned AIvis group and a user outside those groups.
- Add one file and remove one file from an existing connector, then verify the new document appears and the removed document is pruned.