Skip to content

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

Open
doxav wants to merge 1 commit into
AgentOpt:experimentalfrom
doxav:optoprimemultiv2
Open

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

Conversation

@doxav
Copy link
Copy Markdown
Collaborator

@doxav doxav commented May 13, 2026

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.
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