RAG Search Plugin

The RAG Search Plugin helps find passages that are relevant to a search query. It is available only if the “Enable for RAG” option is turned on when creating the collection.

RAG-Search can be accessed from https://localhost:8443/rag-search

Types Of Search

SearchBlox offers 3 types of RAG search to fetch passages:

  1. Keyword Search
  2. Vector Search
  3. Hybrid Search
  • By default, Hybrid RAG search is used with the default settings. You can change the search type using the toggle buttons at the top-left of the screen, as shown in the screenshot below.

Settings

Some search parameters can be controlled on the RAG Search Page. Click the Show Settings icon at the top-right of the page to access these settings, as shown in the screenshot.

The available settings are:

SettingsDetail
No. of passagesSets how many passages are returned for a query. The default value is 10.
Vector ThresholdSets the minimum score required for vector search results to be included.
Vector WeightDefines the importance of vector search results. The keyword weight adjusts accordingly. The default value is 0.2.

API Details

`The API Details can be accessed to the left of the Settings button, as shown in the screenshot below.

Clicking the API Details button allows the user to view the RAG search request URL and its response, as shown in the screenshot below.