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 inferences. Note: it will query the server and retrieve current model info (name and ctx).
The name of the model to load.
Optionalctx: numberThe optional context window length, defaults to the model ctx.
Optionalurls: string | string[]OptionalonLoadProgress: OnLoadProgressNot implemented for this provider
Creates a new instance of the KoboldcppProvider.