Best Practices
This page page offers tips to help you improve your chatbot’s performance and user experience. It covers improving the instructions, teaching the bot how to send links.
Refine the Chatbot’s Instructions
The instructions shape your chatbot’s behavior and responses. This can be used to set persona, define tone, or specify the types of questions the chatbot can answer. Clear and precise instructions ensure the chatbot aligns with your desired goals and user experience.
Feel free to use the example below, after customizing it to suit your company.
You can find more detailed information about refining your instruction here.
Improve Readability of Sources
The quality of your chatbot’s responses depends heavily on the quality of the data sources you provide. Chatbase relies on readable text to generate accurate responses, so make sure the websites or PDFs you upload contain readable text.
Some websites may not be scraper-friendly. If your chatbot struggles to answer questions based on your website, this could be the reason. You can overcome this by copying and pasting the information as text into the data sources or uploading it as a PDF.
Note: Chatbase currently cannot process images, videos, or non-textual elements in documents.
Add Suggestable Links
To have links suggested by the bot, they must be explicitly included in your training data. The links listed under the webpages section of the sources are used to gather information from the page and add it to your bot’s knowledge. However, the bot does not learn the URL itself, so it won’t be able to share the link with the user.
This can also improve prevent your bot from produdcing fake URLs that lead to 404 errors.
The best way for this is to add a document that maps URLs to page names can help your chatbot better understand user queries related to different pages. Here is an example of a mapping inputted as text in the data sources:
Choose the suitable AI model
Selecting the right AI model is crucial for optimal performance. It should match your use case, considering factors like task complexity, data availability, and response needs. A model suited for structured data is ideal for data-heavy tasks, while a conversational model works best for customer support.
Also, consider scalability and adaptability. Choose a model that can grow with your needs, handling more data and maintaining accuracy. Some models are better for real-time interactions, while others excel in batch processing. Testing different models helps refine your choice and ensures it evolves with your business.
AI Model Recommendations Based on Use Cases
Customer Support & FAQ
For quick, clear responses to general inquiries.
- Models to use:
gpt-4o-mini
: Delivers fast, concise answers.gemini-2.0-flash
: Ideal for real-time, simple queries.
Content Creation & Marketing
For crafting creative, engaging content like blogs or marketing materials.
- Models to use:
claude-3-5-sonnet
: Excels at poetic and creative content.claude-3-haiku
: Perfect for concise, creative outputs.
E-commerce & Lead Generation
For product suggestions or moderately complex questions.
- Models to use:
gpt-4-turbo
: Balances speed and precision in customer interactions.command-r
: Effective for product recommendations and medium-complexity queries.
Advanced Research & Technical Support
For in-depth research, troubleshooting, and solving complex issues.
- Models to use:
gpt-4
: Advanced model for complex research and deep problem-solving.gemini-1.5-pro
: Highly accurate, advanced technical support.
Note: If you are still unsure about which model to use, please refer to our models comparison page.
Utilize the “Revise” Feature and Q&A Data Type
After launching your chatbot, you can monitor its responses in the Activity tab. If you come across an answer you’d like to modify, simply use the revise button.
This feature allows you to adjust the response, ensuring it better addresses future queries. The revised answer is added as a Q&A data type, which helps your chatbot generate more accurate responses by referencing these pre-set questions and answers. You can find the updated responses in the Q&A tab under Sources.