import { ChatGPTPluginRetriever } from "langchain/retrievers/remote"; export const run = async () => { const retriever = new ChatGPTPluginRetriever({ url: "http://0.0.0.0:8000", auth: { bearer: "super-secret-jwt-token-with-at-least-32-characters-long", }, }); const docs = await retriever.getRelevantDocuments("hello world"); console.log(docs); };