Class: Telnyx::Models::AI::Conversations::InsightCreateParams
Overview
Defined Under Namespace
Modules: JsonSchema
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(instructions:, name:, json_schema: nil, webhook: nil, idempotency_key: nil, request_options: {}) ⇒ Object
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 38
|
Instance Attribute Details
#idempotency_key ⇒ String?
36
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 36
optional :idempotency_key, String
|
#instructions ⇒ String
15
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 15
required :instructions, String
|
#json_schema ⇒ String, ...
If specified, the output will follow the JSON schema.
26
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 26
optional :json_schema, union: -> { Telnyx::AI::Conversations::InsightCreateParams::JsonSchema }
|
#name ⇒ String
20
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 20
required :name, String
|
#webhook ⇒ String?
31
|
# File 'lib/telnyx/models/ai/conversations/insight_create_params.rb', line 31
optional :webhook, String
|
Instance Method Details
#to_hash ⇒ {
46
|
# File 'sig/telnyx/models/ai/conversations/insight_create_params.rbs', line 46
def to_hash: -> {
|