Skip to content

IContextParamsExtensions

Namespace: LLama.Extensions

Extention methods to the IContextParams interface

public static class IContextParamsExtensions

Inheritance ObjectIContextParamsExtensions

Methods

ToLlamaContextParams(IContextParams, LLamaContextParams&)

Convert the given IModelParams into a LLamaContextParams

public static void ToLlamaContextParams(IContextParams params, LLamaContextParams& result)

Parameters

params IContextParams

result LLamaContextParams&

Exceptions

FileNotFoundException

ArgumentException