LLM Conditions#
This module provides LLM-based conditions.
- class LLMCondition(**data)[source]#
Bases:
BaseCondition
,BaseLLMScriptFunction
LLM-based condition. Uses prompt to produce result from model and evaluates the result using given method.
-
method:
BaseMethod
# Method that takes model’s output and returns boolean.
-
history:
int
# Number of dialogue turns aside from the current one to keep in history. -1 for full history.
-
method: