Configuration parameters for initializing the provider.
Optional
onOptional
onOptional
onOptional
onAborts 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.
Optional
options: 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.
Optional
ctx: numberThe optional context window length, defaults to the model ctx.
Optional
urls: string | string[]Optional
onLoadProgress: OnLoadProgressNot implemented for this provider
Creates a new instance of the KoboldcppProvider.