Microsoft.KernelMemory.Abstractions 0.36.240415.1

Prefix Reserved
Suggested Alternatives

Microsoft.KernelMemory.Core

This package has a SemVer 2.0.0 package version: 0.36.240415.1+d772e32.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.KernelMemory.Abstractions --version 0.36.240415.1                
NuGet\Install-Package Microsoft.KernelMemory.Abstractions -Version 0.36.240415.1                
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="Microsoft.KernelMemory.Abstractions" Version="0.36.240415.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.KernelMemory.Abstractions --version 0.36.240415.1                
#r "nuget: Microsoft.KernelMemory.Abstractions, 0.36.240415.1"                
#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.
// Install Microsoft.KernelMemory.Abstractions as a Cake Addin
#addin nuget:?package=Microsoft.KernelMemory.Abstractions&version=0.36.240415.1

// Install Microsoft.KernelMemory.Abstractions as a Cake Tool
#tool nuget:?package=Microsoft.KernelMemory.Abstractions&version=0.36.240415.1                

Kernel Memory

License: MIT Discord

Kernel Memory (KM) is a multi-modal AI Service specialized in the efficient indexing of datasets through custom continuous data hybrid pipelines, with support for Retrieval Augmented Generation (RAG), synthetic memory, prompt engineering, and custom semantic memory processing.

KM includes a GPT Plugin, web clients, a .NET library for embedded applications, and as a Docker container.

image

Utilizing advanced embeddings and LLMs, the system enables Natural Language querying for obtaining answers from the indexed data, complete with citations and links to the original sources.

image

Designed for seamless integration as a Plugin with Semantic Kernel, Microsoft Copilot and ChatGPT, Kernel Memory enhances data-driven features in applications built for most popular AI platforms.

Repository Guidance

This repository presents best practices and a reference architecture for memory in specific AI and LLMs application scenarios. Please note that the provided code serves as a demonstration and is not an officially supported Microsoft offering.

Kernel Memory (KM) and Semantic Memory (SM)

Semantic Memory (SM) is a library for C#, Python, and Java that wraps direct calls to databases and supports vector search. It was developed as part of the Semantic Kernel (SK) project and serves as the first public iteration of long-term memory. The core library is maintained in three languages, while the list of supported storage engines (known as "connectors") varies across languages.

Kernel Memory (KM) is a service built on the feedback received and lessons learned from developing Semantic Kernel (SK) and Semantic Memory (SM). It provides several features that would otherwise have to be developed manually, such as storing files, extracting text from files, providing a framework to secure users' data, etc. The KM codebase is entirely in .NET, which eliminates the need to write and maintain features in multiple languages. As a service, KM can be used from any language, tool, or platform, e.g. browser extensions and ChatGPT assistants.

Here's a few notable differences:

Feature Semantic Memory Kernel Memory
Data formats Text only Web pages, PDF, Images, Word, PowerPoint, Excel, Markdown, Text, JSON, more being added
Search Cosine similarity Cosine similarity, Hybrid search with filters, AND/OR conditions
Language support C#, Python, Java Any language, command line tools, browser extensions, low-code/no-code apps, chatbots, assistants, etc.
Storage engines Azure AI Search, Chroma, DuckDB, Kusto, Milvus, MongoDB, Pinecone, Postgres, Qdrant, Redis, SQLite, Weaviate Azure AI Search, Elasticsearch, MongoDB Atlas, Postgres, Qdrant, Redis, SQL Server, In memory KNN, On disk KNN. In progress: Azure Cosmos DB for MongoDB vCore, Chroma

and features available only in Kernel Memory:

  • RAG (Retrieval Augmented Generation)
  • RAG sources lookup
  • Summarization
  • Security Filters (filter memory by users and groups)
  • Long running ingestion, large documents, with retry logic and durable queues
  • Custom tokenization
  • Document storage
  • OCR via Azure Document Intelligence
  • LLMs (Large Language Models) with dedicated tokenization
  • Cloud deployment
  • OpenAPI
  • Custom storage schema (partially implemented/work in progress)
  • Short Term Memory (partially implemented/work in progress)
  • Concurrent write to multiple vector DBs

Supported Data formats and Backends

Kernel Memory in serverless mode

Kernel Memory works and scales at best when running as a service, allowing to ingest thousands of documents and information without blocking your app.

However, you can use Kernel Memory also serverless, embedding the MemoryServerless class in your app.

Importing documents into your Kernel Memory can be as simple as this:

var memory = new KernelMemoryBuilder()
    .WithOpenAIDefaults(Env.Var("OPENAI_API_KEY"))
    .Build<MemoryServerless>();

// Import a file
await memory.ImportDocumentAsync("meeting-transcript.docx", tags: new() { { "user", "Blake" } });

// Import multiple files and apply multiple tags
await memory.ImportDocumentAsync(new Document("file001")
    .AddFile("business-plan.docx")
    .AddFile("project-timeline.pdf")
    .AddTag("user", "Blake")
    .AddTag("collection", "business")
    .AddTag("collection", "plans")
    .AddTag("fiscalYear", "2023"));

Asking questions:

var answer1 = await memory.AskAsync("How many people attended the meeting?");

var answer2 = await memory.AskAsync("what's the project timeline?", filter: new MemoryFilter().ByTag("user", "Blake"));

The code leverages the default documents ingestion pipeline:

  1. Extract text: recognize the file format and extract the information
  2. Partition the text in small chunks, to optimize search
  3. Extract embedding using an LLM embedding generator
  4. Save embedding into a vector index such as Azure AI Search, Qdrant or other DBs.

Documents are organized by users, safeguarding their private information. Furthermore, memories can be categorized and structured using tags, enabling efficient search and retrieval through faceted navigation.

Data lineage, citations

All memories and answers are fully correlated to the data provided. When producing an answer, Kernel Memory includes all the information needed to verify its accuracy:

await memory.ImportFileAsync("NASA-news.pdf");

var answer = await memory.AskAsync("Any news from NASA about Orion?");

Console.WriteLine(answer.Result + "/n");

foreach (var x in answer.RelevantSources)
{
    Console.WriteLine($"  * {x.SourceName} -- {x.Partitions.First().LastUpdate:D}");
}

Yes, there is news from NASA about the Orion spacecraft. NASA has invited the media to see a new test version of the Orion spacecraft and the hardware that will be used to recover the capsule and astronauts upon their return from space during the Artemis II mission. The event is scheduled to take place at Naval Base San Diego on Wednesday, August 2, at 11 a.m. PDT. Personnel from NASA, the U.S. Navy, and the U.S. Air Force will be available to speak with the media. Teams are currently conducting tests in the Pacific Ocean to demonstrate and evaluate the processes, procedures, and hardware for recovery operations for crewed Artemis missions. These tests will help prepare the team for Artemis II, which will be NASA's first crewed mission under the Artemis program. The Artemis II crew, consisting of NASA astronauts Reid Wiseman, Victor Glover, and Christina Koch, and Canadian Space Agency astronaut Jeremy Hansen, will participate in recovery testing at sea next year. For more information about the Artemis program, you can visit the NASA website.

  • NASA-news.pdf -- Tuesday, August 1, 2023

Using Kernel Memory Service

Depending on your scenarios, you might want to run all the code locally inside your process, or remotely through an asynchronous service.

If you're importing small files, and need only C# and can block the process during the import, local-in-process execution can be fine, using the MemoryServerless seen above.

However, if you are in one of these scenarios:

  • I'd just like a web service to import data and send queries to answer
  • My app is written in TypeScript, Java, Rust, or some other language
  • I want to define custom pipelines mixing multiple languages like Python, TypeScript, etc
  • I'm importing big documents that can require minutes to process, and I don't want to block the user interface
  • I need memory import to run independently, supporting failures and retry logic

then you can deploy Kernel Memory as a service, plugging in the default handlers, or your custom Python/TypeScript/Java/etc. handlers, and leveraging the asynchronous non-blocking memory encoding process, sending documents and asking questions using the MemoryWebClient.

Here you can find a complete set of instruction about how to run the Kernel Memory service.

Quick test using the Docker image

If you want to give the service a quick test, use the following command to start the Kernel Memory Service using OpenAI:

docker run -e OPENAI_API_KEY="..." -it --rm -p 9001:9001 kernelmemory/service

If you prefer using custom settings and services such as Azure OpenAI, Azure Document Intelligence, etc., you should create an appsettings.Development.json file overriding the default values set in appsettings.json, or using the configuration wizard included:

cd service/Service
dotnet run setup

Then run this command to start the Docker image with the configuration just created:

on Windows:

docker run --volume .\appsettings.Development.json:/app/appsettings.Production.json -it --rm -p 9001:9001 kernelmemory/service

on macOS/Linux:

docker run --volume ./appsettings.Development.json:/app/appsettings.Production.json -it --rm -p 9001:9001 kernelmemory/service

To import files using Kernel Memory web service, use MemoryWebClient:

#reference clients/WebClient/WebClient.csproj

var memory = new MemoryWebClient("http://127.0.0.1:9001"); // <== URL where the web service is running

// Import a file (default user)
await memory.ImportDocumentAsync("meeting-transcript.docx");

// Import a file specifying a Document ID, User and Tags
await memory.ImportDocumentAsync("business-plan.docx",
    new DocumentDetails("user@some.email", "file001")
        .AddTag("collection", "business")
        .AddTag("collection", "plans")
        .AddTag("fiscalYear", "2023"));

Getting answers via the web service

curl http://127.0.0.1:9001/ask -d'{"query":"Any news from NASA about Orion?"}' -H 'Content-Type: application/json'
{
  "Query": "Any news from NASA about Orion?",
  "Text": "Yes, there is news from NASA about the Orion spacecraft. NASA has invited the media to see a new test version of the Orion spacecraft and the hardware that will be used to recover the capsule and astronauts upon their return from space during the Artemis II mission. The event is scheduled to take place at Naval Base San Diego on August 2nd at 11 a.m. PDT. Personnel from NASA, the U.S. Navy, and the U.S. Air Force will be available to speak with the media. Teams are currently conducting tests in the Pacific Ocean to demonstrate and evaluate the processes, procedures, and hardware for recovery operations for crewed Artemis missions. These tests will help prepare the team for Artemis II, which will be NASA's first crewed mission under the Artemis program. The Artemis II crew, consisting of NASA astronauts Reid Wiseman, Victor Glover, and Christina Koch, and Canadian Space Agency astronaut Jeremy Hansen, will participate in recovery testing at sea next year. For more information about the Artemis program, you can visit the NASA website.",
  "RelevantSources": [
    {
      "Link": "...",
      "SourceContentType": "application/pdf",
      "SourceName": "file5-NASA-news.pdf",
      "Partitions": [
        {
          "Text": "Skip to main content\nJul 28, 2023\nMEDIA ADVISORY M23-095\nNASA Invites Media to See Recovery Craft for\nArtemis Moon Mission\n(/sites/default/files/thumbnails/image/ksc-20230725-ph-fmx01_0003orig.jpg)\nAboard the USS John P. Murtha, NASA and Department of Defense personnel practice recovery operations for Artemis II in July. A\ncrew module test article is used to help verify the recovery team will be ready to recovery the Artemis II crew and the Orion spacecraft.\nCredits: NASA/Frank Michaux\nMedia are invited to see the new test version of NASA’s Orion spacecraft and the hardware teams will use\nto recover the capsule and astronauts upon their return from space during the Artemis II\n(http://www.nasa.gov/artemis-ii) mission. The event will take place at 11 a.m. PDT on Wednesday, Aug. 2,\nat Naval Base San Diego.\nPersonnel involved in recovery operations from NASA, the U.S. Navy, and the U.S. Air Force will be\navailable to speak with media.\nU.S. media interested in attending must RSVP by 4 p.m., Monday, July 31, to the Naval Base San Diego\nPublic Affairs (mailto:nbsd.pao@us.navy.mil) or 619-556-7359.\nOrion Spacecraft (/exploration/systems/orion/index.html)\nNASA Invites Media to See Recovery Craft for Artemis Moon Miss... https://www.nasa.gov/press-release/nasa-invites-media-to-see-recov...\n1 of 3 7/28/23, 4:51 PMTeams are currently conducting the first in a series of tests in the Pacific Ocean to demonstrate and\nevaluate the processes, procedures, and hardware for recovery operations (https://www.nasa.gov\n/exploration/systems/ground/index.html) for crewed Artemis missions. The tests will help prepare the\nteam for Artemis II, NASA’s first crewed mission under Artemis that will send four astronauts in Orion\naround the Moon to checkout systems ahead of future lunar missions.\nThe Artemis II crew – NASA astronauts Reid Wiseman, Victor Glover, and Christina Koch, and CSA\n(Canadian Space Agency) astronaut Jeremy Hansen – will participate in recovery testing at sea next year.\nFor more information about Artemis, visit:\nhttps://www.nasa.gov/artemis (https://www.nasa.gov/artemis)\n-end-\nRachel Kraft\nHeadquarters, Washington\n202-358-1100\nrachel.h.kraft@nasa.gov (mailto:rachel.h.kraft@nasa.gov)\nMadison Tuttle\nKennedy Space Center, Florida\n321-298-5868\nmadison.e.tuttle@nasa.gov (mailto:madison.e.tuttle@nasa.gov)\nLast Updated: Jul 28, 2023\nEditor: Claire O’Shea\nTags:  Artemis (/artemisprogram),Ground Systems (http://www.nasa.gov/exploration/systems/ground\n/index.html),Kennedy Space Center (/centers/kennedy/home/index.html),Moon to Mars (/topics/moon-to-\nmars/),Orion Spacecraft (/exploration/systems/orion/index.html)\nNASA Invites Media to See Recovery Craft for Artemis Moon Miss... https://www.nasa.gov/press-release/nasa-invites-media-to-see-recov...\n2 of 3 7/28/23, 4:51 PM",
          "Relevance": 0.8430657,
          "SizeInTokens": 863,
          "LastUpdate": "2023-08-01T08:15:02-07:00"
        }
      ]
    }
  ]
}

You can find a full example here.

Custom memory ingestion pipelines

On the other hand, if you need a custom data pipeline, you can also customize the steps, which will be handled by your custom business logic:

// Memory setup, e.g. how to calculate and where to store embeddings
var memoryBuilder = new KernelMemoryBuilder()
    .WithoutDefaultHandlers()
    .WithOpenAIDefaults(Env.Var("OPENAI_API_KEY"));

var memory = memoryBuilder.Build();

// Plug in custom .NET handlers
memory.Orchestrator.AddHandler<MyHandler1>("step1");
memory.Orchestrator.AddHandler<MyHandler2>("step2");
memory.Orchestrator.AddHandler<MyHandler3>("step3");

// Use the custom handlers with the memory object
await memory.ImportDocumentAsync(
    new Document("mytest001")
        .AddFile("file1.docx")
        .AddFile("file2.pdf"),
    steps: new[] { "step1", "step2", "step3" });

Web API specs

The API schema is available at http://127.0.0.1:9001/swagger/index.html when running the service locally with OpenAPI enabled.

Examples and Tools

Examples

  1. Collection of Jupyter notebooks with various scenarios
  2. Using Kernel Memory web service to upload documents and answer questions
  3. Using KM Plugin for Semantic Kernel
  4. Importing files and asking question without running the service (serverless mode)
  5. Processing files with custom logic (custom handlers) in serverless mode
  6. Processing files with custom logic (custom handlers) in asynchronous mode
  7. Upload files and ask questions from command line using curl
  8. Customizing RAG and summarization prompts
  9. Custom partitioning/text chunking options
  10. Using a custom embedding/vector generator
  11. Using custom LLMs
  12. Using LLama
  13. Summarizing documents, using synthetic memories
  14. Writing and using a custom ingestion handler
  15. Running a single asynchronous pipeline handler as a standalone service
  16. Test project using KM package from nuget.org
  17. Integrating Memory with ASP.NET applications and controllers
  18. Sample code showing how to extract text from files
  19. .NET configuration and logging
  20. Expanding chunks retrieving adjacent partitions
  21. Using local models via LM Studio

Tools

  1. .NET appsettings.json generator
  2. Curl script to upload files
  3. Curl script to ask questions
  4. Curl script to search documents
  5. Script to start Qdrant for development tasks
  6. Script to start Elasticsearch for development tasks
  7. Script to start MS SQL Server for development tasks
  8. Script to start Redis for development tasks
  9. Script to start RabbitMQ for development tasks
  10. Script to start MongoDB Atlas for development tasks

.NET packages

  • Microsoft.KernelMemory.WebClient: The web client library, can be used to call a running instance of the Memory web service. .NET Standard 2.0 compatible.

    Nuget package Example code

  • Microsoft.KernelMemory.SemanticKernelPlugin: a Memory plugin for Semantic Kernel, replacing the original Semantic Memory available in SK. .NET Standard 2.0 compatible.

    Nuget package Example code

  • Microsoft.KernelMemory.Abstractions: The internal interfaces and models shared by all packages, used to extend KM to support third party services. .NET Standard 2.0 compatible.

    Nuget package

  • Microsoft.KernelMemory.MemoryDb.AzureAISearch: Memory storage using Azure AI Search.

    Nuget package

  • Microsoft.KernelMemory.MemoryDb.Postgres: Memory storage using PostgreSQL.

    Nuget package

  • Microsoft.KernelMemory.MemoryDb.Qdrant: Memory storage using Qdrant.

    Nuget package

  • Microsoft.KernelMemory.AI.AzureOpenAI: Integration with Azure OpenAI LLMs.

    Nuget package

  • Microsoft.KernelMemory.AI.LlamaSharp: Integration with LLama LLMs.

    Nuget package

  • Microsoft.KernelMemory.AI.OpenAI: Integration with OpenAI LLMs.

    Nuget package

  • Microsoft.KernelMemory.DataFormats.AzureAIDocIntel: Integration with Azure AI Document Intelligence.

    Nuget package

  • Microsoft.KernelMemory.Orchestration.AzureQueues: Ingestion and synthetic memory pipelines via Azure Queue Storage.

    Nuget package

  • Microsoft.KernelMemory.Orchestration.RabbitMQ: Ingestion and synthetic memory pipelines via RabbitMQ.

    Nuget package

  • Microsoft.KernelMemory.ContentStorage.AzureBlobs: Used to store content on Azure Storage Blobs.

    Nuget package

  • Microsoft.KernelMemory.Core: The core library, can be used to build custom pipelines and handlers, and contains a serverless client to use memory in a synchronous way, without the web service. .NET 6+.

    Nuget package Example code

Packages for Python, Java and other languages

Kernel Memory service offers a Web API out of the box, including the OpenAPI swagger documentation that you can leverage to test the API and create custom web clients. For instance, after starting the service locally, see http://127.0.0.1:9001/swagger/index.html.

A .NET Web Client and a Semantic Kernel plugin are available, see the nugets packages above.

A python package with a Web Client and Semantic Kernel plugin will soon be available. We also welcome PR contributions to support more languages.

Contributors

<img alt="afederici75" src="https://avatars.githubusercontent.com/u/13766049?v=4&s=110" width="110"> <img alt="alexibraimov" src="https://avatars.githubusercontent.com/u/59023460?v=4&s=110" width="110"> <img alt="alkampfergit" src="https://avatars.githubusercontent.com/u/358545?v=4&s=110" width="110"> <img alt="amomra" src="https://avatars.githubusercontent.com/u/11981363?v=4&s=110" width="110"> <img alt="anthonypuppo" src="https://avatars.githubusercontent.com/u/6828951?v=4&s=110" width="110"> <img alt="cherchyk" src="https://avatars.githubusercontent.com/u/1703275?v=4&s=110" width="110">
afederici75 alexibraimov alkampfergit amomra anthonypuppo cherchyk
<img alt="crickman" src="https://avatars.githubusercontent.com/u/66376200?v=4&s=110" width="110"> <img alt="dluc" src="https://avatars.githubusercontent.com/u/371009?v=4&s=110" width="110"> <img alt="DM-98" src="https://avatars.githubusercontent.com/u/10290906?v=4&s=110" width="110"> <img alt="GraemeJones104" src="https://avatars.githubusercontent.com/u/79144786?v=4&s=110" width="110"> <img alt="kbeaugrand" src="https://avatars.githubusercontent.com/u/9513635?v=4&s=110" width="110"> <img alt="lecramr" src="https://avatars.githubusercontent.com/u/20584823?v=4&s=110" width="110">
crickman dluc DM-98 GraemeJones104 kbeaugrand lecramr
<img alt="luismanez" src="https://avatars.githubusercontent.com/u/9392197?v=4&s=110" width="110"> <img alt="marcominerva" src="https://avatars.githubusercontent.com/u/3522534?v=4&s=110" width="110"> <img alt="pascalberger" src="https://avatars.githubusercontent.com/u/2190718?v=4&s=110" width="110"> <img alt="pawarsum12" src="https://avatars.githubusercontent.com/u/136417839?v=4&s=110" width="110"> <img alt="qihangnet" src="https://avatars.githubusercontent.com/u/1784873?v=4&s=110" width="110"> <img alt="slapointe" src="https://avatars.githubusercontent.com/u/1054412?v=4&s=110" width="110">
luismanez marcominerva pascalberger pawarsum12 qihangnet slapointe
<img alt="slorello89" src="https://avatars.githubusercontent.com/u/42971704?v=4&s=110" width="110"> <img alt="TaoChenOSU" src="https://avatars.githubusercontent.com/u/12570346?v=4&s=110" width="110"> <img alt="teresaqhoang" src="https://avatars.githubusercontent.com/u/125500434?v=4&s=110" width="110"> <img alt="vicperdana" src="https://avatars.githubusercontent.com/u/7114832?v=4&s=110" width="110"> <img alt="xbotter" src="https://avatars.githubusercontent.com/u/3634877?v=4&s=110" width="110">
slorello89 TaoChenOSU teresaqhoang vicperdana xbotter
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.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 (35)

Showing the top 5 NuGet packages that depend on Microsoft.KernelMemory.Abstractions:

Package Downloads
Microsoft.KernelMemory.Core

The package contains the the core logic and abstractions of Kernel Memory, not including extensions.

Microsoft.KernelMemory.AI.OpenAI

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

Microsoft.KernelMemory.AI.AzureOpenAI

Provide access to Azure OpenAI LLM models in Kernel Memory to generate embeddings and text

Microsoft.KernelMemory.MemoryDb.AzureAISearch

Azure AI Search connector for Microsoft Kernel Memory, to store and search memory using Azure AI Search vector indexing and semantic features.

Microsoft.KernelMemory.MemoryDb.Qdrant

Qdrant connector for Microsoft Kernel Memory, to store and search memory using Qdrant vector indexing and Qdrant features.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.KernelMemory.Abstractions:

Repository Stars
SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.
Version Downloads Last updated
0.91.241101.1 3,383 11/1/2024
0.91.241031.1 1,225 10/31/2024
0.90.241021.1 8,033 10/22/2024
0.90.241020.3 921 10/20/2024
0.80.241017.2 2,384 10/17/2024
0.79.241014.2 1,751 10/14/2024
0.79.241014.1 174 10/14/2024
0.78.241007.1 3,636 10/8/2024
0.78.241005.1 748 10/6/2024
0.77.241004.1 221 10/5/2024
0.76.240930.3 4,511 9/30/2024
0.75.240924.1 5,473 9/24/2024
0.74.240919.1 3,799 9/19/2024
0.73.240906.1 23,759 9/7/2024
0.72.240904.1 3,090 9/5/2024
0.71.240820.1 22,361 8/21/2024
0.70.240803.1 22,850 8/3/2024
0.69.240727.1 11,348 7/27/2024
0.68.240722.1 3,254 7/22/2024
0.68.240716.1 2,774 7/16/2024
0.67.240712.1 1,974 7/12/2024
0.66.240709.1 6,271 7/9/2024
0.65.240620.1 31,854 6/21/2024
0.64.240619.1 1,133 6/20/2024
0.63.240618.1 2,876 6/18/2024
0.62.240605.1 21,463 6/5/2024
0.62.240604.1 530 6/4/2024
0.61.240524.1 13,962 5/24/2024
0.61.240519.2 10,282 5/19/2024
0.60.240517.1 239 5/18/2024
0.51.240513.2 7,991 5/13/2024
0.50.240504.7 6,565 5/4/2024
0.40.240430.1 995 5/1/2024 0.40.240430.1 is deprecated because it is no longer maintained.
0.39.240426.1 5,624 4/27/2024 0.39.240426.1 is deprecated because it is no longer maintained.
0.38.240424.2 1,923 4/24/2024 0.38.240424.2 is deprecated because it is no longer maintained.
0.38.240424.1 67 4/24/2024 0.38.240424.1 is deprecated because it is no longer maintained.
0.37.240423.2 1,536 4/24/2024 0.37.240423.2 is deprecated because it is no longer maintained.
0.37.240423.1 87 4/23/2024 0.37.240423.1 is deprecated because it is no longer maintained.
0.36.240416.1 15,517 4/16/2024 0.36.240416.1 is deprecated because it is no longer maintained.
0.36.240415.1 2,431 4/15/2024 0.36.240415.1 is deprecated because it is no longer maintained.
0.36.240412.1 169 4/12/2024 0.36.240412.1 is deprecated because it is no longer maintained.
0.35.240318.2 47,334 3/18/2024 0.35.240318.2 is deprecated because it is no longer maintained.
0.34.240313.1 25,452 3/13/2024 0.34.240313.1 is deprecated because it is no longer maintained.
0.33.240312.2 614 3/12/2024 0.33.240312.2 is deprecated because it is no longer maintained.
0.33.240312.1 105 3/12/2024 0.33.240312.1 is deprecated because it is no longer maintained.
0.32.240307.1 5,493 3/7/2024 0.32.240307.1 is deprecated because it is no longer maintained.
0.31.240305.4 130 3/6/2024 0.31.240305.4 is deprecated because it is no longer maintained.
0.30.240227.1 20,289 2/28/2024 0.30.240227.1 is deprecated because it is no longer maintained.
0.29.240219.3 8,282 2/20/2024 0.29.240219.3 is deprecated because it is no longer maintained.
0.29.240219.2 93 2/20/2024 0.29.240219.2 is deprecated because it is no longer maintained.
0.28.240212.1 6,509 2/13/2024 0.28.240212.1 is deprecated because it is no longer maintained.
0.27.240205.2 5,339 2/5/2024 0.27.240205.2 is deprecated because it is no longer maintained.
0.26.240104.1 29,319 1/5/2024 0.26.240104.1 is deprecated because it is no longer maintained.
0.25.240103.1 360 1/4/2024 0.25.240103.1 is deprecated because it is no longer maintained.
0.24.231228.5 2,635 12/29/2023 0.24.231228.5 is deprecated because it is no longer maintained.
0.24.231228.4 844 12/29/2023 0.24.231228.4 is deprecated because it is no longer maintained.
0.23.231224.1 9,382 12/24/2023 0.23.231224.1 is deprecated because it is no longer maintained.
0.23.231221.1 1,180 12/22/2023 0.23.231221.1 is deprecated because it is no longer maintained.
0.23.231219.1 2,739 12/20/2023 0.23.231219.1 is deprecated because it is no longer maintained.
0.22.231217.1 188 12/18/2023 0.22.231217.1 is deprecated because it is no longer maintained.
0.21.231214.1 289 12/15/2023 0.21.231214.1 is deprecated because it is no longer maintained.
0.20.231212.1 1,048 12/13/2023 0.20.231212.1 is deprecated because it is no longer maintained.
0.19.231211.1 1,256 12/11/2023 0.19.231211.1 is deprecated because it is no longer maintained.