LabscoMCP early access ↗
Orchestra-Research avatar✓ Official

guidance

Account or credentials required★ 13k on GitHub
part of orchestra-research/ai-research-skillsby orchestra-research

You normally ask a model for output in a particular format and hope it obeys; this locks the format in while the text is being written, so a reply that does not fit simply cannot come out.

WHEN TO USE

SCOPE

USE FOR

  • Force a generated field to match a regex, such as a valid email or date format.
  • Restrict a model's answer to one of a fixed set of choices, like a sentiment label.
  • Build a multi-step agent loop with Pythonic control flow instead of prompt chaining.
  • Generate an object that's guaranteed to parse as valid JSON, without a retry loop.

NOT FOR

  • For Pydantic validation with automatic retries, use Instructor instead.
  • For JSON-schema validation, use Outlines instead.
  • For a declarative, SQL-like query syntax, use LMQL instead.