UNPKG

askexperts

Version:

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

18 lines (17 loc) 629 B
import { Command } from "commander"; import { DocstoreCommandOptions } from "./index.js"; /** * Create a new docstore * @param name Name of the docstore * @param options Command options */ export declare function createDocstore(name: string, options: DocstoreCommandOptions & { model?: string; model_options?: string; }): Promise<void>; /** * Register the create command * @param docstoreCommand The parent docstore command * @param addPathOption Function to add path option to command */ export declare function registerCreateCommand(docstoreCommand: Command, addCommonOptions: (cmd: Command) => Command): void;