Method: LlmMemory::RedisStore#list

Defined in:
lib/llm_memory/stores/redis_store.rb

#list(*args) ⇒ Object

[View source]

140
141
142
143
# File 'lib/llm_memory/stores/redis_store.rb', line 140

def list(*args)
  pattern = "#{@index_name}:#{args.first || "*"}"
  @client.keys(pattern)
end