Skip to content

Latest commit

 

History

History

README.md

PythonHere %%there ai prompts

These Markdown files are PythonHere-specific prompt sections for %%there ai. They are registered when the pythonhere IPython extension is loaded.

The prompt sections describe the live PythonHere runtime: Kivy widgets, Android/Python-for-Android APIs, Pyjnius, Plyer, runtime permissions, installed packages, media access, BLE, and MIDI.

Active by default

Normal %%there ai requests use these PythonHere sections together with the generic default prompt from herethere:

Available on request

These sections are registered but not active by default. Add them with %%there ai --prompts ... when a request needs that context:

Example:

%%there ai --prompts able
Build a small BLE scanner prototype.

%%there ai --fix also uses the herethere fix prompt section.

Custom prompts

Notebook-specific prompt sections can be added with herethere.there.ai.register_ai_prompt(...). Use custom prompts for visual style, domain vocabulary, prototype conventions, or other context that should not be part of the built-in PythonHere prompt stack.