langchain.js
    Preparing search index...

    Wrapper around serper.

    You can create a free API key at https://serper.dev.

    To use, you should have the SERPER_API_KEY environment variable set.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      Returns Serper

    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 = "search"
    params: Partial<SerperParameters>

    Methods

    • Converts the Serper instance to JSON. This method is not implemented and will throw an error if called.

      Returns any

      Throws an error.

    • Returns string