Skip to content

Conversation

@Khauneesh-AI
Copy link
Collaborator

Release SDS Version 1.0.4

Key Features

1. Configurable Concurrency Parameters

  • Added max_concurrent_topics parameter to SynthesisRequest (1-100, default: 5)
  • Added max_workers parameter to EvaluationRequest (1-100, default: 4)
  • Allows users to optimize performance based on infrastructure

2. Service Architecture Refactor

  • Split synthesis services:
    • synthesis_service.py - Freeform data generation only
    • synthesis_legacy_service.py - SFT and Custom Workflow
  • Split evaluator services:
    • evaluator_service.py - Freeform evaluation only
    • evaluator_legacy_service.py - SFT and Custom Workflow evaluation
  • Improved code maintainability and separation of concerns
  • Backward compatible - all existing endpoints work as before

This is a minor release to provide concurrent threads as a variable via backend API for advanced users

Keivan Vosoughi and others added 6 commits August 28, 2025 11:16
…flow

- Split synthesis_service.py into:
  * synthesis_service.py (freeform only)
  * synthesis_legacy_service.py (SFT & Custom_Workflow)

- Split evaluator_service.py into:
  * evaluator_service.py (freeform only)
  * evaluator_legacy_service.py (SFT & Custom_Workflow)

- Updated main.py to route requests to appropriate services
- Updated all dependent files (synthesis_job, model_alignment, run scripts)
- Created comprehensive test coverage for both legacy and freeform services
- Added .gitignore patterns to prevent committing generated data files
- Maintained full backward compatibility - all endpoints work as before

This refactoring isolates freeform functionality while preserving
existing SFT and Custom_Workflow features without breaking changes.
…ervices

- Added max_concurrent_topics field to SynthesisRequest (1-100, default: 5)
- Added max_workers field to EvaluationRequest (1-100, default: 4)
- Updated all synthesis services to use request.max_concurrent_topics
- Updated all evaluator services to use request.max_workers
- Added validation constraints to prevent invalid values
- Updated example payloads in main.py to include new parameters
- Services now respect API-configurable concurrency limits while maintaining defaults

This allows users to optimize performance based on their infrastructure
and workload requirements via API parameters.
@Khauneesh-AI Khauneesh-AI merged commit 6775998 into main Nov 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants