Prompt Intf.doc
Prompt_intf – Structured prompts for LLM calls
================================================
`Prompt_intf` is a tiny utility module that formalises what a *prompt* is in
the context of the **meta-prompting** pipeline shipped with OChat. It gives
callers a *typed* representation instead of raw strings so that:
* individual sections can be manipulated independently (e.g. prepend a system
directive, inject trace-ids, attach long examples as foot-notes …),
* the final assembly logic lives in one place, ensuring a consistent textual
layout across the whole code-base.
Unlike `Prompt_session.t`—which stores past interactions—`Prompt_intf.t` is
dedicated to building the *next* single prompt to send to the model.
---
Record fields
-------------when to use it
Community prompt sourced from the open-source GitHub repo dakotamurphyucf/ochat (MIT). A "Prompt Intf.doc" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
dakotamurphyucf/ochat · MIT