UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

28 lines 1.53 kB
import { Tool } from './Tool'; import { ToolCallContext } from '../models/ToolCallContext'; import { ToolCallResult } from '../models/ToolCallResult'; import { BaseToolGptParameters } from '../models/BaseToolGptParameters'; export interface GetEntityDataFromGoogleMapResultToolCoreParameters { } export interface GetEntityDataFromGoogleMapResultToolGptParameters extends BaseToolGptParameters, GetEntityDataFromGoogleMapResultToolCoreParameters { /** * The name of the business/entity at the current Google Maps location. */ entityName: string; /** * The address of the business/entity at the current Google Maps location. */ entityAddress: string; } /** * This tool is meant to be called when looking at a Google Maps search result for a * business/entity. This is only used for mapping the API inputs for the special flows API * extractGoogleStreetviewEntityData so that the underlying special flow can be run. */ export declare class GetEntityDataFromGoogleMapResultTool extends Tool<GetEntityDataFromGoogleMapResultToolCoreParameters, GetEntityDataFromGoogleMapResultToolGptParameters> { static readonly NAME = "getEntityDataFromGoogleMapResult"; constructor(); call(context: ToolCallContext, _parameters: GetEntityDataFromGoogleMapResultToolCoreParameters): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: GetEntityDataFromGoogleMapResultToolGptParameters): Promise<ToolCallResult>; } //# sourceMappingURL=GetEntityDataFromGoogleMapResult.d.ts.map