Package com.tnsai.coordination.council
Class CouncilExecutor.Builder
java.lang.Object
com.tnsai.coordination.council.CouncilExecutor.Builder
- Enclosing class:
CouncilExecutor
Builder for CouncilExecutor.
-
Method Summary
Modifier and TypeMethodDescriptionaddMember(com.tnsai.llm.LLMClient member) Adds a single member to the council.anonymize(boolean anonymize) Whether to anonymize model identities during peer review (default: true).build()chairman(com.tnsai.llm.LLMClient chairman) Sets the chairman who synthesizes the final answer in Stage 3.Sets the council members (replaces any previously added).Sets the timeout for each stage (default: 5 minutes).
-
Method Details
-
members
Sets the council members (replaces any previously added).- Parameters:
members- at least 2 LLM clients
-
addMember
Adds a single member to the council. -
chairman
Sets the chairman who synthesizes the final answer in Stage 3. -
anonymize
Whether to anonymize model identities during peer review (default: true). -
timeout
Sets the timeout for each stage (default: 5 minutes). -
build
-