Skip to content

IModelParamsExtensions

Namespace: LLama.Extensions

Extention methods to the IModelParams interface

public static class IModelParamsExtensions

Inheritance ObjectIModelParamsExtensions

Methods

ToLlamaContextParams(IModelParams, LLamaContextParams&)

Convert the given IModelParams into a LLamaContextParams

public static MemoryHandle ToLlamaContextParams(IModelParams params, LLamaContextParams& result)

Parameters

params IModelParams

result LLamaContextParams&

Returns

MemoryHandle

Exceptions

FileNotFoundException

ArgumentException