Class: Telnyx::Models::AIRetrieveConversationHistoriesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AIRetrieveConversationHistoriesParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/ai_retrieve_conversation_histories_params.rb,
sig/telnyx/models/ai_retrieve_conversation_histories_params.rbs
Overview
Defined Under Namespace
Modules: Region
Instance Attribute Summary collapse
-
#filter_ingested_at_gte ⇒ Time?
Only include records ingested (chunked, embedded, and indexed) on or after this ISO 8601 timestamp.
-
#filter_ingested_at_lte ⇒ Time?
Only include records ingested (chunked, embedded, and indexed) on or before this ISO 8601 timestamp.
-
#filter_record_created_at_gte ⇒ Time?
Only include records whose original creation time is on or after this ISO 8601 timestamp.
-
#filter_record_created_at_lte ⇒ Time?
Only include records whose original creation time is on or before this ISO 8601 timestamp.
-
#filter_record_id ⇒ String?
Filter to chunks belonging to a specific parent record (exact match).
-
#filter_region_in ⇒ String?
Filter by the region stored on the record.
-
#filter_retention ⇒ String?
Filter by retention policy (exact match).
-
#filter_user_id ⇒ String?
Filter to records owned by a specific user (exact match).
-
#min_score ⇒ Float?
Minimum cosine similarity score threshold (0.0 to 1.0).
-
#page_number ⇒ Integer?
Page number to return (1-based).
-
#page_size ⇒ Integer?
Number of results per page.
-
#q ⇒ String
Natural language search query.
-
#region ⇒ Symbol, ...
Restrict search to a specific region.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(q:, filter_ingested_at_gte: nil, filter_ingested_at_lte: nil, filter_record_created_at_gte: nil, filter_record_created_at_lte: nil, filter_record_id: nil, filter_region_in: nil, filter_retention: nil, filter_user_id: nil, min_score: nil, page_number: nil, page_size: nil, region: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see AIRetrieveConversationHistoriesParams for more details.
- #to_hash ⇒ {
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(q:, filter_ingested_at_gte: nil, filter_ingested_at_lte: nil, filter_record_created_at_gte: nil, filter_record_created_at_lte: nil, filter_record_id: nil, filter_region_in: nil, filter_retention: nil, filter_user_id: nil, min_score: nil, page_number: nil, page_size: nil, region: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AIRetrieveConversationHistoriesParams for more details.
|
|
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 98
|
Instance Attribute Details
#filter_ingested_at_gte ⇒ Time?
Only include records ingested (chunked, embedded, and indexed) on or after this ISO 8601 timestamp.
22 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 22 optional :filter_ingested_at_gte, Time |
#filter_ingested_at_lte ⇒ Time?
Only include records ingested (chunked, embedded, and indexed) on or before this ISO 8601 timestamp.
29 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 29 optional :filter_ingested_at_lte, Time |
#filter_record_created_at_gte ⇒ Time?
Only include records whose original creation time is on or after this ISO 8601 timestamp.
36 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 36 optional :filter_record_created_at_gte, Time |
#filter_record_created_at_lte ⇒ Time?
Only include records whose original creation time is on or before this ISO 8601 timestamp.
43 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 43 optional :filter_record_created_at_lte, Time |
#filter_record_id ⇒ String?
Filter to chunks belonging to a specific parent record (exact match).
49 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 49 optional :filter_record_id, String |
#filter_region_in ⇒ String?
Filter by the region stored on the record. Comma-separated to match multiple
regions (USA, DEU, AUS, UAE). Distinct from the region parameter, which
selects which cluster(s) are queried.
57 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 57 optional :filter_region_in, String |
#filter_retention ⇒ String?
Filter by retention policy (exact match). Filter-only: not returned in the response body.
64 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 64 optional :filter_retention, String |
#filter_user_id ⇒ String?
Filter to records owned by a specific user (exact match).
70 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 70 optional :filter_user_id, String |
#min_score ⇒ Float?
Minimum cosine similarity score threshold (0.0 to 1.0). Results below this threshold are excluded.
77 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 77 optional :min_score, Float |
#page_number ⇒ Integer?
Page number to return (1-based). Defaults to 1.
83 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 83 optional :page_number, Integer |
#page_size ⇒ Integer?
Number of results per page. Defaults to 20, maximum 100.
89 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 89 optional :page_size, Integer |
#q ⇒ String
Natural language search query. The text is embedded into a 1024-dimensional vector and compared against indexed record chunks using semantic similarity.
15 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 15 required :q, String |
#region ⇒ Symbol, ...
Restrict search to a specific region. When omitted, all regions are queried in parallel (fan-out) and results are merged by similarity score.
96 |
# File 'lib/telnyx/models/ai_retrieve_conversation_histories_params.rb', line 96 optional :region, enum: -> { Telnyx::AIRetrieveConversationHistoriesParams::Region } |
Instance Method Details
#to_hash ⇒ {
94 |
# File 'sig/telnyx/models/ai_retrieve_conversation_histories_params.rbs', line 94
def to_hash: -> {
|