Enhance prompt
Improve AI prompts before sending them to Bob. Automatically refine requests for clarity, context, and better results. Click the sparkles icon to enhance your prompt.
Why use this feature?
- Improved clarity: Your prompts become more understandable for the AI model
- Added context: The enhancement process uses relevant context such as the current file path or selected code
- Better instructions: Your enhanced prompt contains specific guidance for the AI, such as formatting preferences or detail level.
- Reduced ambiguity: The enhancement process eliminates unclear language and ensures Bob understands your intent
- Consistency: Your prompts follow a standardized format that works well with the AI
How it works
- Type your initial prompt in the Bob chat interface as you normally would.
- Click the icon located in the bottom right of the chat input box.
- Review the enhanced prompt to make sure it accurately reflects your intent.
- Send the enhanced prompt by pressing Enter or clicking the Send icon ()
The enhancement process works best with prompts that have a clear goal but need additional structure or context.
Example transformations
Basic example
Original prompt:
make a function to calculate taxEnhanced prompt:
Create a JavaScript function that calculates sales tax. The function should:
1. Take two parameters: price (number) and taxRate (decimal)
2. Return the calculated tax amount
3. Include proper error handling for invalid inputs
4. Include comments explaining the calculation logic
Please provide the complete function implementation with an example of how to use it.Limitations and best practices
- Experimental feature: Prompt enhancement is still experimental. The quality of enhanced prompts may vary depending on your request's complexity and the model's capabilities.
- Review carefully: Always review the enhanced prompt before sending it. The enhancement process might make changes that do not align with your intentions.
- Iterative refinement: You can apply Enhance Prompt multiple times to iteratively refine your prompt until it is exactly what you want.
- Start with clear intentions: While enhancement improves your prompts, starting with a clear idea of what you want will produce the best results.
- Context matters: Enhancement works best when Bob has context about your current task. If you are starting a new conversation, provide some initial context before using Enhance Prompt.
By using Enhance Prompt, you can get more accurate and helpful responses from Bob while saving time on writing detailed prompts from scratch.
Pull requests
Generate pull requests and PR descriptions directly from your IDE. Bob analyzes changes, creates detailed descriptions, and streamlines your workflow.
Literate coding
Write code with AI assistance directly in your editor using natural language instructions right where the code should go. Bob generates the implementation in context with inline diffs.