-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestsmart-cleanSmart Clean (AI) relatedSmart Clean (AI) related
Description
Description
The Smart Clean mode uses LLM prompts to clean documents. We can improve the prompts to get better results.
Use Case
Current Smart Clean sometimes removes content that should be kept or keeps content that should be removed. Better prompts could improve accuracy.
Proposed Solution
Research and improve the prompt in SmartCleaner.buildPromptForChunk():
- Add more examples
- Clarify edge cases
- Improve instructions for context preservation
- Add instructions for handling tables, lists, code blocks
Files to Modify
docs/assets/app.js-SmartCleanerclass,buildPromptForChunkmethod
Research Areas
- Prompt engineering best practices
- Few-shot learning examples
- Context window optimization
Impact
- Who benefits: All Smart Clean users
- Priority: High
- Complexity: Medium
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsmart-cleanSmart Clean (AI) relatedSmart Clean (AI) related