storage
__all__ = ['BaseArtifactStorage', 'TextArtifactStorage', 'BlobArtifactStorage']
module-attribute
BaseArtifactStorage
Bases: ABC
Source code in griptape/memory/task/storage/base_artifact_storage.py
can_store(artifact)
abstractmethod
load_artifacts(namespace)
abstractmethod
BlobArtifactStorage
Bases: BaseArtifactStorage
Source code in griptape/memory/task/storage/blob_artifact_storage.py
blobs: dict[str, list[BlobArtifact]] = field(factory=dict, kw_only=True)
class-attribute
instance-attribute
can_store(artifact)
load_artifacts(namespace)
store_artifact(namespace, artifact)
Source code in griptape/memory/task/storage/blob_artifact_storage.py
TextArtifactStorage
Bases: BaseArtifactStorage