Package com.tnsai.coordination.debate
Class DebateExecutor.Builder
java.lang.Object
com.tnsai.coordination.debate.DebateExecutor.Builder
- Enclosing class:
DebateExecutor
Builder for DebateExecutor.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()format(DebateFormat format) Sets the debate format (default: STRUCTURED).judge(com.tnsai.llm.LLMClient judge) Sets the LLM that judges the debate.maxRounds(int maxRounds) Sets the maximum number of debate rounds (default: 3).opponent(com.tnsai.llm.LLMClient opponent) Sets the LLM that argues against the position.proponent(com.tnsai.llm.LLMClient proponent) Sets the LLM that argues in favor of the position.Sets the execution timeout (default: 10 minutes).
-
Method Details
-
proponent
Sets the LLM that argues in favor of the position. -
opponent
Sets the LLM that argues against the position. -
judge
Sets the LLM that judges the debate. -
maxRounds
Sets the maximum number of debate rounds (default: 3). -
format
Sets the debate format (default: STRUCTURED). -
timeout
Sets the execution timeout (default: 10 minutes). -
build
-