openModelFile

fun openModelFile(path: String, nCtx: Int)

Opens a model file.

Parameters

path

The path to the GGUF model file

nCtx

The context length (0 for model default)

Throws

if the operation fails