askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
34 lines (33 loc) • 975 B
TypeScript
import { Command } from "commander";
import { ExpertCommandOptions } from "./index.js";
/**
* Options for the create expert command
*/
interface CreateExpertCommandOptions extends ExpertCommandOptions {
wallet?: string;
env?: string[];
docstores?: string[];
privkey_hex?: string;
debug?: boolean;
}
/**
* Register the create expert command with the CLI
*
* @param program The commander program or parent command
* @param db The database instance
*/
/**
* Create a new expert in the database
*
* @param type Type of expert (nostr or openai)
* @param nickname Nickname for the expert
* @param options Command options
*/
export declare function createExpert(type: string, nickname: string, options: CreateExpertCommandOptions): Promise<void>;
/**
* Register the create expert command with the CLI
*
* @param program The commander program or parent command
*/
export declare function registerCreateCommand(program: Command): void;
export {};