auto-gpt-ts
Version:
my take of Auto-GPT in typescript
18 lines (17 loc) • 666 B
TypeScript
import { PromptGenerator } from "../prompt/prompt-base";
import { CommandRegistry } from "../commands/command";
export declare class AIConfig {
/**
* A class object that contains the configuration information for the AI
*/
aiName: string;
aiRole: string;
aiGoals: string[];
apiBudget: number;
promptGenerator: PromptGenerator | null;
commandRegistry: CommandRegistry | null;
constructor(aiName?: string, aiRole?: string, aiGoals?: string[] | null, apiBudget?: number);
static load(configFile?: string): AIConfig;
save(configFile?: string): void;
constructFullPrompt(promptGenerator?: PromptGenerator): string;
}