-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The validation system in TagGen AI could be extracted into a separate reusable package for better modularity and reusability across different projects.
Current State
- Validation system is tightly coupled with TagGen AI
- Limited reusability across different projects
- Validation logic mixed with business logic
Benefits of Separation
- Reusable across multiple AI projects
- Better maintainability and testing
- Independent versioning and updates
- Cleaner separation of concerns
- Easier to contribute and collaborate
Proposed Structure
- Create a new package:
taggen-validation - Extract validation classes and utilities
- Maintain backward compatibility
- Add comprehensive documentation
- Include example usage
Technical Details
- File:
src/validation/__init__.py:1 - Current validation system includes:
- Request validation
- File validation
- Examples validation
- Need to identify reusable components
Acceptance Criteria
- Analyze current validation system
- Identify reusable components
- Design package structure
- Create new package repository
- Migrate validation logic
- Update TagGen AI to use new package
- Add comprehensive documentation
- Create migration guide
Reactions are currently unavailable