Skip to main content

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


Download files

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

Source Distribution

plato_inference_runtime-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

plato_inference_runtime-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for plato_inference_runtime-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d18627782ca6aa7965b7fc2d6f9a0b2eb0cde9c763b43fa6b719afa2d7e0c60f
MD5 980cd74eb3c3eea8bfbc6e107fceb8c3
BLAKE2b-256 2e3fb7524e1b6356611077c52e8f0a04e772545a8ec34851472b4b72d5453f14

See more details on using hashes here.

File details

Details for the file plato_inference_runtime-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plato_inference_runtime-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c066cc01239c92048d9a46f905130023b3013215539d61d7f4029ec0699d5ade
MD5 87fef3de1030edd4fa6c162f2074c5d0
BLAKE2b-256 875d5f29eb00916584d3770dd3f16b897abe5c5c79ae3effc2876b22b51cc946

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