skyl / corpora

Corpora is a self-building corpus that can help build other arbitrary corpora
GNU Affero General Public License v3.0
2 stars 0 forks source link

Add Auto-Labeling Feature for Issues with User Guidance #37

Open skyl opened 1 week ago

skyl commented 1 week ago

Problem Description

The current corpora plan issue command does not support auto-labeling of issues, which can streamline issue management and categorization. This feature is essential for improving workflow efficiency and accuracy in issue tracking.

Goals

  1. Enhance Auto-Labeling: Integrate auto-labeling capability into the corpora plan issue command to facilitate automatic label assignment during issue creation.
  2. Standalone Labeling Command: Introduce a new CLI command (plan label_issue) to apply auto-labeling to existing issues.
  3. User Guidance for Labeling: Allow users to guide the auto-labeling process by providing context that reflects their preferred labeling schemes.

Context

Implementation Considerations

  1. LLM Context Injection: Develop a mechanism to utilize .corpora/LABELS.md for guiding LLM-driven labeling processes, ensuring labels reflect the user's preferred scheme.
  2. CLI Enhancements: Modify existing CLI commands and introduce new ones to support auto-labeling actions both during issue creation and for existing issues.
  3. Flexibility: Ensure the auto-labeling system can adapt to diverse corpus types and labeling philosophies.

References

This feature is intended to enhance efficiency and customization in issue management within the Corpora framework by minimizing manual labeling effort and aligning with user needs. Implementing user-guided context for LLM-based auto-labeling will ensure more accurate and relevant labeling outcomes. This initiative will support streamlined operations and tailored project organization processes.