Available for all customers
This feature is fully released and on by default for new accounts. If you're an existing customer and don't see it yet, email support@knowledgeowl.com and we'll enabled it for your account.
To set up your AI chatbot, you'll:
Available for all customers
This feature is fully released and on by default for new accounts. If you're an existing customer and don't see it yet, email support@knowledgeowl.com and we'll enabled it for your account.
Our AI chatbot is basically an AI Agent that uses your knowledge base as its source material.
Before you Enable AI chatbot widget for my knowledge base, use the Personalize the chatbot responses section to help refine your chatbot's tone and context:
- Go to KB settings > AI chatbot. The AI chatbot page opens.
- In the Personalize the chatbot responses section, follow the prompts to add context and personality to your chatbot:
- Enter a description of your chatbot's tone and personality in the Tone of voice field, max of 200 characters. This can determine how formal or informal, friendly or professional your chatbot's responses are. For example, for the chatbot in our Support KB, we use "friendly and helpful, uses occasional owl puns". 🦉
- Enter some context about your organization or audience in the Finish this sentence: "You are a chatbot answering questions for..." field, max of 200 characters. Include your organization's name and some information about its products or its intended audience. For example, for the chatbot in our Support KB, we use "KnowledgeOwl, a company that makes B2B knowledge base software."
- Be sure to Save your changes.
Make the AI chatbot your own. Customize or translate the wording it uses, such as the button label, AI disclaimer, intro text, and more.
Use this text customization to better match your knowledge base's tone or to translate the chatbot interface into another language.
Refer to Customize AI chatbot text for full instructions and descriptions of the various text strings you can edit.
Only use plain text and emojis
Customized default text can only contain plain text and emojis. If you try to enter HTML tags, we'll strip them out on-save.
Want to test the chatbot for a bit before releasing it to the world? Use the Reader access section in KB settings > AI chatbot to control who can see and use the AI chatbot in your knowledge base.
Choose from one of these options:
- All readers (default): Use this option if you want everyone who can view your knowledge base to view and use the chatbot.
- Authors only: Use this option if you want only logged-in authors to view and use the chatbot. This option can be especially useful if you want to test the chatbot without showing it to your readers.
- Specific reader groups: Use this option if you want only members of certain reader groups to view and use the chatbot. Only readers assigned to these groups will see the chatbot button and be able to interact with it. This option can be especially useful if you want to share the chatbot only with certain groups, like internal teams or premium customers.
AI chatbot respects reader group permissions
The chatbot will only use articles that the current reader has permission to view in its responses, no matter what Reader access selection you make.
Available for all customers
This feature is fully released and on by default for new accounts. If you're an existing customer and don't see it yet, email support@knowledgeowl.com and we'll enabled it for your account.
The AI chatbot is turned on by default on new accounts; existing accounts must opt in to use the AI chatbot in your knowledge base.
To turn the chatbot on or off,:
- Go to KB settings > AI chatbot. The AI chatbot settings page opens.
- Be sure you've already followed the instructions to Personalize the chatbot responses.
- Turn on the Enable AI chatbot widget for my knowledge base control.
- Save your changes.
The AI chatbot will now appear in the lower right of all knowledge base pages!
I can't turn on the AI chatbot
If you can't flip the toggle to turn the AI chatbot on, you should see a message with text like this:
Semantic search must be enabled before you can turn on the AI chatbot. Go to search settings to enable it, then re-index your knowledge base.
If you see this message, your knowledge base doesn't have semantic search turned on. Follow the instructions to enable semantic search and perform a reindex. Then you should be able to turn the chatbot on.
While it isn't necessary to turn on the AI chatbot, you may need to review your content and update some of its structure to get the best performance out of the chatbot.
Refer to How to optimize your content for the AI chatbot for a list of content best practices that can help improve your chatbot's performance.
Custom response rules let you define a pre-written response that the chatbot delivers when a reader's message matches a keyword or AI-detected intent, bypassing normal AI search. Use them to handle queries that fall outside your knowledge base, like routing live chat requests, catching troubleshooting queries, or redirecting out-of-scope questions.
To add a custom response rule:
- Go to KB settings > AI chatbot. The AI chatbot settings page opens.
- Scroll to the Custom response rules section and select Add rule. The Add rule modal opens.
- Enter a name for the rule in the Rule title field.
- Select a Rule type and configure the trigger:
- Keyword match: Select a Match type: Contains (phrase appears anywhere in the message) or Exact (message must equal the phrase exactly, case-insensitive). Enter one or more trigger phrases in the Phrases field. Click + Add phrase to add additional phrases.
- AI intent: phrase: Enter one or more phrases in the Phrases field. The AI matches messages that express the same intent, even if worded differently. Click + Add phrase to add additional phrases.
- AI intent: scenario: Enter a description in everyday language of the scenario in the Scenario description field. The AI matches messages that fit the described situation. Be as specific as possible: a more detailed description reduces the chance of false matches.
- Enter your pre-written response in the Response message editor. The editor supports basic formatting including bold, italic, underline, lists, and links.
- Optional: add a call-to-action button in the Call-to-action button section:
- None (default): No button is shown.
- Link: Displays a button that takes the reader to a URL. Enter a Label for the button and the destination URL.
- Developer event: Fires a
ko-ai-chatbot:cta-clickpostMessage event when the button is clicked. Enter a Label and an Event ID. Refer to the AI chatbot JavaScript API Reference for listener setup examples.
- Click Add rule to save. The rule is added to the Custom response rules list.
Rule processing order
Rules are processed in order: keyword rules first, then AI intent rules. The first matching rule wins, so order matters. Use the up and down arrows in the Actions column to reorder your rules.
Edit or delete a custom response rule#
Each rule in the Custom response rules list has action buttons in the Actions column:
- To edit a rule, select the pencil icon. The Edit response rule modal opens with all fields pre-populated. Make your changes and click Save rule.
- To delete a rule, select the trash icon. A confirmation dialog names the specific rule and asks you to confirm before permanently removing it.
- To reorder rules, use the up and down arrow buttons. Remember that the first matching rule wins, so put your most specific rules near the top.