Class: Xberg::ChunkClassificationConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChunkClassificationConfig

Returns a new instance of ChunkClassificationConfig.

Parameters:



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

def initialize: (?prompt_template: String, definitions: Array[ChunkClassificationDefinition], llm: LlmConfig, batch_size: Integer, max_concurrency: Integer) -> void

Instance Attribute Details

#batch_sizeInteger (readonly)

Returns the value of attribute batch_size.

Returns:

  • (Integer)


154
155
156
# File 'sig/types.rbs', line 154

def batch_size
  @batch_size
end

#definitionsArray[ChunkClassificationDefinition] (readonly)

Returns the value of attribute definitions.

Returns:



152
153
154
# File 'sig/types.rbs', line 152

def definitions
  @definitions
end

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



153
154
155
# File 'sig/types.rbs', line 153

def llm
  @llm
end

#max_concurrencyInteger (readonly)

Returns the value of attribute max_concurrency.

Returns:

  • (Integer)


155
156
157
# File 'sig/types.rbs', line 155

def max_concurrency
  @max_concurrency
end

#prompt_templateString? (readonly)

Returns the value of attribute prompt_template.

Returns:

  • (String, nil)


151
152
153
# File 'sig/types.rbs', line 151

def prompt_template
  @prompt_template
end