Class: Xberg::Preset
- Inherits:
-
Object
- Object
- Xberg::Preset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#category ⇒ 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 ⇒ MergeMode
readonly
Returns the value of attribute merge_mode.
-
#preferred_call_mode ⇒ CallMode
readonly
Returns the value of attribute preferred_call_mode.
-
#sample ⇒ PresetSample
readonly
Returns the value of attribute sample.
-
#schema ⇒ json_value
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.
1981 |
# File 'sig/types.rbs', line 1981
def initialize: (id: String, version: String, schema_name: String, description: String, category: PresetCategory, tags: Array[String], schema: json_value, system_prompt: String, ?context_template: String, merge_mode: MergeMode, preferred_call_mode: CallMode, emit_citations: bool, ?sample: PresetSample, fingerprint: String) -> void
|
Instance Attribute Details
#category ⇒ PresetCategory (readonly)
Returns the value of attribute category.
1970 1971 1972 |
# File 'sig/types.rbs', line 1970 def category @category end |
#context_template ⇒ String (readonly)
Returns the value of attribute context_template.
1974 1975 1976 |
# File 'sig/types.rbs', line 1974 def context_template @context_template end |
#description ⇒ String (readonly)
Returns the value of attribute description.
1969 1970 1971 |
# File 'sig/types.rbs', line 1969 def description @description end |
#emit_citations ⇒ Boolean (readonly)
Returns the value of attribute emit_citations.
1977 1978 1979 |
# File 'sig/types.rbs', line 1977 def emit_citations @emit_citations end |
#fingerprint ⇒ String (readonly)
Returns the value of attribute fingerprint.
1979 1980 1981 |
# File 'sig/types.rbs', line 1979 def fingerprint @fingerprint end |
#id ⇒ String (readonly)
Returns the value of attribute id.
1966 1967 1968 |
# File 'sig/types.rbs', line 1966 def id @id end |
#merge_mode ⇒ MergeMode (readonly)
Returns the value of attribute merge_mode.
1975 1976 1977 |
# File 'sig/types.rbs', line 1975 def merge_mode @merge_mode end |
#preferred_call_mode ⇒ CallMode (readonly)
Returns the value of attribute preferred_call_mode.
1976 1977 1978 |
# File 'sig/types.rbs', line 1976 def preferred_call_mode @preferred_call_mode end |
#sample ⇒ PresetSample (readonly)
Returns the value of attribute sample.
1978 1979 1980 |
# File 'sig/types.rbs', line 1978 def sample @sample end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
1972 1973 1974 |
# File 'sig/types.rbs', line 1972 def schema @schema end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
1968 1969 1970 |
# File 'sig/types.rbs', line 1968 def schema_name @schema_name end |
#system_prompt ⇒ String (readonly)
Returns the value of attribute system_prompt.
1973 1974 1975 |
# File 'sig/types.rbs', line 1973 def system_prompt @system_prompt end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
1971 1972 1973 |
# File 'sig/types.rbs', line 1971 def @tags end |
#version ⇒ String (readonly)
Returns the value of attribute version.
1967 1968 1969 |
# File 'sig/types.rbs', line 1967 def version @version end |