The authentication method to use, currently implemented is
The number of results to request from the ChatGPTRetrievalPlugin server
The URL of the remote retriever server
Optional
filterThe filter to use when querying the ChatGPTRetrievalPlugin server
Creates a JSON body for the request to the ChatGPTRetrievalPlugin server.
The query to send to the server.
A JSON object representing the body of the request.
Processes the JSON response from the ChatGPTRetrievalPlugin server and returns an array of Document instances.
The JSON response from the server.
An array of Document instances.
Generated using TypeDoc
Class that connects ChatGPT to third-party applications via plugins. It extends the RemoteRetriever class and implements the ChatGPTPluginRetrieverParams interface.
Example