UNPKG

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

5 lines (4 loc) 254 B
export type ModelFileAccessTokens = { huggingFace?: string; }; export declare function resolveModelFileAccessTokensTryHeaders(modelUrl: string, tokens?: ModelFileAccessTokens, baseHeaders?: Record<string, string>): Promise<Record<string, string>[]>;