Skip to main content

Knowledge base additional configuration

In addition to its core functionality, our KB offers a range of additional configurations designed to enhance your experience.

Use KB via. Knowledge search node

Utilize the Knowledge search node to offer responses from website URLs or documents uploaded on the Knowledgebase (KB) by following these steps:

  1. Upload your URL links/Documents to KB.
  2. Go to the Build section and configure a flow that utilizes doc-cog to generate answers.
    • Employ a Question node to pose a question and store the user query in a variable.
    • Use this variable (user query) as input for the Document Search node.
  3. In Knowledge search settings, customize the response with the following options:
    • Input configuration
    • Knowledge filter
    • AI-agent response configuration For more information on Knowledge search settings, click here.

image

  1. Test and deploy your AI-agent.


Modify auto generated AI-agent answers

If you are not satisfied by the AI-agent response or if you would like to modify the generated information, you can edit the responses generated by the AI-agent. This functionality offers enhanced customization over the content exchanged between the AI-agent and users.

To edit, follow these steps:

  1. Go to the Preview AI-agent section of KB and test your flow by asking questions. Once the bot replies, click the Edit button.

  2. In Your question, edit the question you asked to test the AI-agent reponses. In Bot's answer, edit the response given by the AI-agent and click Save.

    drawing
  3. You will be prompted to visit the FAQ page to map more questions to the right answers. Click Go to FAQ and refer to this doc to know about the FAQ section in detail.

    drawing

You can go to the Preview AI-agent section and test your question and answers.

note

Edit option to edit the responses/questions is available while testing only (Development/Sandbox/Staging env). After editing the responses they are trained automatically, you need not perform any other action.


Set up a multilingual KB responses

This feature ensures the KB AI-agent responds in any language, regardless of the language of the website/document. With multi-language support, it searches within the website, retrieves answers, and translates responses into the end user's preferred language, identified either through their language selection or the language in their initial message.

To configure, follow these steps:

  1. Upload your URL links to KB.
  2. Navigate to the Build section and configure a language setup flow.
    • Add a quick reply node with the button name as the language and the button value as the ISO code for that language. View the ISO codes here.image
    • Store the response of the Quick reply node in a variable (language).
    • Send the stored variable (language), which is the ISO code, to the Set language node.
    • Follow up with a question/text node to prompt users to ask questions in their preferred language. image

You can also build this flow with a Document search node.

(or)

  1. Add language support to your widget by following these steps. drawing
  1. Test and deploy the AI-agent.

In the output, website links will be in English for enhanced readability. Titles are translated, facilitating quick navigation and comprehension of the accessed content, whether it's a document or a website link.

Set tone for your AI-agent responses

Customize your AI-agent's tone to align with your preferred response style. Yellow.ai offers 4 distinct tones that allows you to tailor your AI-agent's responses to end users. Refer to the table (after the steps) to see how this works.

To configure the tone of the response:

  1. Go to Automation > Build > Flows > Conversation Settings

  2. Click Document Search.

    drawing
  3. Go to Model response and choose the preferred tone from the drop down.

    drawing
TonesDescriptionsExample
EmpatheticResponds in a way that acknowledges and reflects the user's emotions.drawing
FormalUses a professional and formal tone in responses.drawing
Short AnswersConveys information concisely with brief responses and minimal descriptions.drawing
Instructions basedProvides responses in a clear instructional format.drawing

Automate fallback for your AI-agent

When the AI-agent doesn't understand user queries, it offers the closest relevant answers to their questions as a fallback. You can customize the fallback messages to show these suggestions.

  1. Go to Automation > Build > Conversation Settings

  2. Click Document Search.

    drawing
  3. Go to Auto fallback and click Enable as auto-fallback. Scroll down, in Model Fallback Message, enter the fallback message to show.

    drawing

    Result:

    drawing