Class: Telnyx::Models::AI::CollectionRetrieveDocumentsResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/ai/collection_retrieve_documents_response.rb,
sig/telnyx/models/ai/collection_retrieve_documents_response.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(data: nil, meta: nil) ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 23
class Data < Telnyx::Internal::Type::BaseModel
optional :id, String
optional :chunk_index, Integer
optional :chunk_total, Integer
optional :ingested_at, Time
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
optional :organization_id, String
optional :record_created_at, Time
optional :record_id, String
optional :record_type, String
optional :region, String
optional :score, Float
optional :text, String
optional :user_id, String
end
|
Instance Attribute Details
#chunk_index ⇒ Integer?
32
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 32
optional :chunk_index, Integer
|
#chunk_total ⇒ Integer?
37
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 37
optional :chunk_total, Integer
|
#id ⇒ String?
27
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 27
optional :id, String
|
#ingested_at ⇒ Time?
42
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 42
optional :ingested_at, Time
|
47
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 47
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#organization_id ⇒ String?
52
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 52
optional :organization_id, String
|
#record_created_at ⇒ Time?
57
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 57
optional :record_created_at, Time
|
#record_id ⇒ String?
62
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 62
optional :record_id, String
|
#record_type ⇒ String?
The source record kind this chunk came from (e.g. voice, meeting_bot,
message).
69
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 69
optional :record_type, String
|
#region ⇒ String?
74
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 74
optional :region, String
|
#score ⇒ Float?
Relevance score (higher = more relevant) for ranked search. 0.0 for plain
catalog listings (when query is omitted).
81
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 81
optional :score, Float
|
#text ⇒ String?
86
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 86
optional :text, String
|
#user_id ⇒ String?
91
|
# File 'lib/telnyx/models/ai/collection_retrieve_documents_response.rb', line 91
optional :user_id, String
|
Instance Method Details
#to_hash ⇒ {
119
|
# File 'sig/telnyx/models/ai/collection_retrieve_documents_response.rbs', line 119
def to_hash: -> {
|