Documentation

Reprompt API

Generate improvement prompts for AI-generated content based on RAIL evaluation

How It Works

Reprompt endpoints evaluate AI-generated responses and provide actionable improvement suggestions when the content scores below your specified threshold.

When score >= threshold
improvement_prompt: null
When score < threshold
Returns actionable improvement guidance

Endpoints