Class: Xberg::StructuredExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::StructuredExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#llm ⇒ LlmConfig
readonly
Returns the value of attribute llm.
-
#prompt ⇒ String
readonly
Returns the value of attribute prompt.
-
#schema ⇒ json_value
readonly
Returns the value of attribute schema.
-
#schema_description ⇒ String
readonly
Returns the value of attribute schema_description.
-
#schema_name ⇒ String
readonly
Returns the value of attribute schema_name.
-
#strict ⇒ Boolean
readonly
Returns the value of attribute strict.
Instance Method Summary collapse
-
#initialize ⇒ StructuredExtractionConfig
constructor
A new instance of StructuredExtractionConfig.
Constructor Details
#initialize ⇒ StructuredExtractionConfig
Returns a new instance of StructuredExtractionConfig.
296 |
# File 'sig/types.rbs', line 296
def initialize: (schema: json_value, schema_name: String, ?schema_description: String, strict: bool, ?prompt: String, llm: LlmConfig) -> void
|
Instance Attribute Details
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
294 295 296 |
# File 'sig/types.rbs', line 294 def llm @llm end |
#prompt ⇒ String (readonly)
Returns the value of attribute prompt.
293 294 295 |
# File 'sig/types.rbs', line 293 def prompt @prompt end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
289 290 291 |
# File 'sig/types.rbs', line 289 def schema @schema end |
#schema_description ⇒ String (readonly)
Returns the value of attribute schema_description.
291 292 293 |
# File 'sig/types.rbs', line 291 def schema_description @schema_description end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
290 291 292 |
# File 'sig/types.rbs', line 290 def schema_name @schema_name end |
#strict ⇒ Boolean (readonly)
Returns the value of attribute strict.
292 293 294 |
# File 'sig/types.rbs', line 292 def strict @strict end |