context.dev 2.17.0 → 2.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/context_dev/models/brand_retrieve_response.rb +65 -65
- data/lib/context_dev/models/brand_retrieve_simplified_response.rb +66 -66
- data/lib/context_dev/models/web_search_response.rb +6 -2
- data/lib/context_dev/version.rb +1 -1
- data/rbi/context_dev/models/brand_retrieve_response.rbi +128 -136
- data/rbi/context_dev/models/brand_retrieve_simplified_response.rbi +132 -140
- data/rbi/context_dev/models/web_search_response.rbi +4 -2
- data/sig/context_dev/models/brand_retrieve_response.rbs +51 -59
- data/sig/context_dev/models/brand_retrieve_simplified_response.rbs +51 -59
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18b47383d0fc922af7bc818a48819c4d702950b89c51f28b6e373b3b6468108b
|
|
4
|
+
data.tar.gz: e0f57cfa02d05a6b3d6b24956798e52fe21841280ac164b7c53d8980b246ec37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50a79881ad62bece93534a540bd06b18e3618687b81c8f817d95929339769766d7260da3bdb7409be4d42957c5d57818dceafc07fa3495b510d8dfde70af014a
|
|
7
|
+
data.tar.gz: 6a22ac07b5bebf800443f990c556f1864a41872f5ca08381716702b1cd61a470d22da90a4350dc745e357a1c21959f13bc156d585984ae0b4d7d98124d34cc06
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.17.1](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.17.0...v2.17.1) (2026-09-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **api:** guarantee search descriptions and align response types ([#1089](https://github.com/context-dot-dev/context-ruby-sdk/issues/1089)) ([7ee03fc](https://github.com/context-dot-dev/context-ruby-sdk/commit/7ee03fc233d3e975f01fd3d290defb48a6e6ad56))
|
|
9
|
+
|
|
3
10
|
## [2.17.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.16.0...v2.17.0) (2026-09-15)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -4,6 +4,12 @@ module ContextDev
|
|
|
4
4
|
module Models
|
|
5
5
|
# @see ContextDev::Resources::Brand#retrieve
|
|
6
6
|
class BrandRetrieveResponse < ContextDev::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute brand
|
|
8
|
+
# Detailed brand information
|
|
9
|
+
#
|
|
10
|
+
# @return [ContextDev::Models::BrandRetrieveResponse::Brand]
|
|
11
|
+
required :brand, -> { ContextDev::Models::BrandRetrieveResponse::Brand }
|
|
12
|
+
|
|
7
13
|
# @!attribute cache_metadata
|
|
8
14
|
# Cache outcome for this response. Composite responses are hits only when every
|
|
9
15
|
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
@@ -12,6 +18,12 @@ module ContextDev
|
|
|
12
18
|
# @return [ContextDev::Models::BrandRetrieveResponse::CacheMetadata]
|
|
13
19
|
required :cache_metadata, -> { ContextDev::Models::BrandRetrieveResponse::CacheMetadata }
|
|
14
20
|
|
|
21
|
+
# @!attribute code
|
|
22
|
+
# HTTP status code
|
|
23
|
+
#
|
|
24
|
+
# @return [Integer]
|
|
25
|
+
required :code, Integer
|
|
26
|
+
|
|
15
27
|
# @!attribute request_id
|
|
16
28
|
# Unique id of this API call, also sent in the X-Request-Id response header. Quote
|
|
17
29
|
# it when contacting support about a failed request.
|
|
@@ -19,17 +31,11 @@ module ContextDev
|
|
|
19
31
|
# @return [String]
|
|
20
32
|
required :request_id, String
|
|
21
33
|
|
|
22
|
-
# @!attribute
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
# @return [ContextDev::Models::BrandRetrieveResponse::Brand, nil]
|
|
26
|
-
optional :brand, -> { ContextDev::Models::BrandRetrieveResponse::Brand }
|
|
27
|
-
|
|
28
|
-
# @!attribute code
|
|
29
|
-
# HTTP status code
|
|
34
|
+
# @!attribute status
|
|
35
|
+
# Status of the response, e.g., 'ok'
|
|
30
36
|
#
|
|
31
|
-
# @return [
|
|
32
|
-
|
|
37
|
+
# @return [String]
|
|
38
|
+
required :status, String
|
|
33
39
|
|
|
34
40
|
# @!attribute key_metadata
|
|
35
41
|
# Credit usage, included whenever a valid API key is provided.
|
|
@@ -44,72 +50,23 @@ module ContextDev
|
|
|
44
50
|
# @return [Boolean, nil]
|
|
45
51
|
optional :partial, ContextDev::Internal::Type::Boolean
|
|
46
52
|
|
|
47
|
-
# @!
|
|
48
|
-
# Status of the response, e.g., 'ok'
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :status, String
|
|
52
|
-
|
|
53
|
-
# @!method initialize(cache_metadata:, request_id:, brand: nil, code: nil, key_metadata: nil, partial: nil, status: nil)
|
|
53
|
+
# @!method initialize(brand:, cache_metadata:, code:, request_id:, status:, key_metadata: nil, partial: nil)
|
|
54
54
|
# Some parameter documentations has been truncated, see
|
|
55
55
|
# {ContextDev::Models::BrandRetrieveResponse} for more details.
|
|
56
56
|
#
|
|
57
|
+
# @param brand [ContextDev::Models::BrandRetrieveResponse::Brand] Detailed brand information
|
|
58
|
+
#
|
|
57
59
|
# @param cache_metadata [ContextDev::Models::BrandRetrieveResponse::CacheMetadata] Cache outcome for this response. Composite responses are hits only when every ca
|
|
58
60
|
#
|
|
59
|
-
# @param
|
|
61
|
+
# @param code [Integer] HTTP status code
|
|
60
62
|
#
|
|
61
|
-
# @param
|
|
63
|
+
# @param request_id [String] Unique id of this API call, also sent in the X-Request-Id response header. Quote
|
|
62
64
|
#
|
|
63
|
-
# @param
|
|
65
|
+
# @param status [String] Status of the response, e.g., 'ok'
|
|
64
66
|
#
|
|
65
67
|
# @param key_metadata [ContextDev::Models::BrandRetrieveResponse::KeyMetadata] Credit usage, included whenever a valid API key is provided.
|
|
66
68
|
#
|
|
67
69
|
# @param partial [Boolean] True when the timeout ended processing and this response contains the usable dat
|
|
68
|
-
#
|
|
69
|
-
# @param status [String] Status of the response, e.g., 'ok'
|
|
70
|
-
|
|
71
|
-
# @see ContextDev::Models::BrandRetrieveResponse#cache_metadata
|
|
72
|
-
class CacheMetadata < ContextDev::Internal::Type::BaseModel
|
|
73
|
-
# @!attribute age_ms
|
|
74
|
-
# Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
75
|
-
#
|
|
76
|
-
# @return [Integer]
|
|
77
|
-
required :age_ms, Integer
|
|
78
|
-
|
|
79
|
-
# @!attribute status
|
|
80
|
-
# Whether the response was served from cache, required fresh work, or honored
|
|
81
|
-
# zero-data-retention cache bypass.
|
|
82
|
-
#
|
|
83
|
-
# @return [Symbol, ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status]
|
|
84
|
-
required :status, enum: -> { ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status }
|
|
85
|
-
|
|
86
|
-
# @!method initialize(age_ms:, status:)
|
|
87
|
-
# Some parameter documentations has been truncated, see
|
|
88
|
-
# {ContextDev::Models::BrandRetrieveResponse::CacheMetadata} for more details.
|
|
89
|
-
#
|
|
90
|
-
# Cache outcome for this response. Composite responses are hits only when every
|
|
91
|
-
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
92
|
-
# oldest contributing hit.
|
|
93
|
-
#
|
|
94
|
-
# @param age_ms [Integer] Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
95
|
-
#
|
|
96
|
-
# @param status [Symbol, ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status] Whether the response was served from cache, required fresh work, or honored zero
|
|
97
|
-
|
|
98
|
-
# Whether the response was served from cache, required fresh work, or honored
|
|
99
|
-
# zero-data-retention cache bypass.
|
|
100
|
-
#
|
|
101
|
-
# @see ContextDev::Models::BrandRetrieveResponse::CacheMetadata#status
|
|
102
|
-
module Status
|
|
103
|
-
extend ContextDev::Internal::Type::Enum
|
|
104
|
-
|
|
105
|
-
HIT = :hit
|
|
106
|
-
MISS = :miss
|
|
107
|
-
ZDR = :zdr
|
|
108
|
-
|
|
109
|
-
# @!method self.values
|
|
110
|
-
# @return [Array<Symbol>]
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
70
|
|
|
114
71
|
# @see ContextDev::Models::BrandRetrieveResponse#brand
|
|
115
72
|
class Brand < ContextDev::Internal::Type::BaseModel
|
|
@@ -1190,6 +1147,49 @@ module ContextDev
|
|
|
1190
1147
|
end
|
|
1191
1148
|
end
|
|
1192
1149
|
|
|
1150
|
+
# @see ContextDev::Models::BrandRetrieveResponse#cache_metadata
|
|
1151
|
+
class CacheMetadata < ContextDev::Internal::Type::BaseModel
|
|
1152
|
+
# @!attribute age_ms
|
|
1153
|
+
# Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
1154
|
+
#
|
|
1155
|
+
# @return [Integer]
|
|
1156
|
+
required :age_ms, Integer
|
|
1157
|
+
|
|
1158
|
+
# @!attribute status
|
|
1159
|
+
# Whether the response was served from cache, required fresh work, or honored
|
|
1160
|
+
# zero-data-retention cache bypass.
|
|
1161
|
+
#
|
|
1162
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status]
|
|
1163
|
+
required :status, enum: -> { ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status }
|
|
1164
|
+
|
|
1165
|
+
# @!method initialize(age_ms:, status:)
|
|
1166
|
+
# Some parameter documentations has been truncated, see
|
|
1167
|
+
# {ContextDev::Models::BrandRetrieveResponse::CacheMetadata} for more details.
|
|
1168
|
+
#
|
|
1169
|
+
# Cache outcome for this response. Composite responses are hits only when every
|
|
1170
|
+
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
1171
|
+
# oldest contributing hit.
|
|
1172
|
+
#
|
|
1173
|
+
# @param age_ms [Integer] Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
1174
|
+
#
|
|
1175
|
+
# @param status [Symbol, ContextDev::Models::BrandRetrieveResponse::CacheMetadata::Status] Whether the response was served from cache, required fresh work, or honored zero
|
|
1176
|
+
|
|
1177
|
+
# Whether the response was served from cache, required fresh work, or honored
|
|
1178
|
+
# zero-data-retention cache bypass.
|
|
1179
|
+
#
|
|
1180
|
+
# @see ContextDev::Models::BrandRetrieveResponse::CacheMetadata#status
|
|
1181
|
+
module Status
|
|
1182
|
+
extend ContextDev::Internal::Type::Enum
|
|
1183
|
+
|
|
1184
|
+
HIT = :hit
|
|
1185
|
+
MISS = :miss
|
|
1186
|
+
ZDR = :zdr
|
|
1187
|
+
|
|
1188
|
+
# @!method self.values
|
|
1189
|
+
# @return [Array<Symbol>]
|
|
1190
|
+
end
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
1193
|
# @see ContextDev::Models::BrandRetrieveResponse#key_metadata
|
|
1194
1194
|
class KeyMetadata < ContextDev::Internal::Type::BaseModel
|
|
1195
1195
|
# @!attribute credits_consumed
|
|
@@ -4,6 +4,12 @@ module ContextDev
|
|
|
4
4
|
module Models
|
|
5
5
|
# @see ContextDev::Resources::Brand#retrieve_simplified
|
|
6
6
|
class BrandRetrieveSimplifiedResponse < ContextDev::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute brand
|
|
8
|
+
# Simplified brand information
|
|
9
|
+
#
|
|
10
|
+
# @return [ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand]
|
|
11
|
+
required :brand, -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand }
|
|
12
|
+
|
|
7
13
|
# @!attribute cache_metadata
|
|
8
14
|
# Cache outcome for this response. Composite responses are hits only when every
|
|
9
15
|
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
@@ -12,6 +18,12 @@ module ContextDev
|
|
|
12
18
|
# @return [ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata]
|
|
13
19
|
required :cache_metadata, -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata }
|
|
14
20
|
|
|
21
|
+
# @!attribute code
|
|
22
|
+
# HTTP status code of the response
|
|
23
|
+
#
|
|
24
|
+
# @return [Integer]
|
|
25
|
+
required :code, Integer
|
|
26
|
+
|
|
15
27
|
# @!attribute request_id
|
|
16
28
|
# Unique id of this API call, also sent in the X-Request-Id response header. Quote
|
|
17
29
|
# it when contacting support about a failed request.
|
|
@@ -19,17 +31,11 @@ module ContextDev
|
|
|
19
31
|
# @return [String]
|
|
20
32
|
required :request_id, String
|
|
21
33
|
|
|
22
|
-
# @!attribute
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
# @return [ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand, nil]
|
|
26
|
-
optional :brand, -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand }
|
|
27
|
-
|
|
28
|
-
# @!attribute code
|
|
29
|
-
# HTTP status code of the response
|
|
34
|
+
# @!attribute status
|
|
35
|
+
# Status of the response, e.g., 'ok'
|
|
30
36
|
#
|
|
31
|
-
# @return [
|
|
32
|
-
|
|
37
|
+
# @return [String]
|
|
38
|
+
required :status, String
|
|
33
39
|
|
|
34
40
|
# @!attribute key_metadata
|
|
35
41
|
# Credit usage, included whenever a valid API key is provided.
|
|
@@ -44,73 +50,23 @@ module ContextDev
|
|
|
44
50
|
# @return [Boolean, nil]
|
|
45
51
|
optional :partial, ContextDev::Internal::Type::Boolean
|
|
46
52
|
|
|
47
|
-
# @!
|
|
48
|
-
# Status of the response, e.g., 'ok'
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :status, String
|
|
52
|
-
|
|
53
|
-
# @!method initialize(cache_metadata:, request_id:, brand: nil, code: nil, key_metadata: nil, partial: nil, status: nil)
|
|
53
|
+
# @!method initialize(brand:, cache_metadata:, code:, request_id:, status:, key_metadata: nil, partial: nil)
|
|
54
54
|
# Some parameter documentations has been truncated, see
|
|
55
55
|
# {ContextDev::Models::BrandRetrieveSimplifiedResponse} for more details.
|
|
56
56
|
#
|
|
57
|
+
# @param brand [ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand] Simplified brand information
|
|
58
|
+
#
|
|
57
59
|
# @param cache_metadata [ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata] Cache outcome for this response. Composite responses are hits only when every ca
|
|
58
60
|
#
|
|
59
|
-
# @param
|
|
61
|
+
# @param code [Integer] HTTP status code of the response
|
|
60
62
|
#
|
|
61
|
-
# @param
|
|
63
|
+
# @param request_id [String] Unique id of this API call, also sent in the X-Request-Id response header. Quote
|
|
62
64
|
#
|
|
63
|
-
# @param
|
|
65
|
+
# @param status [String] Status of the response, e.g., 'ok'
|
|
64
66
|
#
|
|
65
67
|
# @param key_metadata [ContextDev::Models::BrandRetrieveSimplifiedResponse::KeyMetadata] Credit usage, included whenever a valid API key is provided.
|
|
66
68
|
#
|
|
67
69
|
# @param partial [Boolean] True when the timeout ended processing and only completed brand data is returned
|
|
68
|
-
#
|
|
69
|
-
# @param status [String] Status of the response, e.g., 'ok'
|
|
70
|
-
|
|
71
|
-
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse#cache_metadata
|
|
72
|
-
class CacheMetadata < ContextDev::Internal::Type::BaseModel
|
|
73
|
-
# @!attribute age_ms
|
|
74
|
-
# Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
75
|
-
#
|
|
76
|
-
# @return [Integer]
|
|
77
|
-
required :age_ms, Integer
|
|
78
|
-
|
|
79
|
-
# @!attribute status
|
|
80
|
-
# Whether the response was served from cache, required fresh work, or honored
|
|
81
|
-
# zero-data-retention cache bypass.
|
|
82
|
-
#
|
|
83
|
-
# @return [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status]
|
|
84
|
-
required :status, enum: -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status }
|
|
85
|
-
|
|
86
|
-
# @!method initialize(age_ms:, status:)
|
|
87
|
-
# Some parameter documentations has been truncated, see
|
|
88
|
-
# {ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata} for more
|
|
89
|
-
# details.
|
|
90
|
-
#
|
|
91
|
-
# Cache outcome for this response. Composite responses are hits only when every
|
|
92
|
-
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
93
|
-
# oldest contributing hit.
|
|
94
|
-
#
|
|
95
|
-
# @param age_ms [Integer] Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
96
|
-
#
|
|
97
|
-
# @param status [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status] Whether the response was served from cache, required fresh work, or honored zero
|
|
98
|
-
|
|
99
|
-
# Whether the response was served from cache, required fresh work, or honored
|
|
100
|
-
# zero-data-retention cache bypass.
|
|
101
|
-
#
|
|
102
|
-
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata#status
|
|
103
|
-
module Status
|
|
104
|
-
extend ContextDev::Internal::Type::Enum
|
|
105
|
-
|
|
106
|
-
HIT = :hit
|
|
107
|
-
MISS = :miss
|
|
108
|
-
ZDR = :zdr
|
|
109
|
-
|
|
110
|
-
# @!method self.values
|
|
111
|
-
# @return [Array<Symbol>]
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
70
|
|
|
115
71
|
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse#brand
|
|
116
72
|
class Brand < ContextDev::Internal::Type::BaseModel
|
|
@@ -415,6 +371,50 @@ module ContextDev
|
|
|
415
371
|
end
|
|
416
372
|
end
|
|
417
373
|
|
|
374
|
+
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse#cache_metadata
|
|
375
|
+
class CacheMetadata < ContextDev::Internal::Type::BaseModel
|
|
376
|
+
# @!attribute age_ms
|
|
377
|
+
# Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
378
|
+
#
|
|
379
|
+
# @return [Integer]
|
|
380
|
+
required :age_ms, Integer
|
|
381
|
+
|
|
382
|
+
# @!attribute status
|
|
383
|
+
# Whether the response was served from cache, required fresh work, or honored
|
|
384
|
+
# zero-data-retention cache bypass.
|
|
385
|
+
#
|
|
386
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status]
|
|
387
|
+
required :status, enum: -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status }
|
|
388
|
+
|
|
389
|
+
# @!method initialize(age_ms:, status:)
|
|
390
|
+
# Some parameter documentations has been truncated, see
|
|
391
|
+
# {ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata} for more
|
|
392
|
+
# details.
|
|
393
|
+
#
|
|
394
|
+
# Cache outcome for this response. Composite responses are hits only when every
|
|
395
|
+
# cache-controlled fetch contributing to the output was a hit; age_ms is the
|
|
396
|
+
# oldest contributing hit.
|
|
397
|
+
#
|
|
398
|
+
# @param age_ms [Integer] Age of the cached data in milliseconds. Zero for miss and zdr responses.
|
|
399
|
+
#
|
|
400
|
+
# @param status [Symbol, ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata::Status] Whether the response was served from cache, required fresh work, or honored zero
|
|
401
|
+
|
|
402
|
+
# Whether the response was served from cache, required fresh work, or honored
|
|
403
|
+
# zero-data-retention cache bypass.
|
|
404
|
+
#
|
|
405
|
+
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse::CacheMetadata#status
|
|
406
|
+
module Status
|
|
407
|
+
extend ContextDev::Internal::Type::Enum
|
|
408
|
+
|
|
409
|
+
HIT = :hit
|
|
410
|
+
MISS = :miss
|
|
411
|
+
ZDR = :zdr
|
|
412
|
+
|
|
413
|
+
# @!method self.values
|
|
414
|
+
# @return [Array<Symbol>]
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
|
|
418
418
|
# @see ContextDev::Models::BrandRetrieveSimplifiedResponse#key_metadata
|
|
419
419
|
class KeyMetadata < ContextDev::Internal::Type::BaseModel
|
|
420
420
|
# @!attribute credits_consumed
|
|
@@ -106,7 +106,8 @@ module ContextDev
|
|
|
106
106
|
|
|
107
107
|
class Result < ContextDev::Internal::Type::BaseModel
|
|
108
108
|
# @!attribute description
|
|
109
|
-
# Snippet excerpt from the page.
|
|
109
|
+
# Snippet excerpt from the page. Empty string when the search provider does not
|
|
110
|
+
# supply a snippet.
|
|
110
111
|
#
|
|
111
112
|
# @return [String]
|
|
112
113
|
required :description, String
|
|
@@ -136,7 +137,10 @@ module ContextDev
|
|
|
136
137
|
required :url, String
|
|
137
138
|
|
|
138
139
|
# @!method initialize(description:, markdown:, relevance:, title:, url:)
|
|
139
|
-
#
|
|
140
|
+
# Some parameter documentations has been truncated, see
|
|
141
|
+
# {ContextDev::Models::WebSearchResponse::Result} for more details.
|
|
142
|
+
#
|
|
143
|
+
# @param description [String] Snippet excerpt from the page. Empty string when the search provider does not su
|
|
140
144
|
#
|
|
141
145
|
# @param markdown [ContextDev::Models::WebSearchResponse::Result::Markdown] Markdown scrape status and content for this result.
|
|
142
146
|
#
|
data/lib/context_dev/version.rb
CHANGED