Deep dive into Semantic Kernel
If you want to dive into deeper into Semantic Kernel and learn how to use more advanced functionality not explicitly covered in our Learn documentation, we recommend that you check out our concepts samples that individually demonstrate how to use specific features within the SDK.
Each of the SDKs (Python, C#, and Java) have their own set of samples that walk through the SDK. Each sample is modelled as a test case within our main repo, so you're always guaranteed that the sample will work with the latest nightly version of the SDK! Below are most of the samples you'll find in our concepts project.
Category | Sample Name | Link |
---|---|---|
Agents | ComplexChat_NestedShopper | Link |
Legacy_AgentAuthoring | Link | |
Legacy_AgentCharts | Link | |
Legacy_AgentCollaboration | Link | |
Legacy_AgentDelegation | Link | |
Legacy_AgentTools | Link | |
Legacy_Agents | Link | |
Legacy_ChatCompletionAgent | Link | |
MixedChat_Agents | Link | |
OpenAIAssistant_ChartMaker | Link | |
OpenAIAssistant_CodeInterpreter | Link | |
OpenAIAssistant_Retrieval | Link | |
Audio to text | OpenAI_AudioToText | Link |
Automatic function calling | Gemini_FunctionCalling | Link |
OpenAI_FunctionCalling | Link | |
Semantic caching | SemanticCachingWithFilters | Link |
Chat completion | AzureOpenAIWithData_ChatCompletion | Link |
ChatHistoryAuthorName | Link | |
ChatHistorySerialization | Link | |
Connectors_CustomHttpClient | Link | |
Connectors_KernelStreaming | Link | |
Connectors_WithMultipleLLMs | Link | |
Google_GeminiChatCompletion | Link | |
Google_GeminiChatCompletionStreaming | Link | |
Google_GeminiGetModelResult | Link | |
Google_GeminiVision | Link | |
OpenAI_ChatCompletion | Link | |
OpenAI_ChatCompletionMultipleChoices | Link | |
OpenAI_ChatCompletionStreaming | Link | |
OpenAI_ChatCompletionStreamingMultipleChoices | Link | |
OpenAI_ChatCompletionWithVision | Link | |
OpenAI_CustomAzureOpenAIClient | Link | |
OpenAI_UsingLogitBias | Link | |
OpenAI_FunctionCalling | Link | |
MistralAI_ChatPrompt | Link | |
MistralAI_FunctionCalling | Link | |
MistralAI_StreamingFunctionCalling | Link | |
Dependency injection | HttpClient_Registration | Link |
HttpClient_Resiliency | Link | |
Kernel_Building | Link | |
Kernel_Injecting | Link | |
Filtering | AutoFunctionInvocationFiltering | Link |
FunctionInvocationFiltering | Link | |
Legacy_KernelHooks | Link | |
PromptRenderFiltering | Link | |
RetryWithFilters | Link | |
PIIDetectionWithFilters | Link | |
Plugin functions | Arguments | Link |
FunctionResult_Metadata | Link | |
FunctionResult_StronglyTyped | Link | |
MethodFunctions | Link | |
MethodFunctions_Advanced | Link | |
MethodFunctions_Types | Link | |
PromptFunctions_Inline | Link | |
PromptFunctions_MultipleArguments | Link | |
Image to text | HuggingFace_ImageToText | Link |
Local models | HuggingFace_ChatCompletionWithTGI | Link |
MultipleProviders_ChatCompletion | Link | |
Memory | HuggingFace_EmbeddingGeneration | Link |
MemoryStore_CustomReadOnly | Link | |
SemanticTextMemory_Building | Link | |
TextChunkerUsage | Link | |
TextChunkingAndEmbedding | Link | |
TextMemoryPlugin_GeminiEmbeddingGeneration | Link | |
TextMemoryPlugin_MultipleMemoryStore | Link | |
Planning | FunctionCallStepwisePlanning | Link |
HandlebarsPlanning | Link | |
Plugins | ApiManifestBasedPlugins | Link |
ConversationSummaryPlugin | Link | |
CreatePluginFromOpenAI_AzureKeyVault | Link | |
CreatePluginFromOpenApiSpec_Github | Link | |
CreatePluginFromOpenApiSpec_Jira | Link | |
CustomMutablePlugin | Link | |
DescribeAllPluginsAndFunctions | Link | |
GroundednessChecks | Link | |
ImportPluginFromGrpc | Link | |
OpenAIPlugins | Link | |
Prompt templates | ChatCompletionPrompts | Link |
ChatWithPrompts | Link | |
LiquidPrompts | Link | |
MultiplePromptTemplates | Link | |
PromptFunctionsWithChatGPT | Link | |
TemplateLanguage | Link | |
PromptyFunction | Link | |
Retrieval augmented generation | WithFunctionCallingStepwisePlanner | Link |
WithPlugins | Link | |
Search | BingAndGooglePlugins | Link |
MyAzureAISearchPlugin | Link | |
WebSearchQueriesPlugin | Link | |
Text generation | Custom_TextGenerationService | Link |
HuggingFace_TextGeneration | Link | |
OpenAI_TextGenerationStreaming | Link | |
Text to audio | OpenAI_TextToAudio | Link |
Text to image | OpenAI_TextToImage | Link |
Features | Description | Link |
---|---|---|
AutoFunctionCalling | Using Auto Function Calling to allow function call capable models to invoke Kernel Functions automatically |
Link |
ChatCompletion | Using ChatCompletion messaging capable service with models |
Link |
Filtering | Creating and using Filters | Link |
Functions | Invoking Method or Prompt functions with Kernel |
Link |
Grounding | An example of how to perform LLM grounding | Link |
Logging | Showing how to set up logging | Link |
Memory | Using Memory AI concepts |
Link |
On Your Data | Examples of using AzureOpenAI On Your Data |
Link |
Planners | Showing the uses of Planners |
Link |
Plugins | Different ways of creating and using Plugins |
Link |
PromptTemplates | Using Templates with parametrization for Prompt rendering |
Link |
RAG | Different ways of RAG (Retrieval-Augmented Generation) |
Link |
Search | Using search services information | Link |
Service Selector | Shows how to create and use a custom service selector class. | Link |
Setup | How to setup environment variables for Semantic Kernel | Link |
TextGeneration | Using TextGeneration capable service with models |
Link |