Add a retriever

task brazil Updated Sep 23, 2026 2 min read add-retriever.md
Raw file servicenow.com

Add a retriever to your skill to augment your prompts with relevant context from AI Search results.

Before you begin

Role required: sn_skill_builder.admin

About this task

Using a retriever in a skill enhances the relevance and coherence of a response by pulling relevant information from a source and then feeding it to a large language model (LLM) to create the final output. This process doesn't require model fine-tuning.

A retriever enables the chatbot to access external knowledge by fetching relevant background information, resulting in more factual, in-depth, and informed responses.

Procedure

  1. Navigate to All > AI Skill Kit > Home.

  2. Create a skill or select the skill that you want to add a retriever to.

  3. Select the Tool editor tab.

  4. Select the (+) icon to add a node.

  5. Select Tool node.

  6. Select Retriever from the drop-down menu.

  7. Select Configure retriever.

  8. On the form, fill in the fields.

Field

Description

Name

Name of the retriever.

Search query

Information to search for. The value can be static text or a skill input.

Search space type

  • Table-based
  • Search-profile-based

Search profile

A group of search sources.

Search sources

Tables in ServiceNow that have been indexed and can be used for search.

Fields returned

Fields to return from the search sources and send to the LLM.

Limit

Maximum number of results to return.

Search criteria

9. Select **Next**.
  1. Select an embedding model.

    To learn about embedding models, see Configuring your embedding model.

  2. If you selected Hybrid or Semantic search criteria, select a semantic index.

    A semantic index enables you to search for data based on contextual meaning.

  3. If you selected Hybrid or Semantic search criteria, select Advanced to change the document matching threshold.

    The document matching threshold is the threshold for semantic matching. The default value is 0. You can input any value from 0 to 1. You can get more precise results with a higher value.

  4. Select Next.

    Note: If you selected Hybrid or Semantic search criteria, see Configure retriever chunking and reranking to complete setting up your retriever.

  5. Review the retriever tool information.

  6. Select Add tool.

Parent Topic:Add a tool

Search documentation
Search document titles and file paths on the brazil branch