Metadata-Version: 2.4
Name: plato-tile-pipeline
Version: 0.1.0
Summary: One-call tile pipeline — validate, score, dedup, store, search, rank
Author-email: SuperInstance Fleet <fleet@cocapn.ai>
License: MIT
Project-URL: Homepage, https://github.com/SuperInstance/plato-tile-pipeline
Project-URL: Repository, https://github.com/SuperInstance/plato-tile-pipeline
Keywords: plato,tiles,pipeline,ai,knowledge,processing
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: plato-tile-validate>=0.1.0
Requires-Dist: plato-tile-scorer>=0.1.0
Requires-Dist: plato-tile-dedup>=0.1.0
Requires-Dist: plato-tile-search>=0.1.0
Requires-Dist: plato-deadband>=0.1.0

# plato-tile-pipeline

One-call tile pipeline — validate, score, dedup, store, search, rank.

Part of the [PLATO framework](https://github.com/SuperInstance) — deterministic AI knowledge management through tile-based architecture.

## Installation

```bash
pip install plato-tile-pipeline
```

## Usage

```python
from plato_tile_pipeline import TilePipeline

pipeline = TilePipeline()

result = pipeline.process(
    tiles=[
        {"content": "Pythagorean triples snap to exact coordinates", "confidence": 0.9, "domain": "constraint-theory"},
        {"content": "Deadband Protocol: P0 rock, P1 channel, P2 optimize", "confidence": 0.85, "domain": "governance"},
        {"content": "Bad tile", "confidence": 0.1},  # rejected
        {"content": "Pythagorean triples snap to exact coordinates"},  # duplicate
    ],
    query="pythagorean",
)

print(result.processed)  # 4
print(result.accepted)   # 1 (bad rejected, dup removed)
print(result.tiles)      # [best matching tile]
```

## The Pipeline

```
validate -> score -> dedup -> store -> search -> rank
```

Six PLATO packages behind one API call. The playset.

Zero external dependencies. Compatible with Python 3.8+.

[GitHub](https://github.com/SuperInstance/plato-tile-pipeline)
