Class: Xberg::ChunkClassificationConfig
- Inherits:
-
Object
- Object
- Xberg::ChunkClassificationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#batch_size ⇒ Integer
readonly
Returns the value of attribute batch_size.
-
#definitions ⇒ Array[ChunkClassificationDefinition]
readonly
Returns the value of attribute definitions.
-
#llm ⇒ LlmConfig
readonly
Returns the value of attribute llm.
-
#max_concurrency ⇒ Integer
readonly
Returns the value of attribute max_concurrency.
-
#prompt_template ⇒ String
readonly
Returns the value of attribute prompt_template.
Instance Method Summary collapse
-
#initialize ⇒ ChunkClassificationConfig
constructor
A new instance of ChunkClassificationConfig.
Constructor Details
#initialize ⇒ ChunkClassificationConfig
Returns a new instance of ChunkClassificationConfig.
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_size ⇒ Integer (readonly)
Returns the value of attribute batch_size.
48 49 50 |
# File 'sig/types.rbs', line 48 def batch_size @batch_size end |
#definitions ⇒ Array[ChunkClassificationDefinition] (readonly)
Returns the value of attribute definitions.
46 47 48 |
# File 'sig/types.rbs', line 46 def definitions @definitions end |
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
47 48 49 |
# File 'sig/types.rbs', line 47 def llm @llm end |
#max_concurrency ⇒ Integer (readonly)
Returns the value of attribute max_concurrency.
49 50 51 |
# File 'sig/types.rbs', line 49 def max_concurrency @max_concurrency end |
#prompt_template ⇒ String (readonly)
Returns the value of attribute prompt_template.
45 46 47 |
# File 'sig/types.rbs', line 45 def prompt_template @prompt_template end |