Class: Tavily::ExtractResult
Overview
A single successfully extracted page from Client#extract.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#favicon ⇒ String?
Favicon URL (when include_favicon: true).
-
#images ⇒ Array<String>
Image URLs (when include_images: true).
-
#raw_content ⇒ String?
Extracted content (markdown or text).
-
#url ⇒ String?
The extracted URL.
Methods inherited from Object
#==, #[], attribute, #dig, #hash, #initialize, #inspect, #key?, #to_h
Constructor Details
This class inherits a constructor from Tavily::Object
Instance Method Details
#favicon ⇒ String?
Returns favicon URL (when include_favicon: true).
96 |
# File 'lib/tavily/responses.rb', line 96 attribute :favicon |
#images ⇒ Array<String>
Returns image URLs (when include_images: true).
94 |
# File 'lib/tavily/responses.rb', line 94 attribute :images |
#raw_content ⇒ String?
Returns extracted content (markdown or text).
92 |
# File 'lib/tavily/responses.rb', line 92 attribute :raw_content |
#url ⇒ String?
Returns the extracted URL.
90 |
# File 'lib/tavily/responses.rb', line 90 attribute :url |