Skip to content

< Back


INativeLibrarySelectingPolicy

Namespace: LLama.Abstractions

Decides the selected native library that should be loaded according to the configurations.

1
public interface INativeLibrarySelectingPolicy

Attributes NullableContextAttribute

Methods

Apply(Description, SystemInfo, LLamaLogCallback)

Select the native library.

1
IEnumerable<INativeLibrary> Apply(Description description, SystemInfo systemInfo, LLamaLogCallback logCallback)

Parameters

description Description

systemInfo SystemInfo
The system information of the current machine.

logCallback LLamaLogCallback
The log callback.

Returns

IEnumerable<INativeLibrary>
The information of the selected native library files, in order by priority from the beginning to the end.


< Back