Customisation
Knowledge Base
Enhancing avatar LLM responses with knowledge obtained from documents, websites and plain textEnhancing LLM output
Typically, interactive avatars will be powered by Large Language Models (LLMs) that are trained on extensive datasets and come with a broad understanding of general topics. However, if you need your avatar to possess more in-depth knowledge on specific topics, creating knowledge base collections and linking them to your avatars can help.
Adding knowledge base collections to your avatars can also help to:
- Reduce hallucinations - by grounding responses in specific content
- Stay current - by providing new knowledge since the model’s cut-off date
- Personalize expertise - by giving avatars proprietary knowledge
- Maintain consistency - by ensuring avatars provide consistent information
Creating a Knowledge Base Collection
There are four ways to add information to a knowledge base collection:
TEXT
Paste or type content directly into the knowledge base. Perfect for FAQs, company policies or quick information snippets.
URL
Import content from a specific web page. Ideal for pulling in blog posts, product pages, news or online resources.
CRAWL
Automatically scan and extract content from an entire website. Perfect for comprehensive knowledge from a website.
FILE
Upload TXT, DOC, DOCX and PDF documents. Great for manuals, reports and existing documentation.
Best Practices
Get the most out of a knowledge base collection:
- Prioritize signal over noise: Upload content that focuses on the most important information your users need. Avatars perform better with quality content rather than quantity.
- Keep information consistent: Avoid uploading conflicting data across different sources. If your pricing page says one thing and your FAQ says another, your avatar will give inconsistent responses.
- Stick to standard web pages: When crawling websites, avoid pages that require login credentials or use complex JavaScript frameworks. Standard HTML pages with clear content work best.
- Understand smart retrieval: Your avatar does not read everything you have uploaded for each response. Instead, it intelligently finds the most relevant match. For example, if a user asks about contact details, it will prioritize content containing phone numbers and addresses.
- Keep things organised: Group relevant knowledge in the same collection. Ensure your knowledge points are named appropriately so you can easily review your avatar's knowledge at a glance.
Getting Started
Ready to enhance your avatars’ knowledge? Head over to your Knowledge Base to create a collection.
- Building from scratch? → Start with TEXT and go from there
- Need content from a single web page? → Use URL to scrape content from a specific page
- Need content from a whole website? → Use CRAWL to scrape multiple pages
- Have existing documents? → Use FILE to upload
Once your knowledge base collection is ready, go to the Avatar Creator, select the avatar you wish to add the knowledge base collection to by selecting it in the left hand panel and clicking the EDIT button and then select the BRAIN tab. Now select the KNOWLEDGE BASE sub-tab and assign the knowledge base collection to your avatar.
Your avatar will automatically use the knowledge from the collection to provide more accurate, relevant, and helpful responses to your users. You can share knowledge base collections between avatars and only need to update a collection once to have the change applied across all avatars using that collection.