agentskit.js

EnsembleOptions

Auto-generated API reference for EnsembleOptions.

Interface: EnsembleOptions

Defined in: adapters/src/ensemble.ts:25

#Properties

#aggregate?

optional aggregate?: EnsembleAggregator

Defined in: adapters/src/ensemble.ts:28

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


#candidates

candidates: EnsembleCandidate[]

Defined in: adapters/src/ensemble.ts:26


#onBranches?

optional onBranches?: (branches) => void

Defined in: adapters/src/ensemble.ts:32

Observability hook β€” fires once with every branch's result.

#Parameters

branches

EnsembleBranchResult[]

#Returns

void


#timeoutMs?

optional timeoutMs?: number

Defined in: adapters/src/ensemble.ts:30

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

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.