API Reference¶
This section contains the API reference for the Prompt Decorators package. It provides detailed documentation for all modules, classes, functions, and properties in the package.
Table of Contents¶
Core Modules¶
- prompt_decorators.core: Core components of the prompt decorators system.
- prompt_decorators.core.base: Base classes for prompt decorators.
- prompt_decorators.core.dynamic_decorator: Dynamic decorator functionality for prompt transformations.
- prompt_decorators.core.exceptions: Exceptions for the prompt-decorators package.
- prompt_decorators.core.model_specific: Model-Specific Decorator Module.
- prompt_decorators.core.parser: Parser module for extracting decorators from prompts.
- prompt_decorators.core.registry: Registry for prompt decorators.
- prompt_decorators.core.request: Request handling for prompt decorators.
- prompt_decorators.core.validation: Parameter Validation Module.
Schema Modules¶
- prompt_decorators.schemas: Schema definitions for prompt decorators.
- prompt_decorators.schemas.decorator_schema: Schema definitions for prompt decorators.
Utility Modules¶
- prompt_decorators.utils: Utility functions for prompt decorators.
- prompt_decorators.utils.cache: Decorator Cache Module.
- prompt_decorators.utils.compatibility: Decorator Compatibility Module.
- prompt_decorators.utils.discovery: Decorator discovery and registration utilities.
- prompt_decorators.utils.factory: Decorator Factory Module.
- prompt_decorators.utils.json_loader: JSON loading utilities for decorator definitions.
- prompt_decorators.utils.model_detection: Model detection and capability utilities.
- prompt_decorators.utils.plugins: Plugin System Module.
- prompt_decorators.utils.string_utils: String utilities for working with prompt decorators.
- prompt_decorators.utils.telemetry: Telemetry Module.
Integration Modules¶
- prompt_decorators.integrations: Integration modules for Prompt Decorators.
- prompt_decorators.integrations.mcp: Model Context Protocol (MCP) integration for Prompt Decorators.
- prompt_decorators.integrations.mcp.main: Command-line entry point for running the Prompt Decorators MCP server.
- prompt_decorators.integrations.mcp.claude_desktop: Entry point for running the Prompt Decorators MCP server for Claude Desktop.
- prompt_decorators.integrations.mcp.install_claude_desktop: Installation helper for Claude Desktop integration.
- prompt_decorators.integrations.mcp.server: MCP Server for Prompt Decorators.
Other Modules¶
- prompt_decorators.config: Configuration settings for prompt decorators package.
- prompt_decorators.dynamic_decorators_module: Dynamic Prompt Decorators Module.