Expand description
Core types for Engram
Structs§
- Create
Cross RefInput - Input for creating a cross-reference
- Create
Memory Input - Input for creating a new memory
- Cross
Reference - Cross-reference (relation) between memories
- Embedding
Config - Embedding model configuration
- Embedding
Status - Embedding queue status
- List
Options - Options for listing memories
- Match
Info - Information about how a search result matched
- Memory
- A memory entry in the database
- Memory
Version - Memory version for history tracking
- Search
Options - Options for search operations
- Search
Result - Search result with metadata
- Storage
Config - Configuration for the storage engine
- Storage
Stats - Statistics about the memory store
- Sync
Status - Sync status information
- Update
Memory Input - Input for updating a memory
- Workspace
Stats - Statistics for a workspace
Enums§
- Dedup
Mode - Deduplication mode when creating memories
- Edge
Type - Types of edges/relationships between memories
- Embedding
State - State of embedding computation
- Lifecycle
State - Lifecycle state for memory management (Phase 5 - ENG-37)
- Memory
Scope - Memory scope for isolating memories by user, session, agent, or global
- Memory
Tier - Memory tier for tiered storage (permanent vs ephemeral)
- Memory
Type - Memory type classification
- Relation
Source - How a relation was created
- Search
Strategy - Search strategy used
- Sort
Field - Fields to sort by
- Sort
Order - Sort order
- Storage
Mode - Storage mode for SQLite
- Visibility
- Visibility levels for memories
- Workspace
Error - Workspace validation error
Constants§
- MAX_
WORKSPACE_ LENGTH - Maximum workspace name length
- RESERVED_
WORKSPACES - Reserved workspace names that cannot be used
Functions§
- normalize_
workspace - Normalize and validate a workspace name
Type Aliases§
- Memory
Id - Unique identifier for a memory