UNPKG

@autobe/agent

Version:

AI backend server code generator

21 lines (20 loc) 865 B
import { ILlmSchema } from "@samchon/openapi"; import { AutoBeContext } from "../../context/AutoBeContext"; import { AutoBeAnalyzePointer } from "./AutoBeAnalyzePointer"; import { AutoBeAnalyzeReviewer } from "./AutoBeAnalyzeReviewer"; export declare class AutoBeAnalyzeAgent<Model extends ILlmSchema.Model> { private readonly createReviewerAgentFn; private readonly ctx; private readonly pointer; private readonly filenames; private readonly createAnalyzeAgent; private readonly fileMap; constructor(createReviewerAgentFn: typeof AutoBeAnalyzeReviewer, ctx: AutoBeContext<Model>, pointer: AutoBeAnalyzePointer, filenames: string[]); /** * Conversate with planner agent * * @param content Conversation from user in this time. * @returns */ conversate(content: string, retry?: number): Promise<string>; }