Defines the arguments that can be passed to the WebBrowser constructor. It extends the ToolParams interface and includes properties for a language model, embeddings, HTTP headers, an Axios configuration, a callback manager, and a text splitter.

interface WebBrowserArgs {
    embeddings: EmbeddingsInterface;
    model: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>;
    axiosConfig?: Omit<AxiosRequestConfig<any>, "url">;
    callbackManager?: CallbackManager;
    headers?: Headers;
    textSplitter?: any;
}

Hierarchy

  • ToolParams
    • WebBrowserArgs

Properties

embeddings: EmbeddingsInterface
model: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>
axiosConfig?: Omit<AxiosRequestConfig<any>, "url">
callbackManager?: CallbackManager

⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

headers?: Headers
textSplitter?: any

Generated using TypeDoc