Interface for the parameters required to initialize a RemoteRetriever instance.

interface VespaRetrieverParams {
    auth: RemoteRetrieverAuth;
    content_field: string;
    query_body: object;
    url: string;

Hierarchy (view full)


The authentication method to use, currently implemented is

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

The name of the field the content resides in

query_body: object

The body of the query to send to Vespa

url: string

The URL of the remote retriever server