Class BingSerpAPI

A tool for web search functionality using Bing's search engine. It extends the base Tool class and implements the _call method to perform the search operation. Requires an API key for Bing's search engine, which can be set in the environment variables. Also accepts additional parameters for the search query.

Hierarchy

  • Tool
    • BingSerpAPI

Constructors

Properties

Methods

Constructors

  • Parameters

    • apiKey: undefined | string = ...
    • params: Record<string, string> = {}

    Returns BingSerpAPI

Properties

description: string = "a search engine. useful for when you need to answer questions about current events. input should be a search query."
key: string
name: string = "bing-search"
params: Record<string, string>

Methods

  • Not implemented. Will throw an error if called.

    Returns SerializedNotImplemented

Generated using TypeDoc