Constructors

  • Parameters

    • config: {
          url: string;
      } & ({
          serpApiKey: string;
      } | {
          googleApiKey: string;
          googleCseId: string;
      })

    Returns Google

Properties

googleApiKey: string = ''
googleCseId: string = ''
serpApiKey?: string
url: string

Methods

  • Parameters

    • prompt: string
    • OptionaluseSerpApi: boolean

    Returns Promise<string[]>