autogen
autogen.ContextExpression
ContextExpression
A class to evaluate logical expressions using context variables.
Name | Description |
---|---|
expression | Type: str |
Class Attributes
expression
Instance Methods
evaluate
Evaluate the expression using the provided context variables.
Name | Description |
---|---|
context_variables | Dictionary of context variables to use for evaluation Type: dict[str, typing.Any] |
Type | Description |
---|---|
bool | bool: The result of evaluating the expression |