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,800 courses taught by industry experts.
Generative AI–powered tests - ChatGPT Tutorial
From the course: Building Apps with AI Tools: ChatGPT, Semantic Kernel, and Langchain
Generative AI–powered tests
- [Instructor] Imagine if we use Gen AI to test Gen AI apps. It gets pretty meta pretty quickly. Let's go ahead and learn how to do this. I'm an 05_02b, and I've built a little function that recommends where someone to travel based on their question. So here we see travel requests, and we only see one request in here. I want a beach vacation. So let's go ahead and run this function and see what we get. Okay, there we go. We got a recommendation down here. I recommend visiting the Maldives for your beach vacation. And we get some features at the Maldives. Okay, that's pretty great. But what if I want some variety in the ways I want to test my application? I don't want to write out all these test cases by myself. So let's complete a function that I started. Let's automatically generate travel requests. So let's delete this. So I made a function called generate travel requests. And what we're going to do is we're going to…
Contents
-
-
-
-
-
-
-
(Locked)
Generating sample data with ChatGPT6m 50s
-
(Locked)
Generative AI–powered tests4m 13s
-
(Locked)
Evaluating GenAI prompt performance4m 47s
-
(Locked)
LLM framework security4m
-
(Locked)
Challenge: Building a GenAI test suite for your librarian25s
-
(Locked)
Solution: Building a GenAI test suite for your librarian3m
-
(Locked)
-