Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.11.0
Text Selection and Comment Feature Guide π
New Feature Overview
We've added Microsoft Word-like text selection and comment functionality to the evaluation module! Now experts can:
- Select Any Text: Click and drag to select any sentence or phrase in the AI-generated patient summary
- Add Precise Comments: Add comments for specific selected text
- Manage Comments: View all comments, clear comments, etc.
How to Use
1. Select Patient Sample
- In the "π¬ Expert Evaluation" page, select a patient sample to evaluate
- The AI-generated summary will appear in a selectable text area
2. Select Text
- In the AI summary area, use mouse to click and drag to select text
- Selected text will automatically appear in the "π― Currently Selected Text" box
3. Add Comments
- Enter your comment in the "Comment for Selected Text" box
- Click "β Add Comment" button to save comment
- Comment will immediately be added to the "All Text Comments" list
4. Manage Comments
- View all comments in "All Text Comments"
- Click "ποΈ Clear All Comments" to clear all comments
- Can add multiple comments for different text segments
5. Submit Evaluation
- After completing text comments, fill in other evaluation fields
- Click "Submit Patient Evaluation" to submit complete evaluation
Technical Features
β¨ User Experience Improvements
- Intuitive Text Selection: Word-like click and drag selection
- Real-time Feedback: Selected text displays immediately
- Clear Interface: Separate comment display and management areas
π§ Functionality Features
- Precise Targeting: Support for selecting text segments of any length
- Multi-comment Support: Can add multiple comments for different parts of the same summary
- JSON Storage: Comments saved in structured format for easy analysis
π Data Format
Comment data storage format:
{
"Selected text segment 1": "Corresponding comment content 1",
"Selected text segment 2": "Corresponding comment content 2"
}
Usage Example
Suppose AI summary contains:
"Patient presents with fever symptoms, temperature 38.5Β°C. Blood tests recommended to determine infection source."
Expert can:
- Select "fever symptoms" β Comment: "Symptom description accurate"
- Select "Blood tests recommended" β Comment: "Appropriate diagnostic approach"
- Select "38.5Β°C" β Comment: "Should specify measurement method"
This allows for precise, detailed feedback on specific portions of AI-generated medical summaries.