Skip to main content

Uniphore Help Center Portal

SLM for Knowledge Base

SLM for Knowledge Base is where you can pair each knowledge base with the SLM best suited to answer queries against it. The platform automatically benchmarks available SLMs using test queries for the selected knowledge base, evaluates their performance, and recommends the best match. This reduces manual testing effort and ensures each knowledge base is paired with a model that delivers accurate, high-quality responses.

Key Capabilities
  • Automatic SLM Matching - Evaluates available SLMs against your knowledge base and recommends the highest-scoring model, eliminating the need for manual trial-and-error.

  • Flexible Pairing Options - Choose between two pairing methods. Select a model yourself using Manual pairing, or let the platform identify and recommend the best match using Auto pairing.

  • SLM Re-Pairing - Switch to a different SLM at any time, even after the initial pairing is deployed. The platform supports both manual and automatic re-pairing without requiring changes to your knowledge base.

Pairing an SLM with Knowledge Bases

To access this feature:

  1. Go to the home page > Knowledge > SLM for Knowledge.

    Home_Page.png

    The SLM Mapping to Knowledge Base page opens, displaying all KBs created in the data layer under the Knowledge Base without SLM tab.

  2. Apply one or both of the following filters to locate a specific KB:

    Filters_12.png
    • Fine-tuning Data dropdown - Filter KBs by fine-tuning data availability status.

    • Search box - Enter a KB name or keyword to perform a text-based search across the list.

  3. To update the KB details, refer to Modifying a Knowledge Base.

  4. Locate the KB, then click Pair SLM.

    Pair_SLM_12.png
  5. Select a pairing method:

    • Manual Pairing - Choose a specific SLM yourself. Refer to Manual Pairing for more information.

    • Auto-Match Best SLM - Let the platform suggest the best fit for your KB.

  6. Click Auto-match Best SLM.

    The Match Best SLM panel opens. The platform benchmarks best SLMs' responses against ground truth data, displays evaluation progress, and recommends the highest-scoring SLM to your Knowledge Base.

    Auto_match_panel.png

    Important

    If no ground truth is available, you must upload ground truth data to proceed with auto-pairing. Refer to Upload Ground Truth for more information.

    • To rerun the evaluation, click Re-Match Best SLM.

  7. Click Deploy to Knowledge Base.

    The Name the SLM window opens.

    Name_the_SLM_window.png
  8. Enter a unique name for the configuration.

  9. Enter a detailed description of the configuration.

  10. Click Next.

    The Add Roles to Knowledge Base window opens.

    Add_role_to_KB.png
  11. Enter the role name associated with the KB.

    Note

    This enables the SLM to generate role-based responses to user queries.

  12. Click the Add Add_new_componant.png icon to save the role.

    The role is added to the list.

    Tip

    You can add multiple roles in the same manner.

  13. Manage the role configuration:

    • Click the Edit edit_node.png icon to edit the role name.

    • Click the Delete delete_icon.png icon to remove the role from the list.

  14. Click Submit to save the configuration.

    A success message confirms the action.

Manual Pairing

To pair the SLM manually:

  1. Click Manual Pairing

    The Pair SLM panel opens from the right. The platform automatically displays a list of default SLMs.

  2. Use the filters to find and select the appropriate SLM, then click Next.

    Select_SLM-Manual_pair.png
  3. Enter a unique name for the configuration.

    Save_SLM_config_-Manual_pair.png
  4. Enter a detailed description of the configuration.

  5. Add a role for this SLM configuration. 

    Add_role_to_KB_-_manual_pair.png
    1. Click Add New Role.

    2. Enter the role name associated with the KB.

    3. Click the OK OK_icon.png icon. 

      The new role is added to the list. Likewise, you can add multiple roles.

  6. Click Deploy to Knowledge Base

    A success message confirms the action.

Upload Ground Truth

To access this feature:

  1. Click Auto Pairing.

    The No Ground Truth Available window opens.

    No_ground_truth.png
  2. Click Upload Ground Truth.

    The Import Ground Truth window opens on the RAG Evaluation page.

    Accuracy_tab_-_Import_ground_truth.png
  3. Hover over the info_icon.png icon and select Download Sample File to download the predefined template for creating ground truth data.

    download_Sample_file_.png
  4. Select Click to Upload File.

  5. Locate and select the ground truth file from your local system.

    Notice

    Only one XLSX file can be uploaded at a time. Uploading a new file will replace the existing one.

  6. Click Import & Run.

    The platform imports the file and initiates the evaluation process. Once the upload is complete, the Q&A is displayed for review.

  7. Navigate back to the previous page and restart the Auto Pairing process.

Re-pairing an SLM with Knowledge Bases

You can easily switch to a different SLM for your Knowledge Base, even after the model has been deployed.

To access this feature:

  1. Switch to the Knowledge Base with SLM tab.

  2. Apply the following filters to locate a specific KB:

    • Ground Truth dropdown - Filter KBs by ground-truth availability status.

    • Search Knowledge Base box - Enter a KB name or keyword to perform a text-based search across the list.

    • Search Models box - In the left panel, enter a model name or keyword to search for a model in the list. Select a model to view all related KBs tagged to it.

  3. To update the KB details, refer to Modifying a Knowledge Base.

  4. Locate the KB and click Switch Model.

    Switch_model.png
  5. Select a pairing method:

    • Manual Pairing - Choose a specific SLM yourself. Refer to Manual Pairing  for more information.

    • Auto-Match Best SLM - Let the platform suggest the best fit for your KB.

  6. Click Auto-Match Best SLM.

    The Match Best SLM panel opens. The platform benchmarks the best SLM responses against ground truth data, displays evaluation progress, and recommends the highest-scoring SLM to your Knowledge Base.

    • To rerun the evaluation, click Re-Match Best SLM.

    • To confirm and apply the recommended SLM, click Deploy to Knowledge Base.

    Auto_match_panel.png

    Important

    If no ground truth is available, you must upload ground truth data to proceed with auto-pairing. Refer to Upload Ground Truth for more information.

    A success message confirms the action.

Modifying a Knowledge Base

The platform allows you to update KB details created in the data layer.

To update:

  1. Click the Edit Knowledge Base Edit_icon.png icon on the KB.

    The Edit Knowledge Base window opens.

  2. Modify the KB name and description as needed.

    Edit_KB_window_12.png
  3. Select a Search Mode to control how AI agents retrieve information from this KB:

    • Semantic Search - The default search mode. Agents search for content based on meaning and context. Two optional enhancements are available with this mode:

      • Apply Entities - Enables agents to use global entities defined during Data Preparation for this source.

    • Agentic Search - Advanced search mode for complex questions. Instead of a single lookup, agents reason through multiple steps to build an answer. Enable this setting to allow agents to use the Knowledge Graph for this KB.

      Note

      When you enable Agentic Search, a Knowledge Graph text appears on the KB card, indicating that the KB is configured for Knowledge Graph-driven search.

    Important

    The platform automatically updates the KB search mode settings once you apply the recommended search method returned by the Evaluation. Refer to Running an Evaluation for more information.

  4. You can add or update the roles tagged to the KB.

    1. Click Add New Role.

    2. Enter the role name associated with the KB.

    3. Click the OK OK_icon.png icon. 

      The role is added to the list.

      Tip

      You can add multiple roles in the same manner.

  5. Click Submit to save the changes.

Viewing a Knowledge Graph

The Knowledge Graph gives you a visual map of how information in your knowledge base is connected. You can use it to explore relationships between topics, entities, and data points that the platform has automatically identified.

To view the KB Knowledge Graph:

Important

The Knowledge Graph option is available only when Agentic Search is enabled for the KB. To enable Agentic Search, refer to Modifying a Knowledge Base.

Click the Knowledge Graph option on the specific KB.

Knowledge_graph_12.png

The Knowledge Graph page opens.

Knowledge_Graph.png