From the course: AI Pricing and ROI: A Technical Breakdown
Unlock the full course today
Join today to access over 25,200 courses taught by industry experts.
Estimating cost for a RAG solution: What is RAG?
From the course: AI Pricing and ROI: A Technical Breakdown
Estimating cost for a RAG solution: What is RAG?
- [Instructor] Now that we know the basics of GenAI, let's implement a more complex app. Today we will talk about Retrieval Augmented Generation, or RAG. This techniques provides a large-language model context to generate an answer. Breaking it down, retrieval means get the context, augment means add the context to the LLM prompt, and generated means respond to the prompt. Let's take a look at an example. I'm here in ChatGPT, and I can ask, "Why is the sky blue?" So let's type that out, and hit Enter. You can see here we got a response. Generally it looks pretty good. Now, in a more complex case, we might want some domain-specific information. Let's say we trust information on Wikipedia. And right here I have some information on why the sky is blue. So I'm going to go ahead and copy it. Let's open up a new ChatGPT tab. Now what I'm going to do is I'm going to write out a prompt that uses this information. So let's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Introduction to AI as an API4m 53s
-
(Locked)
Introduction to AI as a platform2m 19s
-
(Locked)
Setup costs for AI APIs54s
-
(Locked)
Ongoing costs for AI APIs3m 10s
-
(Locked)
Estimating cost for a translation feature2m 11s
-
(Locked)
Estimating cost for a RAG solution: What is RAG?3m 15s
-
(Locked)
Estimating cost for a RAG solution: Costs of RAG5m 23s
-
(Locked)
Estimating costs for an image generation feature1m 53s
-
(Locked)
Challenge: Estimating the cost of a book summarization39s
-
(Locked)
Solution: Estimating the cost of a book summarization3m 8s
-
-
-
-
-
-
-
-