Making Lt. Data - with Retrieval Augmented Generation (RAG) and the OpenAI API

Опубликовано: 07 Июль 2026
на канале: Sundog Education with Frank Kane
1,660
26

This is an excerpt from our online course "Machine Learning, Data Science and Generative AI with Python" by Frank Kane. Enroll now at:

https://www.sundog-education.com/get-ml

In this lesson, we cover the concepts of retrieval augmented generation (RAG) in plain language, including the use of embeddings and vector databases. Then we move on to a real example using Google CoLab to process all of Data's lines of dialog from Star Trek: The Next Generation, and augment GPT 3.5 using vector search for the lines most similar to the user's query. The result is a simulated Data that responds in ways consistent with the original scripts, and at much lower cost than using the fine tuning API (see our earlier video on that.)

We created a real AI version of a fictional AI character! How cool this that :)

Learn more at https://www.sundog-education.com/get-ml