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
7 lines (6 loc) • 413 B
TypeScript
import { MetadataKeyValueRecord, MetadataValue } from "../types/GgufFileInfoTypes.js";
export declare function convertMetadataKeyValueRecordToNestedObject(keyValueRecord: MetadataKeyValueRecord, { logOverrideWarnings, ignoreKeys, noDirectSubNestingKeys }?: {
logOverrideWarnings?: boolean;
ignoreKeys?: readonly string[];
noDirectSubNestingKeys?: readonly string[];
}): Record<string, MetadataValue>;