Class: Xberg::ChunkingConfig
- Inherits:
-
Object
- Object
- Xberg::ChunkingConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunker_type ⇒ enum_ChunkerType
readonly
Returns the value of attribute chunker_type.
-
#embedding ⇒ EmbeddingConfig?
readonly
Returns the value of attribute embedding.
-
#late_interaction ⇒ LateInteractionConfig?
readonly
Returns the value of attribute late_interaction.
-
#max_characters ⇒ Integer
readonly
Returns the value of attribute max_characters.
-
#overlap ⇒ Integer
readonly
Returns the value of attribute overlap.
-
#preset ⇒ String?
readonly
Returns the value of attribute preset.
-
#sizing ⇒ ChunkSizing
readonly
Returns the value of attribute sizing.
-
#sparse_embedding ⇒ SparseEmbeddingConfig?
readonly
Returns the value of attribute sparse_embedding.
-
#table_chunking ⇒ enum_TableChunkingMode
readonly
Returns the value of attribute table_chunking.
-
#topic_threshold ⇒ Float?
readonly
Returns the value of attribute topic_threshold.
-
#trim ⇒ Boolean
readonly
Returns the value of attribute trim.
Instance Method Summary collapse
-
#initialize ⇒ ChunkingConfig
constructor
A new instance of ChunkingConfig.
Constructor Details
#initialize ⇒ ChunkingConfig
Returns a new instance of ChunkingConfig.
212 |
# File 'sig/types.rbs', line 212
def initialize: (?max_characters: Integer, ?overlap: Integer, ?trim: bool, ?chunker_type: enum_ChunkerType, ?embedding: EmbeddingConfig, ?sparse_embedding: SparseEmbeddingConfig, ?late_interaction: LateInteractionConfig, ?preset: String, ?sizing: ChunkSizing, ?topic_threshold: Float, ?table_chunking: enum_TableChunkingMode) -> void
|
Instance Attribute Details
#chunker_type ⇒ enum_ChunkerType (readonly)
Returns the value of attribute chunker_type.
203 204 205 |
# File 'sig/types.rbs', line 203 def chunker_type @chunker_type end |
#embedding ⇒ EmbeddingConfig? (readonly)
Returns the value of attribute embedding.
204 205 206 |
# File 'sig/types.rbs', line 204 def @embedding end |
#late_interaction ⇒ LateInteractionConfig? (readonly)
Returns the value of attribute late_interaction.
206 207 208 |
# File 'sig/types.rbs', line 206 def late_interaction @late_interaction end |
#max_characters ⇒ Integer (readonly)
Returns the value of attribute max_characters.
200 201 202 |
# File 'sig/types.rbs', line 200 def max_characters @max_characters end |
#overlap ⇒ Integer (readonly)
Returns the value of attribute overlap.
201 202 203 |
# File 'sig/types.rbs', line 201 def overlap @overlap end |
#preset ⇒ String? (readonly)
Returns the value of attribute preset.
207 208 209 |
# File 'sig/types.rbs', line 207 def preset @preset end |
#sizing ⇒ ChunkSizing (readonly)
Returns the value of attribute sizing.
208 209 210 |
# File 'sig/types.rbs', line 208 def sizing @sizing end |
#sparse_embedding ⇒ SparseEmbeddingConfig? (readonly)
Returns the value of attribute sparse_embedding.
205 206 207 |
# File 'sig/types.rbs', line 205 def @sparse_embedding end |
#table_chunking ⇒ enum_TableChunkingMode (readonly)
Returns the value of attribute table_chunking.
210 211 212 |
# File 'sig/types.rbs', line 210 def table_chunking @table_chunking end |
#topic_threshold ⇒ Float? (readonly)
Returns the value of attribute topic_threshold.
209 210 211 |
# File 'sig/types.rbs', line 209 def topic_threshold @topic_threshold end |
#trim ⇒ Boolean (readonly)
Returns the value of attribute trim.
202 203 204 |
# File 'sig/types.rbs', line 202 def trim @trim end |