generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
19 lines (18 loc) • 729 B
TypeScript
import { AgentFunctionResult, LlmApi, Tokenizer } from '../agent-core/index.js';
import { LlmAgentFunctionBase } from './utils/index.js';
import { Agent } from '../agents/index.js';
interface PlanWebResearchFuncParameters {
goal: string;
}
export declare class PlanWebResearchFunction extends LlmAgentFunctionBase<PlanWebResearchFuncParameters> {
constructor(llm: LlmApi, tokenizer: Tokenizer);
name: string;
description: string;
parameters: any;
buildExecutor({ context }: Agent<unknown>): (params: PlanWebResearchFuncParameters, rawParams?: string) => Promise<AgentFunctionResult>;
private onSuccess;
private onError;
private getPlanningPrompt;
private getFormattingPrompt;
}
export {};