monthly

GitHub C# Trending

The latest build: 2024-07-19Source of data: GitHubTrendingRSS

Integrate cutting-edge LLM technology quickly and easily into your apps


Semantic Kernel

Status

  • Python
    Python package
  • .NET
    Nuget packagedotnet Dockerdotnet Windows
  • Java
    Java CICD BuildsMaven Central

Overview

License: MITDiscord

Semantic Kernel is an SDK that integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Semantic Kernel achieves this by allowing you to define plugins that can be chained together in just a few lines of code.

What makes Semantic Kernel special, however, is its ability to automatically orchestrate plugins with AI. With Semantic Kernel planners, you can ask an LLM to generate a plan that achieves a user's unique goal. Afterwards, Semantic Kernel will execute the plan for the user.

Please star the repo to show your support for this project!

Orchestrating plugins with planner

Getting started with Semantic Kernel

The Semantic Kernel SDK is available in C#, Python, and Java. To get started, choose your preferred language below. See the Feature Matrix to see a breakdown of feature parity between our currently supported languages.

Java logo

The quickest way to get started with the basics is to get an API key from either OpenAI or Azure OpenAI and to run one of the C#, Python, and Java console applications/scripts below.

For C#:

  1. Create a new console app.
  2. Add the semantic kernel nuget Microsoft.SemanticKernel.
  3. Copy the code from here into the app Program.cs file.
  4. Replace the configuration placeholders for API key and other params with your key and settings.
  5. Run with F5 or dotnet run

For Python:

  1. Install the pip package: python -m pip install semantic-kernel.
  2. Create a new script e.g. hello-world.py.
  3. Store your API key and settings in an .env file as described here.
  4. Copy the code from here into the hello-world.py script.
  5. Run the python script.

For Java:

  1. Clone the repository: git clone https://github.com/microsoft/semantic-kernel.git
    1. To access the latest Java code, clone and checkout the Java development branch: git clone -b java-development https://github.com/microsoft/semantic-kernel.git
  2. Follow the instructions here

Learning how to use Semantic Kernel

The fastest way to learn how to use Semantic Kernel is with our C# and Python Jupyter notebooks. These notebooks demonstrate how to use Semantic Kernel with code snippets that you can run with a push of a button.

Once you've finished the getting started notebooks, you can then check out the main walkthroughs on our Learn site. Each sample comes with a completed C# and Python project that you can run locally.

  1. Overview of the kernel
  2. Understanding AI plugins
  3. Creating semantic functions
  4. Creating native functions
  5. Chaining functions together
  6. Auto create plans with planner
  7. Create and run a ChatGPT plugin

Finally, refer to our API references for more details on the C# and Python APIs:

  • C# API reference
  • Python API reference (coming soon)
  • Java API reference (coming soon)

Join the community

We welcome your contributions and suggestions to SK community! One of the easiest ways to participate is to engage in discussions in the GitHub repository. Bug reports and fixes are welcome!

For new features, components, or extensions, please open an issue and discuss with us before sending a PR. This is to avoid rejection as we might be taking the core in a different direction, but also to consider the impact on the larger ecosystem.

To learn more and get started:

Contributor Wall of Fame

semantic-kernel contributors

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT license.

JinYongLegend-like RPG Game Framework with full Modding support and 10+ hours playable samples of game.


iOS(AppStore)

licensereleaseUnity VersionPRs Welcomecommit
Contributorsforkstarbilibili

MOD | | B | | Wiki | | |

RPG

MOD

MOD/

  • UnityDOS
  • MOD

MOD

  • 3-4

Screenshot1Screenshot3


MOD

mainmenu

roguelikeDEMOMOD BUILD

  • BUILD
  • S/L

1671035002406 00_00_02--00_00_22


MOD3D

-616-353

3DRPGDOSMODPCMAC()

1 (1)2 (1)3 (1)4 (1)5 (1)6 (1)


    • remix
    • RPG
  • MODMOD
  • ONLINEDEMO

  • lua
  • ScriptableObjectODINEditor
  • AI
  • EasySave3
  • UIUnityUGUI
  • AnimancerunityAnimatorController
  • AssetBundle
  • UniTask
  • assetstore
  • MODMOD

image

-Steam

xlua, xNode, UniTask, EasySave3

kyscpp


Odin Inspector , GPU Instancer , Rewired

JetBrains Rider

Clean Architecture Solution Template for ASP.NET Core


Clean Architecture Solution Template

BuildCodeQLNugetNugetTwitter Follow

The goal of this template is to provide a straightforward and efficient approach to enterprise application development, leveraging the power of Clean Architecture and ASP.NET Core. Using this template, you can effortlessly create a Single Page App (SPA) with ASP.NET Core and Angular or React, while adhering to the principles of Clean Architecture. Getting started is easy - simply install the .NET template (see below for full details).

If you find this project useful, please give it a star. Thanks!

Getting Started

The following prerequisites are required to build and run the solution:

  • .NET 8.0 SDK (latest version)
  • Node.js (latest LTS, only required if you are using Angular or React)

The easiest way to get started is to install the .NET template:

dotnet new install Clean.Architecture.Solution.Template::8.0.5

Once installed, create a new solution using the template. You can choose to use Angular, React, or create a Web API-only solution. Specify the client framework using the -cf or --client-framework option, and provide the output directory where your project will be created. Here are some examples:

To create a Single-Page Application (SPA) with Angular and ASP.NET Core:

dotnet new ca-sln --client-framework Angular --output YourProjectName

To create a SPA with React and ASP.NET Core:

dotnet new ca-sln -cf React -o YourProjectName

To create a ASP.NET Core Web API-only solution:

dotnet new ca-sln -cf None -o YourProjectName

Launch the app:

cd src/Webdotnet run

To learn more, run the following command:

dotnet new ca-sln --help

You can create use cases (commands or queries) by navigating to ./src/Application and running dotnet new ca-usecase. Here are some examples:

To create a new command:

dotnet new ca-usecase --name CreateTodoList --feature-name TodoLists --usecase-type command --return-type int

To create a query:

dotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm

To learn more, run the following command:

dotnet new ca-usecase --help

Database

The template is configured to use SQL Server by default. If you would prefer to use SQLite, create your solution using the following command:

dotnet new ca-sln --use-sqlite

When you run the application the database will be automatically created (if necessary) and the latest migrations will be applied.

Running database migrations is easy. Ensure you add the following flags to your command (values assume you are executing from repository root)

  • --project src/Infrastructure (optional if in this folder)
  • --startup-project src/Web
  • --output-dir Data/Migrations

For example, to add a new migration from the root folder:

dotnet ef migrations add "SampleMigration" --project src\Infrastructure --startup-project src\Web --output-dir Data\Migrations

Deploy

The template includes a full CI/CD pipeline. The pipeline is responsible for building, testing, publishing and deploying the solution to Azure. If you would like to learn more, read the deployment instructions.

Technologies

Versions

The main branch is now on .NET 8.0. The following previous versions are available:

Learn More

Support

If you are having problems, please let me know by raising a new issue.

License

This project is licensed with the MIT license.