Class: Telnyx::Models::AI::EmbeddingCreateParams
Overview
Defined Under Namespace
Modules: EmbeddingModel, Loader
Instance Attribute Summary collapse
#request_options
Class Method Summary
collapse
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(bucket_name:, document_chunk_overlap_size: nil, document_chunk_size: nil, embedding_model: nil, loader: nil, idempotency_key: nil, request_options: {}) ⇒ Object
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 43
|
Instance Attribute Details
#bucket_name ⇒ String
14
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 14
required :bucket_name, String
|
#document_chunk_overlap_size ⇒ Integer?
19
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 19
optional :document_chunk_overlap_size, Integer
|
#document_chunk_size ⇒ Integer?
24
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 24
optional :document_chunk_size, Integer
|
#embedding_model ⇒ Symbol, ...
Supported models to vectorize and embed documents.
30
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 30
optional :embedding_model, enum: -> { Telnyx::AI::EmbeddingCreateParams::EmbeddingModel }
|
#idempotency_key ⇒ String?
41
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 41
optional :idempotency_key, String
|
#loader ⇒ Symbol, ...
Supported types of custom document loaders for embeddings.
36
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 36
optional :loader, enum: -> { Telnyx::AI::EmbeddingCreateParams::Loader }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 65
|
Instance Method Details
#to_hash ⇒ {
55
|
# File 'sig/telnyx/models/ai/embedding_create_params.rbs', line 55
def to_hash: -> {
|