Watch the Chat Summary Quick Start Video.
!IMPORTANT This learning sample is for educational purposes only and should not be used in any production use case. It is intended to highlight concepts of Semantic Kernel and not any architectural / security design practices to be used.
http://localhost:7071
. If not, follow the steps
to start it here.Note: Samples are configured to use chat completion AI models (e.g., gpt-3.5-turbo, gpt-4, etc.). See https://platform.openai.com/docs/models/model-endpoint-compatibility for chat completion model options.
yarn install
(if you have never run the sample before)
and/or yarn start
from the command line.http://localhost:3000
to use the sample.Working with Secrets: KernelHttpServer’s Readme has a note on safely working with keys and other secrets.
The Simple Chat Summary sample allows you to see the power of semantic functions used in a chat.
The sample highlights the SummarizeConversation, GetConversationActionItems, and GetConversationTopics native functions in the Conversation Summary Skill. Each function calls Open AI to review the information in the chat window and produces insights.
The chat data can be loaded from this data file – which you can edit or just add more to the chat while you are on the page.
[!CAUTION] Each function will call Open AI which will use tokens that you will be billed for.
Book creator – learn how Planner and chaining of semantic functions can be used in your app.
loadSummarySkill
, loadActionItemsSkill
and loadTopicsSkill
in
ChatInteraction.tsx
to see fetch
requests that POST skills to the Semantic Kernel hosted by the
Azure Function