Overview

The File Library in AI21 Studio serves as a centralized knowledge base for uploading, organizing, and managing organizational documents. Once uploaded, these documents can be used to provide relevant context to Large Language Models (LLMs) when generating responses, enabling more accurate, grounded, and domain-aware outputs.

Key Capabilities

  • Upload workspace documents in supported formats (PDF, DOCX, HTML, TXT, Markdown)
  • Define data schemas to enforce structure and consistency across similar document types
  • Search files by name, date, ID, labels, or source
  • Select and filter documents in the File Library
  • Edit file metadata, including labels and paths
  • Delete outdated or unused files

Upload a Document to File Library

Step 1: Open the File Library Section

Step 2: Add a Document

Step 3: Select One or More Files to Upload

Step 4: Label Your Documents

Step 5: Connect

Step 6: View the New Files in File Library

Create a Schema in File Library

See the full guide here.

Search and Filter Files

Step 1: Choose a Filter

Step 2: Search for Specific Documents

Optional: Select all documents

Delete Files From File Library

Step 1: Locate and Select the File(s) You Want to Delete

Step 2: Delete the Selected Files

Step 3: Confirm Deletion

Step 4: View the Updated Document List

Next steps

Check the API Refernce: