org.llm4s.context.ArtifactStore
See theArtifactStore companion object
trait ArtifactStore
Storage interface for externalized content.
When tool outputs exceed the externalization threshold, they are stored in an ArtifactStore and replaced with content pointers. This allows the conversation to reference the content without including it inline.
==Content-Addressed Storage==
Content is stored using content-addressed keys (based on content hash), which enables:
- Deduplication of identical outputs
- Efficient retrieval without scanning
- Immutable content guarantees
==Implementations==
Use ArtifactStore.inMemory for testing and short-lived sessions. For production, implement with persistent storage (database, S3, etc.).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article