Prompt Refinement
# Prompt Refinement Feature
The prompt refinement feature provides a comprehensive AI-powered interface for optimizing prompts from multiple sources, including personal library, community prompts, and manual input.
## Overview
This feature offers a dedicated refinement interface (`/refinement`) where users can select prompts from various sources and apply intelligent AI-powered refinements using quick actions or custom instructions. It helps users create more effective prompts that generate better AI responses.
## Key Features
### Multi-Source Prompt Selection
- **Manual Input**: Type or paste prompts directly
- **Saved Prompts**: Choose from your personal library
- **Community Prompts**: Select from community-shared prompts
- **Easy Navigation**: Seamless switching between prompt sources
### Smart Refinement Actions
- **Shorten**: Makes prompts more concise while preserving essential meaning
- **Elaborate**: Adds details, context, and specificity to improve clarity
- **Improve**: Enhances overall prompt quality and effectiveness
- **Fix Grammar**: Corrects grammar, spelling, and language issues
- **Custom Instructions**: Specify exactly how to refine your prompt
### Intelligent AI Processing
- Context-aware refinement based on prompt type and content
- Preserves core meaning while optimizing structure
- Provides immediate feedback on refinement results
- AI-powered title generation for saved refined prompts
## Implementation Details
### Dedicated Refinement Interface
The refinement feature provides a comprehensive interface at `/refinement` with:
1. **Prompt Source Selection**: Choose between manual input, saved prompts, or community prompts
2. **Refinement Action Selection**: Pick from quick actions or provide custom instructions
3. **Real-time Preview**: See selected prompt and action before refining
4. **Result Management**: Copy, save, or refine again with the results
### API Integration
- **Endpoint**: `/refine_prompt`
- **Method**: POST
- **Authentication**: Required (login)
- **Cost**: 0.5 points (if user doesn't have API key)
#### Request Formatwhen to use it
Community prompt sourced from the open-source GitHub repo 1999AZZAR/prompt-sanctuary (Unlicense). A "Prompt Refinement" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
1999AZZAR/prompt-sanctuary · Unlicense