UNPKG

generator-begcode

Version:

Spring Boot + Angular/React/Vue in one handy generator

18 lines (17 loc) 558 B
import { AgentFunctionResult } from '../agent-core/index.js'; import { Agent } from '../agents/index.js'; import { AgentFunctionBase } from './utils/index.js'; export declare class ScrapeTextFunction extends AgentFunctionBase<{ url: string; }> { get description(): string; name: string; parameters: any; buildExecutor(_: Agent<unknown>): (params: { url: string; }, rawParams?: string | undefined) => Promise<AgentFunctionResult>; private processWebpage; private sanitize; private onSuccess; private onError; }