Class: LiterLlm::LlmCacheConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLlmCacheConfig

Returns a new instance of LlmCacheConfig.

Parameters:

  • max_entries: (Integer)
  • ttl_seconds: (Integer)
  • backend: (String)
  • backend_config: (Hash[String, String])


711
# File 'sig/types.rbs', line 711

def initialize: (?max_entries: Integer, ?ttl_seconds: Integer, ?backend: String, ?backend_config: Hash[String, String]) -> void

Instance Attribute Details

#backendString? (readonly)

Returns the value of attribute backend.

Returns:

  • (String, nil)


708
709
710
# File 'sig/types.rbs', line 708

def backend
  @backend
end

#backend_configHash[String, String]? (readonly)

Returns the value of attribute backend_config.

Returns:

  • (Hash[String, String], nil)


709
710
711
# File 'sig/types.rbs', line 709

def backend_config
  @backend_config
end

#max_entriesInteger? (readonly)

Returns the value of attribute max_entries.

Returns:

  • (Integer, nil)


706
707
708
# File 'sig/types.rbs', line 706

def max_entries
  @max_entries
end

#ttl_secondsInteger? (readonly)

Returns the value of attribute ttl_seconds.

Returns:

  • (Integer, nil)


707
708
709
# File 'sig/types.rbs', line 707

def ttl_seconds
  @ttl_seconds
end