agentskit.js

EnsembleOptions

Auto-generated API reference for EnsembleOptions.

Interface: EnsembleOptions

Defined in: ensemble.ts:23

#Properties

#aggregate?

optional aggregate?: EnsembleAggregator

Defined in: ensemble.ts:26

How to combine branches into the single output text. Default 'majority-vote'.


#candidates

candidates: EnsembleCandidate[]

Defined in: ensemble.ts:24


#onBranches?

optional onBranches?: (branches) => void

Defined in: ensemble.ts:30

Observability hook — fires once with every branch's result.

#Parameters

branches

EnsembleBranchResult[]

#Returns

void


#timeoutMs?

optional timeoutMs?: number

Defined in: ensemble.ts:28

Per-candidate timeout in ms. Branches that time out are marked with an error.

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page