Vector database with 6,500+ documents on LGPD, GDPR, blockchain governance, and privacy engineering. Powered by all-MiniLM-L6-v2 embeddings.
Semantic search across indexed documents.
curl -X POST https://leann.dpo2u.com/search \
-H "Content-Type: application/json" \
-d '{"index_name": "dpo2u-knowledge", "query": "LGPD compliance", "top_k": 5}'
Query via URL parameters (convenience).
curl "https://leann.dpo2u.com/search?q=blockchain+governance&index=dpo2u-knowledge&top_k=3"
List available indexes with document counts.
curl https://leann.dpo2u.com/list
Health check with loaded indexes and status.
curl https://leann.dpo2u.com/health
Reload an index after rebuild (admin only).
{
"query": "LGPD compliance",
"index_name": "dpo2u-knowledge",
"results": [
{
"score": 0.744,
"text": "A LGPD estabelece que...",
"metadata": { "source": "permanent_note.md" }
}
],
"total_results": 5,
"execution_time_ms": 1584.2
}