API Reference ============= This section contains the complete, auto-generated documentation for every public class, method, and data model in PromptGuard. .. list-table:: :header-rows: 1 :widths: 30 70 * - Module - Description * - :doc:`core` - :class:`~promptguard.PromptGuard` — the main entry point * - :doc:`schemas` - Data models: :class:`~promptguard.RiskScore`, :class:`~promptguard.SanitizeResponse`, enums * - :doc:`analyzers` - :class:`~promptguard.SentimentAnalyzer`, :class:`~promptguard.IntentClassifier`, :class:`~promptguard.KeywordExtractor`, :class:`~promptguard.AttackPatternDetector` * - :doc:`sanitizers` - :class:`~promptguard.PromptSanitizer`, :class:`~promptguard.AdvancedSanitizer` * - :doc:`cache` - :class:`~promptguard.PromptCache` — LRU cache with TTL support * - :doc:`utils` - Batch-result helpers and CSV export * - :doc:`exceptions` - Custom exception hierarchy * - :doc:`config` - :class:`~promptguard.PromptGuardConfig` * - :doc:`logging` - Logging helpers .. toctree:: :hidden: core schemas analyzers sanitizers cache utils exceptions config logging