Knowledge Base

To access this menu, go to the sidebar and select Knowledge Base.

From this menu, users can create, view, edit, or delete knowledge bases associated with their GLChat applications. Users can also create auto-generated knowledge bases that are automatically populated from selected data sources or configurations.


Create New Knowledge Base

To create a new knowledge base, click New Knowledge Base and complete the required fields in the form.

Complete the required fields provided in the form.

  1. Knowledge Base ID Enter a unique identifier for the knowledge base. This ID is used internally by the system.

  2. Knowledge Base Name Specify the display name of the knowledge base. This name will appear in the interface.

  3. Description Provide a brief summary describing the purpose or content of the knowledge base.

  4. Index Name This is the name of the vector index where the knowledge base content will be stored. By default, it is auto-generated based on the Knowledge Base ID, but you may edit it to use a custom index name.

  5. Pipeline DPO Select the Document Processing Orchestrator (DPO) pipeline that will process documents added to this knowledge base.

  6. Preset DPO Choose a preset configuration for the DPO pipeline to control how documents are parsed, indexed, or transformed.

After completing the form, click Save to create the knowledge base or Cancel to discard changes.


LLM Labs Integration

When a new knowledge base is created, the system automatically generates a unique LLM Labs URL. This URL provides direct access to manage your knowledge base within the LLM Labs platform — enabling you to update, test, and optimize your knowledge content as needed.

To manage your knowledge files, integrate GLChat with LLM Labs using the generated URL.

LLM Labs (llm.datasaur.ai) is a private multi-model AI platform developed by Datasaur. It supports evaluation and cost analysis for over 200 AI models, helping you select and integrate the most suitable model for your project.

Click the Copy button next to the URL to copy it. This URL is required when connecting a knowledge base in LLM Labs, as explained below.


Connecting an External Vector Store in LLM Labs

Datasaur LLM Labs allows you to connect external knowledge bases (vector stores) directly through an intuitive interface. Follow the steps below to connect and configure your external vector store.

Step 1: Knowledge Base Settings

In your LLM Labs workspace, follow this step to connect to External Knowledge Base

  1. Refer to the Blue Box in the screenshot below to access Knowledge Base menu in LLM Labs via left sidebar

  2. Refer to the Red Box in the screenshot to open option to access External Knowledge Base via arrow in the button (beside Create knowledge base)

  3. Refer to the Green Box in the screenshot to proceed to Connect external knowledge base

Fill in the following fields:

  1. Knowledge Base Name Enter a descriptive name for the external knowledge base to identify it easily in your workspace.

  2. Base URL Paste the base URL generated during the GLChat Knowledge Base setup. This serves as the endpoint for LLM Labs to access your external vector store.

  3. Authentication Select an authentication method. Currently, only Basic Authentication is supported.

  4. Username Enter the credential username.

  5. Password Enter the credential password (click the eye icon to show/hide input).

Step 2: Advanced Settings (Optional)

Click Advanced Settings to configure additional options. You can attach file properties to organize and retrieve data more effectively.

Drag and drop a property file (.csv or .json), or click Create Your Own to define properties directly in the UI.

Step 3: Connect

Create knowledge base

Once all fields are completed, click Create Knowledge Base in the bottom-right corner. LLM Labs will validate your inputs and attempt to connect to the external vector store. Click Cancel if you wish to stop or reset the process.

Step 4: Upload File to Knowledge Base

After the knowledge base is successfully created, you’ll be redirected to the upload page.

  1. Click Upload Files and select the files you want to add.

  2. In the configuration modal, you may skip adjustments and click Process File.

You’ll then be redirected to a page showing the upload progress.

You can upload additional files anytime or monitor ongoing uploads in the Activity tab, which displays real-time progress.


View and Edit Knowledge Base Detail

To view or modify a knowledge base, click the Edit icon in the Knowledge Base List.

You can adjust the configuration as needed, then click Save to apply changes or Cancel to discard them.

For detailed guidance on Frequently Asked Questions (FAQ), refer to the full documentation here.


Search Knowledge Base

Use the Search field to find a knowledge base by typing its name.


Delete Knowledge Base

To delete a knowledge base, click the Trash icon in the Action column.

A confirmation pop-up will appear — click Delete to proceed or Cancel to abort.

You cannot delete a knowledge base that still has assigned applications. Remove all assigned applications first before attempting deletion.

Last updated