Skip to content

Prompt Refiner Strategies

Available Strategies

The following table lists the available prompt enhancement strategies in PromptRefiner, along with their aliases and descriptions.

Strategy Alias Description
persona per Returns an optimized Persona-Based prompting instruction for LLMs.
fewshot fs Refines a prompt by following the Few-Shot prompt technique.
chainofthought cot Returns an optimized Chain-of-Thought (CoT) prompting instruction for LLMs.
selfconsist sc Returns an optimized Self-Consistency prompting instruction for LLMs.
recref rcr Returns an optimized Recursive Critique & Refinement prompting instruction for LLMs.

Each strategy enhances prompt quality by applying a specific prompting technique, ensuring better interaction with large language models (LLMs).

We frequently onboard new techniques. If you have suggestions or would like to contribute, please refer to the Contributing Guidelines.

🚧 Coming Soon!

The detailed content will be available soon. 🚀