Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/provider-llamacpp-node / / llamaCppNodeAdapter
Function: llamaCppNodeAdapter()
ts
function llamaCppNodeAdapter(options): Provider;Defined in: packages/provider-llamacpp-node/src/adapter.ts:118
Build a Graphorin Provider backed by an in-process GGUF model. The first call lazily loads the node-llama-cpp peer + the model file; subsequent calls reuse the cached instances.
Parameters
| Parameter | Type |
|---|---|
options | LlamaCppNodeAdapterOptions |