📚 Complete Tutorial: Configuring a Medical Chatbot with AI Engine
*This is the fifth and final part of the complete configuration guide. If you missed the first four parts, you can find them [here]*, [here]**, [here]*** and [here]****.
In the first four parts we covered:
✅ Technical Foundation – Token system, cost optimization, Dashboard modules
✅ Chatbot Configuration – AI Model, Embeddings, Thresholds, Knowledge Base
✅ User Interface – Appearance, Popup, UI Builder, Advanced
✅ Advanced Integrations – Cross-Site, Shortcodes, Actions
✅ Monitoring – Discussions, Insights
✅ Complete Global Settings – Chatbot, Orchestration, Files & Media, Remote Access, Others
—
🎯NOW WE WILL ANALYZE THE KNOWLEDGE BASE SETTINGS
In this final part, we will complete the last piece of the puzzle:
🔹 Knowledge – Centralized management of knowledge bases
- Configuration and synchronization of medical databases
- Optimizations for efficient semantic search
- Maintenance and update strategies
⚙️ KNOWLEDGE CONFIGURATION – KNOWLEDGE BASES
1. “KNOWLEDGE” TAB – DATABASE MANAGEMENT
📍 AI Engine → Knowledge
🎯 ENVIRONMENT CONFIGURED IN SETTINGS → KNOWLEDGE:
Environment: Quadrant (✅ Selected in AI Engine → Settings → Knowledge) Status: Active and synchronized Configuration: Complete settings for the medical vector base
🔹 PANEL 1 – “EMBEDDINGS” – DATABASE STATUS
🎯 ACTIVE MEDICAL DATABASE:
Title: "Overview of Prescription Medications and Their Uses" (✅ Active) Model: "Embedding Ada-002, 1536 dimensions" Status: Visual duplicate in the interface (technical display) Dimensions: 1536 vectors - optimal for medical complexity
🔧 AVAILABLE ACTIONS:
Refresh: Refreshes status and synchronization Useful: Marks useful content for optimizations Ret: Retention and storage management options
🔹 PANEL 2 – “MODE” – SEARCH MODES
🎯 QUERY CONFIGURATION:
Query Mode: (✅ Selected by default) - Standard search optimized for users - Ideal for direct medical interactions Expert Mode: (❌ Unconfigured) - Advanced search with custom parameters - For complex specialized medical cases
🔹 PANEL 3 – “ENVIRONMENT” – ENVIRONMENT CONFIGURATION
🎯 ADVANCED TECHNICAL SETTINGS:
Info: Technical details about the current environment Sync: Synchronization status with the database
⚙️ “SYNC” SUBTAB – SYNCHRONIZATION CONFIGURATION:
Enable Sync: [ ] Disabled (❌ RECOMMENDED) Function: "Embeddings will be created, updated or removed based on posts activity" Medical Motivation: - Our drug database is static and controlled - We do not want automatic synchronization with WordPress posts - We maintain a clear separation between medical content and the blog
📊 “INFO” SUBTAB – PERFORMANCE PARAMETERS:
Min Score (%): 70 (✅ Optimal) Max Results: 5 (✅ Ideal for medical) Function: "The best 5 embeddings with a score of 70% or more will provide context" Medical Motivation: - 70% ensures high medical relevance - 5 results provide optimal coverage without overload - Perfect balance between precision and performance
🔹 PANEL 4 – “BUILD KNOWLEDGE” – KNOWLEDGE BASE CONSTRUCTION
🎯 MANAGEMENT OPERATIONS:
Create New: [+] Button for new databases Push All (1): [✓] ENABLED - Synchronizes all content Posts: [ ] Option for post synchronization Upload PDF: [ ] Disabled - ❌ WE DO NOT use PDFs
💡 IMPLEMENTATION STRATEGY:
Push All Active: - Ensures that all medical knowledge is synchronized - The database is always current and complete - Zero risk of missing medical information Posts Disabled: - Clear separation: medical base vs blog content - Prevents "contamination" with non-medical information - Maintains an exclusive focus on medicine Upload PDF Disabled: - Our base is structured (JSON/database) - PDFs introduce variability and parsing issues - Total control over data format and quality
🎯 FINAL CONCLUSION OF KNOWLEDGE TAB:
The Knowledge system is configured for:
✅ Maximum performance (70% score, 5 results, Ada-002)
✅ Medical security (sync disabled, clear separation)
✅ Controlled management (only our medical database)
✅ Scalability (ready for additional bases)
