ChatGPTRetrievalPluginReader#

class llama_index.readers.ChatGPTRetrievalPluginReader(endpoint_url: str, bearer_token: Optional[str] = None, retries: Optional[Retry] = None, batch_size: int = 100)#

Bases: BaseReader

ChatGPT Retrieval Plugin reader.

Methods Summary

load_data(query[, top_k, separate_documents])

Load data from ChatGPT Retrieval Plugin.

Methods Documentation

load_data(query: str, top_k: int = 10, separate_documents: bool = True, **kwargs: Any) List[Document]#

Load data from ChatGPT Retrieval Plugin.