Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/provider-llamacpp-node / llamaCppNodeAdapter

Function: llamaCppNodeAdapter()

ts
function llamaCppNodeAdapter(options): Provider;

Defined in: adapter.ts:98

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

ParameterType
optionsLlamaCppNodeAdapterOptions

Returns

Provider

Stable