Skip to content

Latest commit

 

History

History
210 lines (163 loc) · 23.8 KB

README.md

File metadata and controls

210 lines (163 loc) · 23.8 KB

Semantic Kernel concepts by feature

Down below you can find the code snippets that demonstrate the usage of many Semantic Kernel features.

Running the Tests

You can run those tests using the IDE or the command line. To run the tests using the command line run the following command from the root of Concepts project:

dotnet test -l "console;verbosity=detailed" --filter "FullyQualifiedName=NameSpace.TestClass.TestMethod" 

Example for ChatCompletion/OpenAI_ChatCompletion.cs file, targeting the ChatPromptSync test:

dotnet test -l "console;verbosity=detailed" --filter "FullyQualifiedName=ChatCompletion.OpenAI_ChatCompletion.ChatPromptSync"

Table of Contents

Agents - Different ways of using Agents

AudioToText - Different ways of using AudioToText services to extract text from audio

FunctionCalling - Examples on Function Calling with function call capable models

Caching - Examples of caching implementations

ChatCompletion - Examples using ChatCompletion messaging capable service with models

DependencyInjection - Examples on using DI Container

Filtering - Different ways of filtering

Functions - Invoking Method or Prompt functions with Kernel

ImageToText - Using ImageToText services to describe images

LocalModels - Running models locally

Memory - Using AI Memory concepts

Optimization - Examples of different cost and performance optimization techniques

Planners - Examples on using Planners

Plugins - Different ways of creating and using Plugins

PromptTemplates - Using Templates with parametrization for Prompt rendering

RAG - Retrieval-Augmented Generation

Search - Search services information

TextGeneration - TextGeneration capable service with models

TextToAudio - Using TextToAudio services to generate audio

TextToImage - Using TextToImage services to generate images