File size: 2,007 Bytes
5d2d720
0210d4e
5d2d720
 
 
0210d4e
 
 
5d2d720
 
0210d4e
 
 
 
 
 
 
 
 
5d2d720
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
title: Warbler CDA FractalStat RAG
emoji: 🦜
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.0.2
app_file: app.py
pinned: false
license: mit
short_description: RAG system with 8D FractalStat and 100k documents
tags:
  - rag
  - semantic-search
  - retrieval
  - fastapi
  - fractalstat
thumbnail: >-
  https://cdn-uploads.huggingface.co/production/uploads/68c705b6fc90bcc7a4f56721/8G2TJJT8enAFaBLJGTXka.png
---

## Warbler CDA - Cognitive Development Architecture

A production-ready RAG system with **FractalStat 8D multi-dimensional addressing** for intelligent document retrieval.

## πŸš€ Quick Start

This Space runs a FastAPI service on port 7860.

### Query the API

```bash
curl -X POST https://YOUR-USERNAME-warbler-cda.hf.space/query \
  -H "Content-Type: application/json" \
  -d '{
    "query_id": "test1",
    "semantic_query": "hello world",
    "max_results": 5
  }'
```

### API Endpoints

- `GET /health` - Health check
- `POST /query` - Semantic query with optional FractalStat hybrid scoring
- `GET /metrics` - System metrics
- `GET /docs` - Interactive API documentation

## 🌟 Features

- **Semantic Retrieval**: Find documents by meaning, not just keywords
- **FractalStat 8D Addressing**: Multi-dimensional intelligence for superior ranking
- **Bob the Skeptic**: Automatic bias detection and validation
- **Narrative Coherence**: Analyzes result quality and threading
- **10k+ Documents**: Pre-indexed arXiv papers, education, fiction, and more

## πŸ“Š Performance

- **Avg Response Time**: 9-28s (depending on query complexity)
- **Avg Relevance**: 0.88
- **Narrative Coherence**: 75-83%
- **Coverage**: 84% test coverage with 587 passing tests

## πŸ”— Links

- [Full Documentation](https://gitlab.com/tiny-walnut-games/the-seed/-/tree/main/warbler-cda-package)
- [Source Code](https://gitlab.com/tiny-walnut-games/the-seed)
- [Performance Report](https://gitlab.com/tiny-walnut-games/the-seed/-/blob/main/warbler-cda-package/WARBLER_CDA_PERFORMANCE_REPORT.md)