node-llama-cpp
Version:
Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level
11 lines (10 loc) • 415 B
TypeScript
export type PrettyPrintObjectOptions = {
maxArrayValues?: number;
useNumberGrouping?: boolean;
maxArrayItemsWidth?: number;
multilineObjects?: boolean;
};
export declare function prettyPrintObject(obj: any, indent?: number, options?: PrettyPrintObjectOptions): string;
export declare function formatNumber(num: number | bigint, { useNumberGrouping }?: {
useNumberGrouping?: boolean;
}): string;