Skip to main content
Python: Sessions | Policy Engine | Concepts: Policy Engine

Session tracking

RAILSession एक multi-turn conversation में scores track करता है — configurable deep-eval frequency और quality threshold alerts के साथ।

Policy engine

Content quality policies enforce करें — चार modes हैं: LOG_ONLY, BLOCK, REGENERATE, CUSTOM

Middleware

किसी भी async function को pre/post RAIL evaluation के साथ wrap करें:

आगे क्या देखें

Providers and Reference

LLM provider wrappers, error handling, और TypeScript types।

Concepts: Policy Engine

Policy rules hood के नीचे कैसे काम करते हैं।