Skip to content

Productize SES into an AI Data & Training Toolkit - #7

Closed
Julio-Patron wants to merge 1 commit into
mainfrom
ses-data-toolkit-2575690193616040359
Closed

Julio-Patron wants to merge 1 commit into
mainfrom
ses-data-toolkit-2575690193616040359

Conversation

@Julio-Patron

Copy link
Copy Markdown
Owner

Implementation of the SES Productization Plan. Adds Data & Training Toolkit features including dataset exporters (JSONL, Parquet), hard negative mining, semantic deduplication, synthetic pair generation (SFT/DPO), and RAFT dataset generation. Also adds CLI commands, Gateway REST API endpoints for async job monitoring, an updated Database layer, and a new Training Studio dashboard in the Next.js UI.


PR created automatically by Jules for task 2575690193616040359 started by @Julio-Patron

This commit evolves SES into a comprehensive data & training toolkit:
- Rust Core (`core_rs`): Added `batch_hard_negative_mining` and `semantic_dedup` to `jas_vector_core` for highly optimized C-contiguous array computations.
- Python Module (`ses.data`): Added a complete training toolkit including exporters, hard negative miners, deduplicators, synthetic pair generation (SFT & DPO), and RAFT example generation.
- Python Core (`ses.core.llm`): Extended local LLM routing to support OpenAI-compatible endpoints alongside Ollama.
- Database (`gateway/database.py`): Extended PostgreSQL and SQLite adapters with `dataset_jobs` tables and background job management functions.
- API endpoints (`gateway/server.py`): Added `/api/v1/datasets/generate`, `/api/v1/datasets/jobs/{job_id}`, and `/api/v1/datasets/download/{job_id}` for managing async dataset generation tasks, as well as `/api/v1/tools/agent-spec`.
- CLI commands (`ses/cli.py`): Extended the CLI with `data` subcommand providing curation, deduplication, mining, and dataset generation functionalities.
- Web UI (`portal`): Created the new Training & Dataset Studio (`/studio`) interface to launch and monitor generation jobs visually.

Co-authored-by: Julio-Patron <225645035+Julio-Patron@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@Julio-Patron
Julio-Patron deleted the ses-data-toolkit-2575690193616040359 branch October 14, 2026 06:53
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.

1 participant