From the course: Building Apps with AI Tools: ChatGPT, Semantic Kernel, and Langchain
Unlock this course with a free trial
Join today to access over 24,200 courses taught by industry experts.
A simple summarizer with Semantic Kernel - ChatGPT Tutorial
From the course: Building Apps with AI Tools: ChatGPT, Semantic Kernel, and Langchain
A simple summarizer with Semantic Kernel
- [Instructor] Beyond just prompting and calling the OpenAI API yourself, there are many open source frameworks out there to help you out. One of them is Semantic Kernel, which is developed by Microsoft. Let's go ahead and install it. I'm currently on branch 03_01B. I'm going to change directory into my source folder. Now, let's go ahead and pip install our requirements. Pip install dash R requirements. There we go. We installed Semantic Kernel 0.3.4. Now we're going to go ahead and start using it. Let's head back to summarizer dot py. We're going to build a small summarization program using Semantic Kernel. Let's get started by initializing the kernel. Let's type in kernel equals SK dot kernel. Now, let's go ahead and get our API keys so we can call the OpenAI API. I'm going to type API key org ID equals SK dot OpenAI settings. Now inside of here, we're going to return our API key. One thing that's changed from…
Contents
-
-
-
-
-
(Locked)
A simple summarizer with Semantic Kernel4m 40s
-
(Locked)
Formatting your data with few-shot learning4m 47s
-
(Locked)
Integrating chain-of-thought reasoning into your app4m 5s
-
(Locked)
Learning to use Whisper for text to speech2m 27s
-
(Locked)
Challenge: Creating a "thinking out loud" librarian41s
-
(Locked)
Solution: Creating a "thinking out loud" librarian2m 32s
-
(Locked)
-
-
-