evaluateCondition

abstract fun evaluateCondition(condition: String, context: String, confidenceThreshold: <Error class: unknown class> = 0.8): ThinkingResponse<Boolean>

Evaluate a condition with thinking block extraction.

Evaluates a boolean condition using the LLM while capturing its reasoning process.

Return

Response containing both the evaluation result and extracted thinking blocks

Parameters

condition

The condition to evaluate

context

The context for evaluation

confidenceThreshold

The confidence threshold for the evaluation