Skip to content

Implement OptoPrimeMultiV2 optimizer with multi-candidate support compatible with OptoPrimeV2#75

Merged
chinganc merged 1 commit into
AgentOpt:experimentalfrom
doxav:optoprimemultiv2
Jun 10, 2026
Merged

Implement OptoPrimeMultiV2 optimizer with multi-candidate support compatible with OptoPrimeV2#75
chinganc merged 1 commit into
AgentOpt:experimentalfrom
doxav:optoprimemultiv2

Conversation

@doxav

@doxav doxav commented May 13, 2026

Copy link
Copy Markdown
Collaborator

A notebook demonstrate its usage at examples/notebooks/optoprimemultiv2.ipynb

port OptoPrimeMulti compatible only OptoPrimeV1 to OptoPrimeMultiV2 for OptoPrimeV2

  • Added OptoPrimeMultiMixin for shared functionality across multi-candidate optimizers.
  • Created OptoPrimeMultiV2 class extending OptoPrimeMultiMixin and OptoPrimeV2 for multi-candidate optimization.
  • Developed candidate generation strategies including temperature variation, self-refinement, iterative alternatives, and multi-experts.
  • Implemented selection techniques such as best_of_n, majority, and mixture_of_agents.
  • Added unit and integration tests for OptoPrimeMultiV2 to ensure functionality and correctness.
  • Included support for JSON object response format in candidate generation.

…patible with OptoPrimeV2

A notebook demonstrate its usafe

- Added OptoPrimeMultiMixin for shared functionality across multi-candidate optimizers.
- Created OptoPrimeMultiV2 class extending OptoPrimeMultiMixin and OptoPrimeV2 for multi-candidate optimization.
- Developed candidate generation strategies including temperature variation, self-refinement, iterative alternatives, and multi-experts.
- Implemented selection techniques such as best_of_n, majority, and mixture_of_agents.
- Added unit and integration tests for OptoPrimeMultiV2 to ensure functionality and correctness.
- Included support for JSON object response format in candidate generation.
@chinganc

Copy link
Copy Markdown
Member

LGTM

@chinganc chinganc merged commit b32f85a into AgentOpt:experimental Jun 10, 2026
1 check 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