The authentication method to use, currently implemented is
The URL of the remote retriever server
Optional
callbacksOptional
inputThe key in the JSON body to put the query in
Optional
maxThe maximum number of concurrent calls that can be made.
Defaults to Infinity
, which means no limit.
Optional
maxThe maximum number of retries that can be made for a single call, with an exponential backoff between each attempt. Defaults to 6.
Optional
metadataOptional
metadataThe key in the JSON response to get the metadata from
Optional
onCustom handler to handle failed attempts. Takes the originally thrown error object as input, and should itself throw an error if the input error is not retryable.
Optional
pageThe key in the JSON response to get the page content from
Optional
responseThe key in the JSON response to get the response from
Optional
tagsOptional
verboseGenerated using TypeDoc
Interface for the parameters required to initialize a RemoteRetriever instance.