The key in the JSON body to put the query in
The key in the JSON response to get the metadata from
The key in the JSON response to get the page content from
The key in the JSON response to get the response from
Processes the JSON response from the API. It returns an array of
Document
objects, each created with the page content and metadata
extracted from the response using the pageContentKey
and
metadataKey
, respectively.
JSON response from the API.
An array of Document
objects.
Generated using TypeDoc
⚠️ Deprecated ⚠️
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Use RemoteRetriever instead. Specific implementation of the
RemoteRetriever
class designed to retrieve documents from a remote source using a JSON-based API. It implements theRemoteLangChainRetrieverParams
interface which defines the keys used to interact with the JSON API.