$Back to Hakim

Admin Console

Upload clinical documents for RAG embedding pipeline

Pipeline Ready

Ingest Document

PDF / Markdown / Text → chunk → embed → pgvector

[DB] table medical_chunks with pgvector index

API Endpoints

Available service routes for the Hakim system

POST /api/embed
Upload + embed
POST /api/chat
RAG response
POST /api/tts
ElevenLabs proxy
Hakim Admin
Pipeline: OpenAI text-embedding-3-small → pgvector