Feature · Knowledge Base RAG
Knowledge Base RAG
Per-clinic Knowledge Base indexada pgvector · retrieval-augmented generation grounded · 8 KB components · 6 quality guardrails (NO hallucination) · 6 self-service updates · 6 enrichment auto features. Bot responde con HECHOS de tu clínica · NO inventa.
8 KB components
FAQ clínica
Q&A documents · políticas comunes · preguntas frequent · per-clinic curated · founder + clinic admin collaborative
Catálogo servicios
Servicios offered · descripciones · profesional certificado · duración · rangos precio opcionales · contraindicaciones (informational only)
Políticas clínica
Cancelación · reschedule · payment methods accepted · seguros aceptados · ubicaciones · parking · accesibilidad
Horarios + disponibilidad
Horario habitual · weekends · festivos · vacaciones programadas staff · alternative coverage info
Cómo llegar + ubicación
Dirección · cómo llegar transporte público · GPS link · referencias landmarks · accesibilidad reduced mobility
Branding + tono voice
Style guide cómo bot debe hablar · ejemplos preferred phrasing · forbidden words · regulatory compliance specific
Glosario términos técnicos
Vocabulary médico explanation friendly · ortodoncia · invisalign · prótesis · etc · ayuda paciente understand
Documentos legales
Consentimientos informados templates · protección datos info · términos servicio · acceso self-service paciente
Technical flow · RAG retrieval <10 segundos
- T+0 · Paciente envía pregunta WhatsApp · ej. '¿Aceptáis seguro Sanitas?'
- T+1s · Bot embeds query usando OpenAI embeddings-3-small · 1536 dimensions vector
- T+2s · pgvector similarity search top-5 chunks more relevant clinic KB · cosine similarity threshold
- T+3s · Retrieved chunks injected en LLM prompt context · ~1500 tokens · clinic-specific facts
- T+5s · LLM (gpt-4o-mini) generates response usando ONLY retrieved chunks + system prompt rules
- T+7s · Output validation · response includes citation source · NO claims beyond chunks · escalates if uncertain
- T+8s · Response enviado paciente · '✓ Sí, aceptamos Sanitas como seguro privado. Trabajamos directamente con ellos para...' (cited)
- Async · Update logs · query → chunks retrieved → response · pattern analysis · KB improvements identified
Quality guardrails · 6 reglas
- NO answer questions NOT in KB · escalate humano si chunk similarity {'<'}0.7 threshold
- Cite source en respuesta · paciente sees 'según política clínica' · transparency
- NO invent prices · NO insurance claims · NO medical diagnosis · system prompt enforces strictly
- Quarterly KB audit clinic admin · flag outdated info · update self-service via admin dashboard
- Version control KB · cambios versionados · audit who changed what when · rollback capability
- Test queries pre-deploy KB changes · ensure no regression accuracy · founder review
Self-service updates · 6 capabilities
- Admin dashboard · clinic admin update FAQ · servicios · políticas · horarios cualquier momento
- WYSIWYG editor · markdown supported · embed images · simple UX · no technical knowledge required
- Auto-reindex · changes propagate live · NO downtime · paciente queries reflect updates immediately
- Version history · cada cambio versioned · diff visible · rollback anytime · audit trail
- Bulk import · CSV / Notion / Google Docs · onboarding initial KB ingest · founder assists
- Test mode · changes testeable staging environment · validate antes live · prevent breaking responses
Enrichment auto · 6 features
- Pre-onboarding · founder scrapes clinic public site + Google reviews + Instagram · seed KB
- Auto-suggest improvements · analytics identifica common queries WITHOUT good chunks · suggests KB additions
- Cross-clinic patterns · anonymized · learn common questions sector · suggest standard FAQs new clinics
- Vertical-specific templates · dental · estética · psicología · base KB per vertical · customizable
- Translation auto · KB Spanish primary · auto-translate query if paciente otro idioma · same KB chunks
- Audit suggestions monthly · founder review KB freshness · suggest updates clinic admin
¿Quieres ver KB customization tu clínica?
Demo 20min ver cómo bot responde queries usando KB customizada · founder muestra editing process · self-service vs assisted updates.