Skip to content

< Back


IModelParamsExtensions

Namespace: LLama.Extensions

Extension methods to the IModelParams interface

1
public static class IModelParamsExtensions

Inheritance ObjectIModelParamsExtensions
Attributes NullableContextAttribute, NullableAttribute, ExtensionAttribute

Methods

ToLlamaModelParams(IModelParams, LLamaModelParams&)

Convert the given IModelParams into a LLamaModelParams

1
public static IDisposable ToLlamaModelParams(IModelParams params, LLamaModelParams& result)

Parameters

params IModelParams

result LLamaModelParams&

Returns

IDisposable

Exceptions

FileNotFoundException

ArgumentException


< Back