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:



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

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)


48
49
50
# File 'sig/types.rbs', line 48

def batch_size
  @batch_size
end

#definitionsArray[ChunkClassificationDefinition] (readonly)

Returns the value of attribute definitions.

Returns:



46
47
48
# File 'sig/types.rbs', line 46

def definitions
  @definitions
end

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



47
48
49
# File 'sig/types.rbs', line 47

def llm
  @llm
end

#max_concurrencyInteger (readonly)

Returns the value of attribute max_concurrency.

Returns:

  • (Integer)


49
50
51
# File 'sig/types.rbs', line 49

def max_concurrency
  @max_concurrency
end

#prompt_templateString (readonly)

Returns the value of attribute prompt_template.

Returns:

  • (String)


45
46
47
# File 'sig/types.rbs', line 45

def prompt_template
  @prompt_template
end