Skip to main content

plato-ask

Query your PLATO tile corpus from the command line. No API keys, no network — pure local search over your knowledge tiles.

Install

pip install plato-ask

Usage

# Ask a question
plato-ask "What is priority inversion in RTOS?"

# Search for multiple matches
plato-ask --search "quantum error correction" --top 5

# List domains
plato-ask --domains

# Corpus statistics
plato-ask --stats

# Custom tile directory
plato-ask "How does TCP work?" --tiles-dir /path/to/tiles

How It Works

Builds an inverted index over all .jsonl tile files in the corpus directory. Each tile's question and answer fields are tokenized and indexed. Queries are scored by term overlap with ranking.

Performance: 5447 tiles indexed in <1 second, queries return in <10ms.

Tile Format

Expects JSONL files with tiles in this format:

{"id": "...", "question": "...", "answer": "...", "domain": "...", "difficulty": "advanced"}

Part of PLATO

PLATO is a knowledge framework for AI fleets. See cocapn/fleet-knowledge for the full tile corpus.

Metadata

Release files for plato-ask 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for plato-ask 0.1.0
File Interpreter ABI Platform Actions
plato_ask-0.1.0-py3-none-any.whl Python 3 none any Details for plato_ask-0.1.0-py3-none-any.whl

Release files / plato_ask-0.1.0-py3-none-any.whl

Download URL plato_ask-0.1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4aba2bcbd4b9a3480f597afc24982c6ccf570b5beddfd8809a6e7da0a154fa5
BLAKE2b-256 checksum
How to use checksums
ae7ff441badbb93bcea3082803dd539fda03e5357db0de988f2e34140cfc280e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for plato-ask 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page