UNPKG

askexperts

Version:

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

28 lines (27 loc) 745 B
import { Command } from "commander"; /** * Options for the chat command */ export interface ChatCommandOptions { wallet?: string; relays?: string[]; maxAmount?: string; debug?: boolean; stream?: boolean; stdin?: boolean; remote?: boolean; url?: string; } /** * Execute the chat command with the given options and expert pubkey * * @param expertPubkey The pubkey of the expert to chat with * @param options Command line options */ export declare function executeChatCommand(expertIdentifier: string, options: ChatCommandOptions): Promise<void>; /** * Register the chat command with the CLI * * @param program The commander program */ export declare function registerChatCommand(program: Command): void;