agsamantha/node_modules/@langchain/community/dist/tools/google_places.d.ts
2024-10-02 15:15:21 -05:00

21 lines
555 B
TypeScript

import { Tool } from "@langchain/core/tools";
/**
* Interface for parameters required by GooglePlacesAPI class.
*/
export interface GooglePlacesAPIParams {
apiKey?: string;
}
/**
* Tool that queries the Google Places API
*/
export declare class GooglePlacesAPI extends Tool {
static lc_name(): string;
get lc_secrets(): {
[key: string]: string;
} | undefined;
name: string;
protected apiKey: string;
description: string;
constructor(fields?: GooglePlacesAPIParams);
_call(input: string): Promise<string>;
}