INativeLibrary
Namespace: LLama.Abstractions
Descriptor of a native library.
1 | |
Attributes NullableContextAttribute
Properties
Metadata
Metadata of this library.
1 | |
Property Value
Methods
Prepare(SystemInfo, LLamaLogCallback)
Prepare the native library file and returns the local path of it. If it's a relative path, LLamaSharp will search the path in the search directies you set.
1 | |
Parameters
systemInfo SystemInfo
The system information of the current machine.
logCallback LLamaLogCallback
The log callback.
Returns
IEnumerable<String>
The relative paths of the library. You could return multiple paths to try them one by one. If no file is available, please return an empty array.