Configuration parameters for initializing the provider.
OptionalonOptionalonOptionalonOptionalonAborts a currently running inference task.
Makes an inference based on the provided prompt and parameters.
The input text to base the inference on.
Parameters for customizing the inference behavior.
Optionaloptions: InferenceOptionsLoads a specified model for inference
The name of the model to load.
Optionalctx: numberThe optional context window length, defaults to the model ctx.
Optionalurls: string | string[]OptionalonLoadProgress: OnLoadProgressLoad the models list
Unloads a specified model
The name of the model to unload.
Creates a new instance of the KoboldcppProvider.