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])


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

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)


463
464
465
# File 'sig/types.rbs', line 463

def backend
  @backend
end

#backend_configHash[String, String]? (readonly)

Returns the value of attribute backend_config.

Returns:

  • (Hash[String, String], nil)


464
465
466
# File 'sig/types.rbs', line 464

def backend_config
  @backend_config
end

#max_entriesInteger? (readonly)

Returns the value of attribute max_entries.

Returns:

  • (Integer, nil)


461
462
463
# File 'sig/types.rbs', line 461

def max_entries
  @max_entries
end

#ttl_secondsInteger? (readonly)

Returns the value of attribute ttl_seconds.

Returns:

  • (Integer, nil)


462
463
464
# File 'sig/types.rbs', line 462

def ttl_seconds
  @ttl_seconds
end