Class: RubyLlmMesh::Cache::MemoryStore::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm_mesh/cache/memory_store.rb

Instance Attribute Summary collapse

Instance Attribute Details

#embeddingObject

Returns the value of attribute embedding

Returns:

  • (Object)

    the current value of embedding



7
8
9
# File 'lib/ruby_llm_mesh/cache/memory_store.rb', line 7

def embedding
  @embedding
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



7
8
9
# File 'lib/ruby_llm_mesh/cache/memory_store.rb', line 7

def expires_at
  @expires_at
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/ruby_llm_mesh/cache/memory_store.rb', line 7

def id
  @id
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



7
8
9
# File 'lib/ruby_llm_mesh/cache/memory_store.rb', line 7

def payload
  @payload
end

#promptObject

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



7
8
9
# File 'lib/ruby_llm_mesh/cache/memory_store.rb', line 7

def prompt
  @prompt
end