Semantic Search for Compliance Knowledge

Vector database with 6,500+ documents on LGPD, GDPR, blockchain governance, and privacy engineering. Powered by all-MiniLM-L6-v2 embeddings.

6,586
Documents
178MB
Index Size
384
Dimensions
<2s
Avg Query

Try It

API Reference

POST/search

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}'
GET/search?q=...&index=...&top_k=...

Query via URL parameters (convenience).

curl "https://leann.dpo2u.com/search?q=blockchain+governance&index=dpo2u-knowledge&top_k=3"
GET/list

List available indexes with document counts.

curl https://leann.dpo2u.com/list
GET/health

Health check with loaded indexes and status.

curl https://leann.dpo2u.com/health
POST/reload?index_name=...

Reload an index after rebuild (admin only).

Response Format

{
  "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
}