generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
17 lines (16 loc) • 726 B
TypeScript
import { AgentFunctionResult, LlmApi, Tokenizer, AgentContext } from '../agent-core/index.js';
import { LlmAgentFunctionBase } from './utils/index.js';
import { Agent } from '../agents/index.js';
interface AnalyzeDataParameters {
data: string;
question: string;
}
export declare class AnalyzeDataFunction extends LlmAgentFunctionBase<AnalyzeDataParameters> {
constructor(llm: LlmApi, tokenizer: Tokenizer);
name: string;
description: string;
parameters: any;
analyze(params: AnalyzeDataParameters, context: AgentContext): Promise<string>;
buildExecutor({ context, }: Agent<unknown>): (params: AnalyzeDataParameters, rawParams?: string | undefined) => Promise<AgentFunctionResult>;
}
export {};