Skip to main content

Knowledge Base

A knowledge base (KB) is a collection of information that your workflows can use to find answers and respond to user queries. GenAssist uses Retrieval-Augmented Generation (RAG) techniques to search the KB for relevant information and provide it to an LLM for generating accurate, context-aware responses.

To manage your KBs, navigate to Integrations → Knowledge Base from the main navigation menu. This screen lists all existing KBs.

Creating a Knowledge Base

  1. Click the + Add New button in the top-right corner.
  2. The New Knowledge Base screen will appear.
  3. Provide a unique Name for the KB.
  4. Provide a Description.
  5. Select the Type of data to be ingested. The required fields will change based on your selection. The available types are:
    1. Text: For directly pasting content into a text field.
    2. File: For uploading a file from your computer.
    3. S3: For selecting a preconfigured data source from Amazon S3 and specifying details, with an option to set a sync schedule for automatic updates.
    4. URL: For providing a web page URL to scrape content from.
    5. SharePoint: For selecting a preconfigured data source from SharePoint and specifying details, with an option to set a sync schedule for automatic updates.
  6. Enable and configure one or more of the following RAG strategies, which determine how your data is processed and retrieved:
    1. Vector Database: For semantic search. Configure the Database Type, text chunking options, and Embedding Model.
    2. LEGRA: For graph-based retrieval and generation. Configure the Embedding Model.
    3. LightRAG: For graph-based retrieval with LLM completion. Configure the Search Mode, Embedding Function, LLM Model Function, and text chunking options.
  7. Click Create Knowledge Base.

Editing a Knowledge Base

  1. Click on the right of the KB name.
  2. The Edit Knowledge Base screen will appear, prefilled with the existing information.
  3. Make the necessary changes.
  4. Click Update Knowledge Base to save the changes.

Deleting a Knowledge Base

  1. Click on the right of the KB name.
  2. A confirmation dialog will appear to prevent accidental deletion.
  3. Click Delete to permanently remove the KB.