# InMemoryMemoryService

class InMemoryMemoryService : MemoryService

An in-memory memory service for prototyping purposes only.

Uses keyword matching instead of semantic search.

## Constructors

InMemoryMemoryService
Link copied to clipboard
constructor()

## Types

Companion
Link copied to clipboard
object Companion

## Functions

addSessionToMemory
Link copied to clipboard
open suspend override fun addSessionToMemory(session: Session)

Adds a session to the memory service.

searchMemory
Link copied to clipboard
open suspend override fun searchMemory(appName: String, userId: String, query: String): SearchMemoryResponse

Searches for sessions that match the query asynchronously.