The interface for the AI client.

interface AIClient {
    getChatModels(): Promise<ChatModel[]>;
    prompt(prompt: string, options?: PromptOptions): Promise<string>;
}

Methods

  • Prompt the AI.

    Parameters

    Returns Promise<string>