An in-memory memory service for prototyping purpose only. Uses keyword matching instead of semantic search.
Constructor for InMemoryMemoryService
Adds a session to the memory service
The session to add
Searches memory for relevant information
Search options containing app_name, user_id, and query
Search results
Gets all sessions in the memory service (for backward compatibility)
All sessions - Note: This method may not be fully compatible with the new structure
Gets a session by ID (for backward compatibility)
The session ID
The session or undefined if not found
Clears all sessions from memory
An in-memory memory service for prototyping purpose only. Uses keyword matching instead of semantic search.