Skip to content

API Reference

Table of Contents

Overview

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.

API Structure

The API is organized into the following sections:

Modules

Decorators

Usage Example

from prompt_decorators import transform_prompt

# Transform a prompt using decorators
transformed_prompt = transform_prompt(
    "What are the environmental impacts of electric vehicles?",
    ["+++StepByStep(numbered=true)", "+++Reasoning(depth=comprehensive)"]
)

For more examples, see the Quick Start guide.