PLATO inference runtime — lightweight tile scoring and Q&A evaluation
Project description
⚡ Plato Inference Runtime
Lightweight tile scoring and Q&A evaluation for PLATO rooms
Scores tile quality on 5 axes (relevance, specificity, completeness, clarity, confidence) with composite scoring. Evaluates Q&A pairs against expected topic coverage.
Install
pip install plato-inference-runtime
Quick Start
from plato_inference_runtime import TileScorer, QAEvaluator
scorer = TileScorer(min_quality=0.4)
m = scorer.score("What is PLATO?", "PLATO is a knowledge room system that stores tiles as Q&A pairs")
print(f"Quality: {m.composite:.2f}, Passes: {scorer.passes_gate(m)}")
evaluator = QAEvaluator(expected_topics={"plato": ["room", "tile", "knowledge"]})
result = evaluator.evaluate("What is PLATO?", "PLATO rooms store knowledge tiles", domain="plato")
print(f"Score: {result.score:.2f}, Coverage: {result.coverage:.2f}, Gaps: {result.gaps}")
Part of Cocapn · Agent Infrastructure
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plato_inference_runtime-0.1.1.tar.gz.
File metadata
- Download URL: plato_inference_runtime-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d18627782ca6aa7965b7fc2d6f9a0b2eb0cde9c763b43fa6b719afa2d7e0c60f
|
|
| MD5 |
980cd74eb3c3eea8bfbc6e107fceb8c3
|
|
| BLAKE2b-256 |
2e3fb7524e1b6356611077c52e8f0a04e772545a8ec34851472b4b72d5453f14
|
File details
Details for the file plato_inference_runtime-0.1.1-py3-none-any.whl.
File metadata
- Download URL: plato_inference_runtime-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c066cc01239c92048d9a46f905130023b3013215539d61d7f4029ec0699d5ade
|
|
| MD5 |
87fef3de1030edd4fa6c162f2074c5d0
|
|
| BLAKE2b-256 |
875d5f29eb00916584d3770dd3f16b897abe5c5c79ae3effc2876b22b51cc946
|