Enabling or disabling the RAG vector database

Enabling a vector database

Before you begin:

The Domino database that will be used with a Domino IQ command for RAG first needs to be replicated to the Domino IQ servers that run the command. The database needs to be full-text indexed enabled and also have a full-text index of attachments with file filters enabled using the Domino Administrator client.

When a database gets enabled as a RAG source database, LLM command request handling honors both the ACL and any applicable Readers field in the documents of the RAG-enabled database by using the Notes DN in the authenticated session.

For instructions on full-text indexing of attachments, see Controlling attachment indexing on servers.

Procedure

  1. From the Domino Administrator client:
    1. Connect to the Domino IQ server for which you have enabled Embedding/Vector database, along with specifying the RAG source database.
    2. In the Files panel, select the RAG source database and right click, select Domino IQ.
    3. In the Domino IQ Options dialog click select Enable and press OK.


  2. From the Remote server console in the Domino Administrator client:
    1. Use updall to ingest documents in the RAG source database/NSF - a process known as vectorization.
    2. In the console command box, run load updall -w <rag-dbname>. Wait for the console command to finish as this vectorization can take several minutes based on the size and count of documents in the RAG source database.

      Once the updall process finishes successfully, the LLM command is ready to use for RAG.

Disabling a vector database

  1. From the Domino Administrator client:
    1. Remove the RAG source database in the command document, and save the document.
    2. Restart the Domino IQ server.
  2. From the Remote server console in the Domino Administrator client:
    1. Delete the vector database entries for the RAG source database using updall.
    2. Run load updall -w -d <RAG-dbname>. Wait for the updall command to finish.
  3. From the Domino Administrator Client:
    1. In the Files panel, select the RAG source database and right click, select Domino IQ.
    2. In the Domino IQ Options dialog box, select Disable and click OK.