Attach knowledge to an assistant

Open an assistant and review its knowledge controls. For OpenAI File Search, choose a vector store associated with the selected connection. For local knowledge, enable “RAG” and select existing RAG stores, including at least one with “Ready” status. Review the selections and choose “Save Assistant” to save the changes.

By Loop Syntax · Last reviewed: 4 December 2026 (Singapore time)

Before you start

Sign in as a workspace member or admin with access to Assistants and open the intended tenant. Have an assistant and the knowledge store you want to use ready. For local sources, create the store and build its index first; see upload files and rebuild a RAG index. For OpenAI files, see manage vector store files.

Choose knowledge for the assistant

  1. Open “Assistants” and select the assistant. Check its “Connection (API Key)” and “Model” before choosing knowledge.
  2. For an OpenAI assistant, find “Provider Tools” and “File Search”. Choose an “OpenAI Vector Store” from the available choices. The assistant picker limits vector stores to the selected connection.
  3. Use “Edit Files” to open the selected store’s file editor, or “+ Create New” to open the creation option. Review the files and return to the assistant form.
  4. For local stores, find “Application RAG” and select “Enable RAG”. This control is independent of the selected provider.
  5. Open “Select RAG Stores” and choose the stores you want to attach. The list shows status, file count and chunk count. At least one selected store must be “Ready” to save with RAG enabled.
  6. Review both sets of selections and choose “Save Assistant”. Check the result shown by the app.

Understand the two choices

“File Search” is described in the app as OpenAI-managed vector-store retrieval. The “OpenAI Vector Store” selection is associated with the model profile and depends on the connection selected for the assistant. A store from a different connection will not appear as a choice there.

“Application RAG” retrieves context from locally managed stores. Its multi-select list lets you choose existing stores and shows each store’s status, files and chunks. Saving with RAG enabled attaches the stores you selected and removes links to stores you deselected. The screen states that only Ready stores are used at runtime, so review status as well as the store name.

If something goes wrong

“No RAG stores available” means the selector has no stores to offer. Check the tenant and prepare a store first. If the selected store is not Ready, inspect its sources and build the index. The assistant screen states: “At least one selected RAG store must have Ready status. Only Ready stores are used at runtime.”

If an OpenAI vector store is missing, check that the assistant uses the connection associated with that store. If the app reports “Failed to load Vector Stores.” or “Failed to load RAG Stores.”, review the message and retry loading before changing your selections.

Related