File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ class Data < ContextDev::Internal::Type::BaseModel
7373 required :authors , ContextDev ::Internal ::Type ::ArrayOf [ String ]
7474
7575 # @!attribute description
76- # Short summary or excerpt of the article, when the publisher provides one.
76+ # Article summary or excerpt. Natural-language search descriptions include
77+ # matching passages and are capped at 2,000 characters.
7778 #
7879 # @return [String, nil]
7980 required :description , String , nil? : true
@@ -145,7 +146,7 @@ class Data < ContextDev::Internal::Type::BaseModel
145146 #
146147 # @param authors [Array<String>] Bylined authors. Empty when no byline is available.
147148 #
148- # @param description [String, nil] Short summary or excerpt of the article, when the publisher provides one.
149+ # @param description [String, nil] Article summary or excerpt. Natural-language search descriptions include matchin
149150 #
150151 # @param image_url [String, nil] Lead image for the article, when one is available.
151152 #
Original file line number Diff line number Diff line change @@ -114,7 +114,8 @@ module ContextDev
114114 sig { returns ( T ::Array [ String ] ) }
115115 attr_accessor :authors
116116
117- # Short summary or excerpt of the article, when the publisher provides one.
117+ # Article summary or excerpt. Natural-language search descriptions include
118+ # matching passages and are capped at 2,000 characters.
118119 sig { returns ( T . nilable ( String ) ) }
119120 attr_accessor :description
120121
@@ -210,7 +211,8 @@ module ContextDev
210211 id :,
211212 # Bylined authors. Empty when no byline is available.
212213 authors :,
213- # Short summary or excerpt of the article, when the publisher provides one.
214+ # Article summary or excerpt. Natural-language search descriptions include
215+ # matching passages and are capped at 2,000 characters.
214216 description :,
215217 # Lead image for the article, when one is available.
216218 image_url :,
You can’t perform that action at this time.
0 commit comments