Class: RailsAi::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_ai/config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#batch_sizeObject

Returns the value of attribute batch_size

Returns:

  • (Object)

    the current value of batch_size



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def batch_size
  @batch_size
end

#cache_ttlObject

Returns the value of attribute cache_ttl

Returns:

  • (Object)

    the current value of cache_ttl



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def cache_ttl
  @cache_ttl
end

#compression_thresholdObject

Returns the value of attribute compression_threshold

Returns:

  • (Object)

    the current value of compression_threshold



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def compression_threshold
  @compression_threshold
end

#connection_pool_sizeObject

Returns the value of attribute connection_pool_size

Returns:

  • (Object)

    the current value of connection_pool_size



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def connection_pool_size
  @connection_pool_size
end

#default_modelObject

Returns the value of attribute default_model

Returns:

  • (Object)

    the current value of default_model



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def default_model
  @default_model
end

#enable_compressionObject

Returns the value of attribute enable_compression

Returns:

  • (Object)

    the current value of enable_compression



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def enable_compression
  @enable_compression
end

#enable_performance_monitoringObject

Returns the value of attribute enable_performance_monitoring

Returns:

  • (Object)

    the current value of enable_performance_monitoring



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def enable_performance_monitoring
  @enable_performance_monitoring
end

#enable_request_deduplicationObject

Returns the value of attribute enable_request_deduplication

Returns:

  • (Object)

    the current value of enable_request_deduplication



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def enable_request_deduplication
  @enable_request_deduplication
end

#flush_intervalObject

Returns the value of attribute flush_interval

Returns:

  • (Object)

    the current value of flush_interval



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def flush_interval
  @flush_interval
end

#providerObject

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def provider
  @provider
end

#stub_responsesObject

Returns the value of attribute stub_responses

Returns:

  • (Object)

    the current value of stub_responses



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def stub_responses
  @stub_responses
end

#token_limitObject

Returns the value of attribute token_limit

Returns:

  • (Object)

    the current value of token_limit



4
5
6
# File 'lib/rails_ai/config.rb', line 4

def token_limit
  @token_limit
end