Class: Xberg::LlmRateLimitConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLlmRateLimitConfig

Returns a new instance of LlmRateLimitConfig.

Parameters:

  • rpm: (Integer)
  • tpm: (Integer)
  • window_seconds: (Integer)


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

def initialize: (?rpm: Integer, ?tpm: Integer, ?window_seconds: Integer) -> void

Instance Attribute Details

#rpmInteger? (readonly)

Returns the value of attribute rpm.

Returns:

  • (Integer, nil)


1538
1539
1540
# File 'sig/types.rbs', line 1538

def rpm
  @rpm
end

#tpmInteger? (readonly)

Returns the value of attribute tpm.

Returns:

  • (Integer, nil)


1539
1540
1541
# File 'sig/types.rbs', line 1539

def tpm
  @tpm
end

#window_secondsInteger? (readonly)

Returns the value of attribute window_seconds.

Returns:

  • (Integer, nil)


1540
1541
1542
# File 'sig/types.rbs', line 1540

def window_seconds
  @window_seconds
end