Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
32b722f
[Feature] Implement memory types and statistics for GraphBit Python b…
jj-devhub Oct 14, 2025
a2a01bd
[Feature] Add in-memory storage implementation with capacity manageme…
jj-devhub Oct 14, 2025
9562aae
[Feature] Implement LLM-based memory extraction with configurable set…
jj-devhub Oct 14, 2025
c310ef3
[Feature] Add FactualMemory implementation for long-term structured k…
jj-devhub Oct 14, 2025
da6f145
[Feature] Implement episodic memory for conversation history tracking
jj-devhub Oct 14, 2025
dc53da9
[Feature] Add semantic memory implementation for pattern-based knowle…
jj-devhub Oct 14, 2025
68e56a9
[Feature] Implement working memory for short-term session-based context
jj-devhub Oct 14, 2025
4f68dd4
[Feature] Implement memory decay and filtering mechanisms
jj-devhub Oct 14, 2025
dd0f962
[Feature] Add memory retrieval engine with semantic and keyword searc…
jj-devhub Oct 14, 2025
dc31ffa
[Feature] Create memory module for GraphBit Python bindings
jj-devhub Oct 14, 2025
8fbab72
[Feature] Define core memory types and structures for GraphBit memory…
jj-devhub Oct 14, 2025
b94eecf
[Feature] Add memory tools module for agent integration with recall a…
jj-devhub Oct 14, 2025
24d4487
[Feature] Implement central memory manager with configuration and mem…
jj-devhub Oct 14, 2025
c9d31fc
[Feature] Add comprehensive memory system module for stateful AI agents
jj-devhub Oct 14, 2025
a59e289
[Feature] Add optional memory manager to WorkflowContext for stateful…
jj-devhub Oct 14, 2025
213a782
[Feature] Add memory module to core library for enhanced agent capabi…
jj-devhub Oct 14, 2025
6eef520
Refactor metadata handling in WorkflowExecutor for improved readabili…
jj-devhub Oct 14, 2025
d49d138
[Feature] Add memory error type to GraphBitError for enhanced error h…
jj-devhub Oct 14, 2025
8e62281
[Feature] Add memory system classes to Python bindings for enhanced f…
jj-devhub Oct 14, 2025
71407ab
[Feature] Implement MemoryConfig class for memory system configuratio…
jj-devhub Oct 14, 2025
b3b8980
[Feature] Add MemoryQuery class for memory retrieval in Python bindings
jj-devhub Oct 14, 2025
b7399e7
[Feature] Implement MemoryManager class for managing stateful agent m…
jj-devhub Oct 14, 2025
331f5d9
Refactor import statements for consistency in memory types module
jj-devhub Oct 14, 2025
47f9e2f
Fix missing newline at end of file in Azure OpenAI module tests
jj-devhub Oct 14, 2025
779ccaa
Refactor get_node_response_metadata method signature for improved rea…
jj-devhub Oct 14, 2025
745886b
Refactor LlmClient request execution for improved readability
jj-devhub Oct 14, 2025
c0c6ae5
Refactor PyLlmUsage and PyLlmToolCall methods for improved readability
jj-devhub Oct 14, 2025
b1dcc60
Add documentation for Memory System in Stateful AI Agents
jj-devhub Oct 14, 2025
b4e39eb
Add support for empty queries in MemoryRetriever to return all filter…
jj-devhub Oct 16, 2025
d5d8609
Fix runtime type in MemoryManager and improve error handling for toki…
jj-devhub Oct 16, 2025
b3bee59
Add memory system tests module with comprehensive test cases
jj-devhub Oct 16, 2025
dc80d20
Add pytest configuration for tokio runtime in GraphBit tests
jj-devhub Oct 16, 2025
33aabf3
Refactor memory manager methods in WorkflowContext for improved reada…
jj-devhub Oct 19, 2025
5802d3b
Refactor decay manager methods for improved readability and consistency
jj-devhub Oct 19, 2025
911811f
Clean up whitespace and improve code formatting in EpisodicMemory imp…
jj-devhub Oct 19, 2025
d228d20
Refactor extraction method for improved readability and consistency
jj-devhub Oct 19, 2025
cc5135e
Clean up whitespace and improve code formatting in FactualMemory impl…
jj-devhub Oct 19, 2025
9093ead
Add methods for managing facts and concepts in MemoryManager
jj-devhub Oct 19, 2025
5082e0a
Remove unused import for WorkingMemory in memory module
jj-devhub Oct 19, 2025
6e3712e
Refactor filtering logic and improve code readability in MemoryRetriever
jj-devhub Oct 19, 2025
36eadc4
Clean up whitespace and improve code formatting in SemanticMemory imp…
jj-devhub Oct 19, 2025
c64b515
Clean up whitespace and improve code formatting in InMemoryStorage im…
jj-devhub Oct 19, 2025
25e1026
Refactor code for improved readability in MemoryTools implementation
jj-devhub Oct 19, 2025
ad87358
Refactor MemoryEntry::new method for improved readability and clean u…
jj-devhub Oct 19, 2025
cd1d50b
Clean up whitespace and improve code formatting in WorkingMemory impl…
jj-devhub Oct 19, 2025
e7f12c7
Add integration tests for GraphBit memory system functionality
jj-devhub Oct 19, 2025
206d5a8
Add MemoryConfig and SemanticConcept classes to the GraphBit memory s…
jj-devhub Oct 19, 2025
9f74a4e
Remove unnecessary trailing whitespace in MemoryConfig implementation
jj-devhub Oct 19, 2025
32c2c28
Add DecayStats class for memory decay statistics in GraphBit Python b…
jj-devhub Oct 19, 2025
ed81d3d
Add asynchronous methods for fact and concept management in MemoryMan…
jj-devhub Oct 19, 2025
d306a38
Add missing module exports for decay and semantic in memory module
jj-devhub Oct 19, 2025
abcf298
Remove unnecessary trailing whitespace in MemoryQuery implementation
jj-devhub Oct 19, 2025
0fdf406
Add SemanticConcept class for Python bindings of semantic memory types
jj-devhub Oct 19, 2025
33fc532
Enhance MemoryType enum with equality traits and add string represent…
jj-devhub Oct 19, 2025
051ea93
Add .txt files to .gitignore for better file management
jj-devhub Oct 19, 2025
df4f87e
Add test helpers for memory system tests
jj-devhub Oct 19, 2025
1b08f3f
Remove unnecessary blank line in memory tests module
jj-devhub Oct 19, 2025
268e421
Add comprehensive tests for memory decay functionality
jj-devhub Oct 19, 2025
2dbe7a2
Add tests for episodic memory functionality
jj-devhub Oct 19, 2025
dd3f906
Add comprehensive tests for factual memory functionality
jj-devhub Oct 19, 2025
854816c
Add comprehensive tests for memory manager functionality
jj-devhub Oct 19, 2025
c070c32
Add comprehensive tests for memory retrieval functionality
jj-devhub Oct 19, 2025
5e0dc66
Add comprehensive tests for semantic memory functionality
jj-devhub Oct 19, 2025
ef5e3fe
Add comprehensive tests for in-memory storage functionality
jj-devhub Oct 19, 2025
7eaeec6
Add comprehensive tests for memory types and entries
jj-devhub Oct 19, 2025
8977443
Add comprehensive tests for working memory functionality
jj-devhub Oct 19, 2025
33af639
Add methods for managing working memory and context variables in Memo…
jj-devhub Oct 20, 2025
53921fa
Fix description parsing in SemanticConcept from MemoryEntry content
jj-devhub Oct 20, 2025
c845830
Add search and summary methods for episodic memory
jj-devhub Oct 20, 2025
4b99357
Add search and filtering methods for factual memory
jj-devhub Oct 20, 2025
5ba7f42
Add methods for managing working memory and episodic memory interactions
jj-devhub Oct 20, 2025
c34f3a0
Add similarity calculation and search methods for semantic concepts
jj-devhub Oct 20, 2025
23133a7
Add methods to retrieve all session metadata and clear session memories
jj-devhub Oct 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ logs/
*.log.*
*.out
*.err

*txt
# Runtime data
pids/
*.pid
Expand Down
23 changes: 23 additions & 0 deletions core/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ pub enum GraphBitError {
/// Error message
message: String,
},

/// Memory system errors
#[error("Memory error: {message}")]
Memory {
/// Error message
message: String,
},
}

impl GraphBitError {
Expand Down Expand Up @@ -211,6 +218,13 @@ impl GraphBitError {
}
}

/// Create a new memory error
pub fn memory(message: impl Into<String>) -> Self {
Self::Memory {
message: message.into(),
}
}

/// Check if the error is retryable
pub fn is_retryable(&self) -> bool {
matches!(
Expand Down Expand Up @@ -269,3 +283,12 @@ impl From<std::io::Error> for GraphBitError {
}
}
}

impl From<uuid::Error> for GraphBitError {
fn from(error: uuid::Error) -> Self {
Self::Validation {
field: "uuid".to_string(),
message: error.to_string(),
}
}
}
1 change: 1 addition & 0 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub mod embeddings;
pub mod errors;
pub mod graph;
pub mod llm;
pub mod memory;
pub mod text_splitter;
pub mod types;
pub mod validation;
Expand Down
2 changes: 1 addition & 1 deletion core/src/llm/azure_openai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,4 +425,4 @@ mod tests {
assert_eq!(azure_tool.function.description, "Get the current weather");
assert_eq!(azure_tool.function.parameters["type"], "object");
}
}
}
Loading