Safe Regeneration एक feedback loop है: response evaluate करो, अगर threshold से नीचे है तो targeted improvement instructions के साथ LLM को वापस भेजो — जब तक pass नहीं हो जाता। अगर iteration limit पूरी हो जाए, तो अब तक का best version return होता है।Documentation Index
Fetch the complete documentation index at: https://docs.responsibleailabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
API endpoint:
POST /railscore/v1/safe-regenerate | Python: client.safe_regenerate() | JavaScript: client.safeRegenerate()कैसे काम करता है
हर iteration standalone evaluation जितने ही credits खर्च करती है। Per request 5 iterations तक।Basic usage
Credit cost
Total credits =eval_credit × (evaluations + regenerations की संख्या)।
| Mode | Per evaluation | 3-iteration example |
|---|---|---|
| Basic | 1.0 | 3.0 credits max |
| Deep | 3.0 | 9.0 credits max |
आगे क्या करें
API Reference: Safe Regeneration
Full parameter reference।
Python SDK: Safe Regeneration
Python SDK examples और options।
Concepts: Middleware
Provider wrappers के through auto-regenerate करें।
Credits & Pricing
Iteration costs समझें।