Class: Tavily::ExtractResponse
- Includes:
- Envelope
- Defined in:
- lib/tavily/responses.rb
Overview
Response from Client#extract.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#failed_results ⇒ Array<FailedResult>
URLs that could not be extracted.
-
#results ⇒ Array<ExtractResult>
Successfully extracted pages.
Methods included from Envelope
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
#failed_results ⇒ Array<FailedResult>
Returns URLs that could not be extracted.
114 |
# File 'lib/tavily/responses.rb', line 114 attribute :failed_results, wrap: FailedResult, collection: true |
#results ⇒ Array<ExtractResult>
Returns successfully extracted pages.
112 |
# File 'lib/tavily/responses.rb', line 112 attribute :results, wrap: ExtractResult, collection: true |