Prompt Engine

RactoPrompt is the core of RactoGateway’s anti-hallucination prompting system. It enforces the RACTO principle: Role, Aim, Constraints, Tone, Output.

Key classes:

  • RactoPrompt — the structured prompt model; call .compile() to get the system prompt string

  • RactoFile — file attachment (images, PDFs, text) for multimodal requests

For full API details see api/prompts.