Skip to content

minesaki/semantic-kernel-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Kernel Sample

Sample AI console application implemented with C#, Semantic Kernel, and OpenAI API.
This shows how to realize chat with history, function calling, and RAG.

Prerequisites

  • .NET 8
  • OpenAI API account (< $0.01 at one execution)

How to run

Create .env file

Place .env file (contents are as follows) in the project root.

OPENAI_API_KEY=<Your OpenAI API Key>

Run

dotnet run

Memo

Commands executed to create this project

git init
dotnet new console --use-program-main
dotnet new gitignore
dotnet add package DotNetEnv
dotnet add package Microsoft.SemanticKernel
dotnet add package Microsoft.SemanticKernel.Plugins.Memory --prerelease

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages