UNPKG

askexperts

Version:

AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol

29 lines (28 loc) 771 B
import { Command } from "commander"; /** * Options for the client command */ export interface ClientCommandOptions { wallet?: string; relays?: string[]; openaiApiKey?: string; openaiBaseUrl?: string; maxAmount?: string; requirements?: string; debug?: boolean; remote?: boolean; url?: string; } /** * Execute the client command with the given options and question * * @param question The question to ask experts * @param options Command line options */ export declare function executeClientCommand(question: string, options: ClientCommandOptions): Promise<void>; /** * Register the client command with the CLI * * @param program The commander program */ export declare function registerClientCommand(program: Command): void;