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.
314 |
# File 'sig/types.rbs', line 314
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.
312 313 314 |
# File 'sig/types.rbs', line 312 def llm @llm end |
#prompt ⇒ String (readonly)
Returns the value of attribute prompt.
311 312 313 |
# File 'sig/types.rbs', line 311 def prompt @prompt end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
307 308 309 |
# File 'sig/types.rbs', line 307 def schema @schema end |
#schema_description ⇒ String (readonly)
Returns the value of attribute schema_description.
309 310 311 |
# File 'sig/types.rbs', line 309 def schema_description @schema_description end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
308 309 310 |
# File 'sig/types.rbs', line 308 def schema_name @schema_name end |
#strict ⇒ Boolean (readonly)
Returns the value of attribute strict.
310 311 312 |
# File 'sig/types.rbs', line 310 def strict @strict end |