πŸ“š 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)