Skip to main content

Files and documents

Keep your files in LocalAI, make Office documents, search your documents by meaning and undo a change. To run code on your files, see Sandbox.

  • Files and shared folders

    Keep your files in LocalAI, share folders with other people, and use the files in a chat.

  • Files API and reference

    Keep files and folders, search inside documents, unpack archives, set folder rules and share folders, with the routes.

  • Office documents

    Make and read Word, Excel, PowerPoint and PDF files from a chat with the Simple Office or Sandbox add-on.

  • Knowledge (collections)

    Knowledge collections: upload documents, search them by meaning, and let an agent use them.

  • Files change events (API)

    Open one HTTP stream to learn when your files change. Use it to refresh a view or trigger a script when a chat, an upload or another tab changes a file. A change can come from you in another tab, a chat that wrote a file with a tool, an upload, a trigger run, a connector, another API client, or another frontend of a cluster. The web UI uses the same stream to refresh without a reload. To undo a change, use History in Files.