Skip to main content

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

Project description

plato-tile-pipeline

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

Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.

Installation

pip install plato-tile-pipeline

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plato_tile_pipeline-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plato_tile_pipeline-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file plato_tile_pipeline-0.1.0.tar.gz.

File metadata

  • Download URL: plato_tile_pipeline-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for plato_tile_pipeline-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79ab0ff31fdc34f693e7078644d192dd98cbc10809917422b0c3ae87ecd7e9e4
MD5 b7072f551e99c70952fa397eefe4e50d
BLAKE2b-256 727eaa7bf7a90a76ddf93c8112c48745ed5145cef9a6e4636e6917e5c65f72f7

See more details on using hashes here.

File details

Details for the file plato_tile_pipeline-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plato_tile_pipeline-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17c18cf1e39720a61db6f190e25fa0e6df120639c620f9e0a5af14242d609e69
MD5 79eb63f45876f99b2ae75f4a2e43f3c4
BLAKE2b-256 64413411a9a3177818f30a60f143e001e3c06ea2cdd70c919bd46ac090a3ae78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page