Guides

Using Collections in Console

This guide walks you through managing collections using the xAI Console interface.


Creating a new collection

Navigate to the Collections tab in the xAI Console. Make sure you are in the correct team.

Click on "Create new collection" to create a new collection.

Create collection button

You can choose to enable generate embeddings on document upload or not. We recommend leaving the generate embeddings setting to on.


Viewing and editing collection configuration

You can view and edit the Collection's configuration by clicking on Edit Collection.

Edit collection button

This opens up the following modal where you can view the configuration and make changes.

Edit collection modal with configuration

Adding a document to the collection

Once you have created the new collection, you can click on it in the collections table to view the documents included in the collection.

Collections table showing a newly created collection with options to view documents

Click on "Upload document" to upload a new document.

Upload document button in collections interface

Once the upload has completed, each document is given a File ID. You can view the File ID, Collection ID and hash of the document by clicking on the document in the documents table.

Documents table showing uploaded files with file IDs and collection information
Document details modal showing file ID, collection ID, and file hash

Deleting documents and collections

You can delete documents and collections by clicking on the more button on the right side of the collections or documents table.

More options menu showing delete collection action
More options menu showing delete document action