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.
338 |
# File 'sig/types.rbs', line 338
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.
336 337 338 |
# File 'sig/types.rbs', line 336 def llm @llm end |
#prompt ⇒ String (readonly)
Returns the value of attribute prompt.
335 336 337 |
# File 'sig/types.rbs', line 335 def prompt @prompt end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
331 332 333 |
# File 'sig/types.rbs', line 331 def schema @schema end |
#schema_description ⇒ String (readonly)
Returns the value of attribute schema_description.
333 334 335 |
# File 'sig/types.rbs', line 333 def schema_description @schema_description end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
332 333 334 |
# File 'sig/types.rbs', line 332 def schema_name @schema_name end |
#strict ⇒ Boolean (readonly)
Returns the value of attribute strict.
334 335 336 |
# File 'sig/types.rbs', line 334 def strict @strict end |