UNPKG

auto-gpt-ts

Version:

my take of Auto-GPT in typescript

24 lines (23 loc) 765 B
import { PromptGenerator } from "./prompt-base"; export declare const responseFormat: { thoughts: { text: string; reasoning: string; plan: string; criticism: string; speak: string; }; command: { name: string; args: { "arg name": string; }; }; }; export declare const REMINDER_PROMPT: string; export declare const DEFAULT_TRIGGERING_PROMPT = "Determine which next command to use, and respond using the format specified above: "; /** * This function generates a prompt string that includes various constraints, * commands, resources, and performance evaluations. */ export declare const buildDefaultPromptGenerator: (promptGenerator?: PromptGenerator) => PromptGenerator;