boolean_artifact
BooleanArtifact
Bases: BaseArtifact
Stores a boolean value.
Attributes:
Name | Type | Description |
---|---|---|
value |
bool
|
The boolean value. |
Source code in griptape/artifacts/boolean_artifact.py
value: bool = field(converter=bool, metadata={'serializable': True})
class-attribute
instance-attribute
__add__(other)
__eq__(value)
parse_bool(value)
classmethod
Convert a string literal or bool to a BooleanArtifact. The string must be either "true" or "false".