Class: Telnyx::Models::AI::Knowledge::CollectionRetrieveDocumentsResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb,
sig/telnyx/models/ai/knowledge/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
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
124
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 24
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?
33
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 33
optional :chunk_index, Integer
|
#chunk_total ⇒ Integer?
38
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 38
optional :chunk_total, Integer
|
#id ⇒ String?
28
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 28
optional :id, String
|
#ingested_at ⇒ Time?
43
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 43
optional :ingested_at, Time
|
48
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 48
optional :metadata, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#organization_id ⇒ String?
53
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 53
optional :organization_id, String
|
#record_created_at ⇒ Time?
58
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 58
optional :record_created_at, Time
|
#record_id ⇒ String?
63
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 63
optional :record_id, String
|
#record_type ⇒ String?
The source record kind this chunk came from (e.g. voice, meeting_bot,
message).
70
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 70
optional :record_type, String
|
#region ⇒ String?
75
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 75
optional :region, String
|
#score ⇒ Float?
Relevance score (higher = more relevant) for ranked search. 0.0 for plain
catalog listings (when query is omitted).
82
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 82
optional :score, Float
|
#text ⇒ String?
87
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 87
optional :text, String
|
#user_id ⇒ String?
92
|
# File 'lib/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rb', line 92
optional :user_id, String
|
Instance Method Details
#to_hash ⇒ {
120
|
# File 'sig/telnyx/models/ai/knowledge/collection_retrieve_documents_response.rbs', line 120
def to_hash: -> {
|