Class: Telnyx::Models::AI::EmbeddingCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::EmbeddingCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/ai/embedding_create_params.rb
Overview
Defined Under Namespace
Modules: EmbeddingModel, Loader
Instance Attribute Summary collapse
- #bucket_name ⇒ String
- #document_chunk_overlap_size ⇒ Integer?
- #document_chunk_size ⇒ Integer?
-
#embedding_model ⇒ Symbol, ...
Supported models to vectorize and embed documents.
-
#loader ⇒ Symbol, ...
Supported types of custom document loaders for embeddings.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#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, request_options: {}) ⇒ Object
|
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 38
|
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 |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/ai/embedding_create_params.rb', line 58
|