Skip to main content

Interface: ChatGPTPluginRetrieverParams

retrievers.internal.ChatGPTPluginRetrieverParams

Hierarchy

Implemented by

Properties

auth

auth: RemoteRetrieverAuth

The authentication method to use, currently implemented is

  • false: no authentication
  • { bearer: string }: Bearer token authentication

Inherited from

RemoteRetrieverParams.auth

Defined in

langchain/src/retrievers/remote/base.ts:20


filter

Optional filter: ChatGPTPluginRetrieverFilter

The filter to use when querying the ChatGPTRetrievalPlugin server

Defined in

langchain/src/retrievers/remote/chatgpt-plugin.ts:26


maxConcurrency

Optional maxConcurrency: number

The maximum number of concurrent calls that can be made. Defaults to Infinity, which means no limit.

Inherited from

RemoteRetrieverParams.maxConcurrency

Defined in

langchain/src/util/async_caller.ts:9


maxRetries

Optional maxRetries: number

The maximum number of retries that can be made for a single call, with an exponential backoff between each attempt. Defaults to 6.

Inherited from

RemoteRetrieverParams.maxRetries

Defined in

langchain/src/util/async_caller.ts:14


topK

Optional topK: number

The number of results to request from the ChatGPTRetrievalPlugin server

Defined in

langchain/src/retrievers/remote/chatgpt-plugin.ts:21


url

url: string

The URL of the remote retriever server

Inherited from

RemoteRetrieverParams.url

Defined in

langchain/src/retrievers/remote/base.ts:13