Class: Xberg::Preset
- Inherits:
-
Object
- Object
- Xberg::Preset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#category ⇒ enum_PresetCategory
readonly
Returns the value of attribute category.
-
#context_template ⇒ String?
readonly
Returns the value of attribute context_template.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#emit_citations ⇒ Boolean
readonly
Returns the value of attribute emit_citations.
-
#fingerprint ⇒ String
readonly
Returns the value of attribute fingerprint.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#merge_mode ⇒ enum_MergeMode
readonly
Returns the value of attribute merge_mode.
-
#preferred_call_mode ⇒ enum_CallMode
readonly
Returns the value of attribute preferred_call_mode.
-
#sample ⇒ PresetSample?
readonly
Returns the value of attribute sample.
-
#schema ⇒ String
readonly
Returns the value of attribute schema.
-
#schema_name ⇒ String
readonly
Returns the value of attribute schema_name.
-
#system_prompt ⇒ String
readonly
Returns the value of attribute system_prompt.
-
#tags ⇒ Array[String]
readonly
Returns the value of attribute tags.
-
#version ⇒ String
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Preset
constructor
A new instance of Preset.
Constructor Details
#initialize ⇒ Preset
Returns a new instance of Preset.
2158 |
# File 'sig/types.rbs', line 2158 def initialize: (id: String, version: String, schema_name: String, description: String, category: enum_PresetCategory, tags: Array[String], schema: String, system_prompt: String, ?context_template: String, merge_mode: enum_MergeMode, preferred_call_mode: enum_CallMode, emit_citations: bool, ?sample: PresetSample, fingerprint: String) -> void |
Instance Attribute Details
#category ⇒ enum_PresetCategory (readonly)
Returns the value of attribute category.
2147 2148 2149 |
# File 'sig/types.rbs', line 2147 def category @category end |
#context_template ⇒ String? (readonly)
Returns the value of attribute context_template.
2151 2152 2153 |
# File 'sig/types.rbs', line 2151 def context_template @context_template end |
#description ⇒ String (readonly)
Returns the value of attribute description.
2146 2147 2148 |
# File 'sig/types.rbs', line 2146 def description @description end |
#emit_citations ⇒ Boolean (readonly)
Returns the value of attribute emit_citations.
2154 2155 2156 |
# File 'sig/types.rbs', line 2154 def emit_citations @emit_citations end |
#fingerprint ⇒ String (readonly)
Returns the value of attribute fingerprint.
2156 2157 2158 |
# File 'sig/types.rbs', line 2156 def fingerprint @fingerprint end |
#id ⇒ String (readonly)
Returns the value of attribute id.
2143 2144 2145 |
# File 'sig/types.rbs', line 2143 def id @id end |
#merge_mode ⇒ enum_MergeMode (readonly)
Returns the value of attribute merge_mode.
2152 2153 2154 |
# File 'sig/types.rbs', line 2152 def merge_mode @merge_mode end |
#preferred_call_mode ⇒ enum_CallMode (readonly)
Returns the value of attribute preferred_call_mode.
2153 2154 2155 |
# File 'sig/types.rbs', line 2153 def preferred_call_mode @preferred_call_mode end |
#sample ⇒ PresetSample? (readonly)
Returns the value of attribute sample.
2155 2156 2157 |
# File 'sig/types.rbs', line 2155 def sample @sample end |
#schema ⇒ String (readonly)
Returns the value of attribute schema.
2149 2150 2151 |
# File 'sig/types.rbs', line 2149 def schema @schema end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
2145 2146 2147 |
# File 'sig/types.rbs', line 2145 def schema_name @schema_name end |
#system_prompt ⇒ String (readonly)
Returns the value of attribute system_prompt.
2150 2151 2152 |
# File 'sig/types.rbs', line 2150 def system_prompt @system_prompt end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
2148 2149 2150 |
# File 'sig/types.rbs', line 2148 def end |
#version ⇒ String (readonly)
Returns the value of attribute version.
2144 2145 2146 |
# File 'sig/types.rbs', line 2144 def version @version end |