LLamaSharp 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LLamaSharp --version 0.2.0
                    
NuGet\Install-Package LLamaSharp -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LLamaSharp" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LLamaSharp" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LLamaSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LLamaSharp --version 0.2.0
                    
#r "nuget: LLamaSharp, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=LLamaSharp&version=0.2.0
                    
Install LLamaSharp as a Cake Addin
#tool nuget:?package=LLamaSharp&version=0.2.0
                    
Install LLamaSharp as a Cake Tool

The .NET binding of LLama.cpp, providing APIs to run the model and deploy it on Web.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on LLamaSharp:

Package Downloads
Microsoft.KernelMemory.AI.LlamaSharp

Provide access to OpenAI LLM models in Kernel Memory to generate text

LLamaSharp.kernel-memory

The integration of LLamaSharp and Microsoft kernel-memory. It could make it easy to support document search for LLamaSharp model inference.

LLamaSharp.semantic-kernel

The integration of LLamaSharp and Microsoft semantic-kernel.

LangChain.Providers.LLamaSharp

LLamaSharp Chat model provider.

LangChain.Providers.Automatic1111

Automatic1111 Stable DIffusion model provider.

GitHub repositories (7)

Showing the top 7 popular GitHub repositories that depend on LLamaSharp:

Repository Stars
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
microsoft/kernel-memory
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
jxq1997216/AITranslator
使用大语言模型来翻译MTool导出的待翻译文件的图像化UI软件
0x101-Cyber-Security/NetLock-RMM
The open-source RMM supporting Windows, Linux & MacOS
microsoft/Document-Knowledge-Mining-Solution-Accelerator
Solution accelerator built on Azure OpenAI Service and Azure AI Document Intelligence to process and extract summaries, entities, and metadata from unstructured, multi-modal documents and enable searching and chatting over this data.
wisedev-code/MaIN.NET
NuGet package designed to make LLMs, RAG, and Agents first-class citizens in .NET
Version Downloads Last updated
0.24.0 2,189 5/14/2025
0.23.0 23,166 3/20/2025
0.22.0 351 3/20/2025
0.21.0 16,947 2/2/2025
0.20.0 5,418 1/21/2025
0.19.0 46,029 11/8/2024
0.18.0 27,173 10/19/2024
0.17.0 1,678 10/13/2024
0.16.0 74,854 9/1/2024
0.15.0 27,678 8/3/2024
0.14.0 3,706 7/16/2024
0.13.0 64,914 6/4/2024
0.12.0 99,506 5/12/2024
0.11.2 17,812 4/6/2024
0.11.1 1,000 3/31/2024
0.10.0 7,381 2/15/2024
0.9.1 11,125 1/6/2024
0.9.0 610 1/6/2024
0.8.1 30,311 11/28/2023
0.8.0 38,052 11/12/2023
0.7.0 1,930 10/31/2023
0.6.0 2,456 10/24/2023
0.5.1 7,901 9/5/2023
0.4.2-preview 1,995 8/6/2023
0.4.1-preview 1,321 6/21/2023
0.4.0 11,649 6/19/2023
0.3.0 10,888 5/22/2023
0.2.3 752 5/17/2023
0.2.2 669 5/17/2023
0.2.1 706 5/12/2023
0.2.0 985 5/12/2023

LLama 0.1.0 provides basic APIs to load and run models.