5 Unique Portfolio AI Projects (beginner to intermediate) | Python, OpenAI, ChatGPT, Langchain

Tina Huang
21 Oct 202316:52

Summary

TLDRIn this video, Tina, an AI enthusiast, introduces five AI projects suitable for beginners to advanced learners. The projects range from creating a personal AI tutor to developing a content creator AI and an AI storytelling game. Each project is detailed with the necessary skills, such as Python, Open AI API, and additional APIs for specific tasks. Tina encourages viewers to explore, learn, and build their AI applications, offering a step-by-step approach and suggesting further exploration with tools like Lang Chain for more complex projects.

Takeaways

  • ๐Ÿ˜€ Tina, an X meta data scientist, introduces five AI projects suitable for beginners to advanced learners.
  • ๐Ÿ“š The first project is about creating an AI tutor that can teach based on individual skill levels and learning styles, requiring prompt engineering and chat team skills.
  • ๐Ÿ’ป Level two of the AI tutor project involves using the OpenAI API for more control and context retention, allowing for a more personalized learning experience.
  • ๐ŸŽฎ Level three suggests exploring the difference between using Chat GPT directly and accessing GPT 3.5 via the OpenAI API for advanced customization.
  • ๐Ÿ“ The second project is aimed at content creators, utilizing Python and the OpenAI API to generate content ideas, with additional tools like Streamlit for app development.
  • ๐Ÿณ For the content creator AI, the script discusses using parameters like 'temperature' to introduce randomness in the generated content.
  • ๐Ÿ“ˆ The third project involves creating an app that can check the nutritional value of recipes using APIs, ensuring balanced meals.
  • ๐Ÿ“š The fourth project is about summarizing readings or lecture notes using AI, with the option to upgrade to summarizing audio or video files.
  • ๐ŸŽ“ Level three of the study aid project proposes building a full application with a user interface for summarizing and studying educational content.
  • ๐Ÿค– The fifth project is about creating a realistic AI version of oneself that can write emails or generate content in one's unique style.
  • ๐Ÿ† The final project suggests creating an AI storytelling game with rich narratives, possibly integrating image generation using tools like DALL-E or Mid Journey.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is discussing five AI projects that viewers can start working on immediately, ranging from beginner to advanced levels.

  • Who is the presenter of the video?

    -The presenter of the video is Tina, who introduces herself as an X meta data scientist.

  • What are the basic skills required for the first AI project about the AI tutor?

    -The basic skills required for the AI tutor project are prompt engineering and chat team, with additional skills including Python, the Open AI API, and possibly other APIs or tools like Streamlit.

  • What is the purpose of the 'AI Tutor' project mentioned in the video?

    -The purpose of the 'AI Tutor' project is to create a private tutor that can teach anything custom to the user's skill level and learning style, available 24/7, and can even adopt the persona of a favorite fictional character or real person.

  • How does the video suggest improving the AI tutor from level one to level two?

    -The video suggests improving the AI tutor from level one to level two by introducing the coding component and using the Open AI API to have more control and provide more context to the AI, preventing it from forgetting previous discussions.

  • What is the 'Content Creator' project in the video about?

    -The 'Content Creator' project is about using AI to generate content for social media, such as creating recipes inspired by popular anime, with the AI adopting the role of an Instagram content creator who likes anime.

  • What additional skills are needed for the 'Content Creator' project beyond Python and the Open AI API?

    -Additional skills needed for the 'Content Creator' project include Streamlit and other third-party APIs, which may be used to create a GUI or for other functionalities.

  • What is the 'Speed Learner' project and how does it help with studying?

    -The 'Speed Learner' project is designed to help users quickly learn and summarize content, such as readings or lectures, using AI models like the whisper model from Open AI for transcribing audio and the GPT model for summarization.

  • What are some of the advanced ideas suggested for the 'Speed Learner' project?

    -Some advanced ideas for the 'Speed Learner' project include creating a full application with a user interface, hosting it on the web, and possibly integrating it with the YouTube API to automatically process video content.

  • What is the 'Tina GPT' project and what skills are needed to create it?

    -The 'Tina GPT' project is about creating a bot that mimics the personality and writing style of Tina. Skills needed include Python, the Open AI API, and additional skills like relational databases, SQL, and possibly using a tool like Link Chain for application development.

  • What is the 'AI Storytelling Game' project and what additional skills are suggested for it?

    -The 'AI Storytelling Game' project involves creating a narrative-rich game where the story unfolds step by step based on user input. Additional skills suggested for this project include using mid-journey or Dolly for generating images to accompany the story.

  • How can viewers get more insights or resources for the projects discussed in the video?

    -Viewers can get more insights or resources by leaving comments on the video, asking for specific domain projects or tools like Link Chain, and possibly requesting a sequel to the video for more complex projects.

Outlines

00:00

๐Ÿค– AI Tutor Project Overview

This paragraph introduces five AI projects suitable for various skill levels, from beginner to advanced. The speaker, Tina, a metadata scientist, outlines the first project: creating an AI tutor. This virtual tutor is personalized, non-judgmental, and available around the clock, potentially taking on the persona of a favorite character. Key skills for this project include prompt engineering, chat team, Python, the Open AI API, and possibly other APIs and tools like Streamlit for interface design. The explanation begins with a Level 1 focus on prompt engineering, crafting a prompt for an AI coding tutor, and evolves through levels, incorporating the Open AI API for context retention and advanced interface integration.

05:02

๐Ÿ“š Content Creator AI with Open AI API

The second paragraph delves into creating an AI for content creation, specifically for an Instagram content creator who likes anime. The process involves using Python to access the Open AI API and crafting prompts for the AI to generate content ideas. The speaker discusses using parameters like 'temperature' to control randomness in the AI's output. The project progresses from generating text-based content to ensuring nutritional balance in recipes using additional APIs, and finally, to automating the entire process, including image generation and posting on Instagram, to create a full-fledged application.

10:03

๐ŸŽ“ Procrastination Study Tool with Summarization

In the third paragraph, the focus shifts to a study tool for students who procrastinate. The project involves summarizing readings and creating study materials from audio or video lectures. Level 1 uses the Open AI API to summarize text documents, while Level 2 employs the whisper model from Open AI to transcribe and summarize audio files. The advanced Level 3 project suggests creating a full application that automates the process, including using the YouTube API to fetch videos, transcribe them, and summarize the content, potentially with a UI component for a complete web-based application.

15:04

๐Ÿ’Œ Personal Email Writing Assistant

The fourth paragraph introduces an AI project to create a personal email writing assistant. The project starts with using the Open AI API to generate emails in a specific style, in this case, mimicking 'Tina's' writing style. It progresses to providing the AI with past email contexts to improve the accuracy of the generated emails. The advanced Level 3 involves training the model with extensive context, such as transcripts from YouTube videos, storing them in a database, and using SQL to query the database for generating realistic and contextually accurate emails. The paragraph also mentions using a tool like Link Chain for rapid application development.

๐ŸŽฎ AI Storytelling Game with Rich Narratives

The final paragraph presents an AI storytelling game project where the AI acts as a narrator, crafting a rich and descriptive narrative based on user inputs. The game's context involves a character from Naruto opening the eight gates. The project starts with a simple text-based narrative and challenges the creator to expand it by integrating image generation using APIs like Mid Journey or Dolly, creating a more immersive and visually engaging experience.

Mindmap

Keywords

๐Ÿ’กAI Projects

AI Projects refers to various tasks or applications that utilize artificial intelligence technologies. In the video, the host, Tina, discusses different AI projects ranging from beginner to advanced levels, which viewers can undertake to gain practical experience with AI. These projects are designed to help individuals learn and apply AI concepts in real-world scenarios.

๐Ÿ’กPrompt Engineering

Prompt Engineering is the process of designing input prompts for AI models to guide their responses in a desired direction. In the context of the video, prompt engineering is essential for creating personalized AI tutors and content creators, where the prompts define the AI's role and behavior, as illustrated by crafting a prompt for a coding tutor named 'Goggin GPT'.

๐Ÿ’กChatbot

A Chatbot is an AI-powered conversational agent that interacts with users via text or voice. In the video, the chatbot is used as a tool for creating an AI tutor. The host explains the limitations of chatbots, such as lack of context awareness, and how using the Open AI API can enhance their functionality by providing more context and control.

๐Ÿ’กOpen AI API

The Open AI API is a set of tools provided by OpenAI that allows developers to integrate AI capabilities into their applications. In the video, the API is used to enhance the functionality of AI projects, such as creating a more context-aware AI tutor and generating content based on specific parameters.

๐Ÿ’กStreamlit

Streamlit is an open-source Python library that makes it easy to create and share data apps. In the video, Streamlit is mentioned as a potential tool for creating a user interface for the AI tutor project, allowing users to interact with the AI through a more visually appealing and interactive platform.

๐Ÿ’กContent Creator

A Content Creator in the video refers to an AI project where the AI generates content, such as recipes inspired by anime, based on given parameters. The host discusses using the Open AI API to create an AI that can produce content suitable for social media platforms like Instagram, with the help of parameters like 'temperature' to control randomness in output.

๐Ÿ’กNutritional Value

Nutritional Value pertains to the nutritional content of food, which includes vitamins, minerals, calories, and other nutrients. In the context of the video, the host suggests using APIs to check the nutritional value of recipes generated by the AI content creator to ensure that the content is not only engaging but also informative and accurate.

๐Ÿ’กProcrastination

Procrastination is the act of delaying or postponing tasks or actions. The video humorously addresses the issue of students procrastinating on their readings or lectures and then using AI to quickly summarize and learn the material at the last minute. This is demonstrated through the 'Speed Learn' project, which uses AI to summarize and distill information from readings or audio files.

๐Ÿ’กWhisper Model

The Whisper Model is an AI tool from OpenAI that specializes in transcribing audio files into text. In the video, it is mentioned as part of the 'Speed Learn' project, where it can be used to convert lecture recordings into transcripts, which can then be summarized by the GPT model for quick study.

๐Ÿ’กRelational Database

A Relational Database is a type of database that stores data in a structured format, using rows and columns in tables. In the video, the host discusses using a relational database to store transcripts of their own speech and writing, which can then be used to train an AI model to mimic their communication style in the 'Tina GPT' project.

๐Ÿ’กLift Chain

Lift Chain is a technology mentioned in the video that abstracts away complex processes for building full applications. It is used in the 'Tina GPT' project to create a realistic version of the host by querying a database of transcripts and generating content in the host's unique style.

Highlights

Introduction of five AI projects varying from beginner to advanced levels.

Concept of an AI tutor that adapts to skill level and learning style.

Use of prompt engineering and chatbot technology for personalized tutoring.

Implementation of Python, Open AI API, and additional tools like Streamlit for creating an AI tutor.

Demonstration of creating a personal coding tutor using GPT and prompt engineering.

Challenges of context retention in AI chatbots and solutions using the Open AI API.

Exploration of creating content for an Instagram content creator using AI.

Utilization of the Whisper model and other APIs for generating recipes from anime themes.

Discussion on ensuring nutritional balance of generated recipes using APIs.

Ideas for expanding the project to include image generation and automatic Instagram posting.

Project for summarizing readings and audio/video courses using AI models.

Use of the YouTube API and Whisper model for creating study summaries.

Concept of building a full application for automated study material summarization.

Introduction of an AI email assistant that mimics a specific person's writing style.

Techniques for training the model with past emails to generate realistic responses.

Building a complete app using databases, SQL, and hosting technologies.

AI storytelling game project where users interact with a narrative AI.

Integration of image generation using mid-journey or DALL-E for a visual storytelling experience.

Encouragement for viewers to create their own AI projects and share their work.

Transcripts

play00:00

Hello friends welcome back to another

play00:01

video so in this video we're going to

play00:02

talk about five AI projects that you can

play00:04

start working on immediately and we're

play00:06

going to go from very beginner to

play00:08

intermediate and some Advanced things

play00:10

too if you're up for a challenge oh and

play00:11

in case you don't know me hello my name

play00:13

is Tina and I am an X meta data

play00:15

scientist all right without further Ado

play00:17

let's go the AI tutor do you wish you

play00:20

have a private tutor that can teach you

play00:22

anything custom to your skill level your

play00:24

learning style and will not judge you

play00:26

for your incompetence and is available

play00:28

24/7 it can even be your favorite

play00:30

fictional character or real person like

play00:33

Kakashi from Naruto if you want some

play00:34

fast action or jira if you want some

play00:37

tough love basic skills you will need is

play00:39

prompt engineering and chat team

play00:41

additional skills include python the

play00:43

open AI API some sort of freten like

play00:46

streamlit for example and if you're

play00:48

feeling fancy other apis as well how I

play00:50

would do this starting with level one

play00:52

level one is going to focus on the

play00:54

prompt engineering portion got to craft

play00:56

a prompt for example of a AI coding

play00:59

tutor so I already created this promps

play01:01

if you're interested in how I made it

play01:02

and the step-by-step details you can

play01:04

check out this video over here but I'm

play01:06

going to briefly go through it now so

play01:07

here your name is goggin GPT a personal

play01:10

coding tutor that has the personality of

play01:12

David goggin so you don't know who David

play01:13

goggin is he's like this motivational

play01:16

speaker that's very much a tough love

play01:19

motivational speaker very tough love

play01:21

you're not afraid of having the up body

play01:24

you're afraid of the effort so he's

play01:26

going to periodically say mean things as

play01:28

motivation such as you fat get off the

play01:32

couch so you first say hi to your

play01:34

student by name that is a weak then ask

play01:37

them what they want to learn you then

play01:38

tell them to input any of the following

play01:40

so this is the part in which I explained

play01:42

how it is to be a coding tutor um and

play01:45

then in the end is going to be asked me

play01:47

for my first task so this is going to be

play01:48

the prompt that you will engineer so I'm

play01:50

going to demonstrate what it's going to

play01:52

be like just using chat GPT so without

play01:54

using any coding at first so we can copy

play01:57

paste this prompt over here and then we

play02:00

can put it into chat

play02:04

GPT it's going to say hey weak mother

play02:07

I'm gogin gbt your personal coding Jewel

play02:09

instructor let's get those weak coding

play02:11

muscles into shape what do you want to

play02:13

learn today so the issue with having

play02:15

chbd do something like this first of all

play02:17

is the fact that it doesn't have context

play02:20

so when we ask they to greet You by name

play02:22

unless you write my name is Tina for

play02:24

example it will not know what your name

play02:26

is going to be the second issue is that

play02:28

as you keep talking you'll notice that

play02:30

it starts becoming disjointed and Chacha

play02:32

BT actually ends up forgetting a lot of

play02:35

the context that you guys talked about

play02:37

previously so level two is going to

play02:38

introduce the coding component so now

play02:40

we're actually going to use the open AI

play02:42

API so first thing you're going to do is

play02:44

PIP install open AI then you're going to

play02:46

import OS and import open Ai and then

play02:48

you're going to set your API key to your

play02:50

API key and then you're going to insert

play02:52

your open AI key Now using open AI API

play02:54

you're going to have a lot more control

play02:56

over your AI tutor and you're also going

play02:58

to be able to provide it more context so

play03:01

it's not going to just forget the things

play03:02

that you tell it previously Plus instead

play03:04

of just being confined to the chat gbt

play03:07

interface you're able to pipe the

play03:09

responses into another type of interface

play03:12

for example maybe you want to create a

play03:13

guey maybe you want to use something

play03:14

like streamlet so here is the context

play03:17

and then what we're doing over here is

play03:18

that we're setting the system into the

play03:21

context that we're giving it so as a

play03:23

system to the chat bot you're telling it

play03:26

this is what I want you to behave like

play03:28

and then you can also give it more

play03:30

context like the user is saying

play03:31

something like my name is Tina so now

play03:33

it's going to be able to greet you by

play03:34

your name and the code over here is just

play03:37

to initiate the gooey that we have so

play03:40

try running this doing its thing so

play03:42

these are the three things that I

play03:43

imputed into the prom so kind of briefly

play03:46

variations is going to give different

play03:47

variations for how to solve a specific

play03:49

coding problem um make a game for

play03:51

learning topic is pretty

play03:52

self-explanatory and then explain is to

play03:54

explain a topic that you want to learn

play03:56

okay so when we do this it's saying hi

play03:58

Tina you week bleep what do you want to

play04:01

learn today input one of the following

play04:02

so these are the things that we ask it

play04:04

to do so for example we want to write

play04:05

something like explain

play04:08

objectoriented programming start

play04:11

learning yes okay so it says oh Tina you

play04:14

want to learn about object-oriented

play04:16

programming huh well let me break it

play04:18

down to you in a way that even your weak

play04:20

little brain can understand ah yes I

play04:22

already feel motivated okay so then it's

play04:24

going to explain objectoriented

play04:25

programming to me and also give simple

play04:27

code as an example um and it also

play04:30

explains okay what's the difference

play04:31

between procedural programming and

play04:33

functional programming blah blah blah

play04:34

here now what is your next move okay so

play04:36

for a level three project I really want

play04:38

you to explore the difference between

play04:39

just entering the prompt in chat GPT

play04:42

versus going through the open AI API in

play04:44

order to access GPT 3.5 directly so what

play04:48

are the things that you can do outside

play04:49

of this for example for in terms of the

play04:50

gooey that we already shown we can also

play04:52

make a fancier gooey like streamlet for

play04:54

example and if you're trying to build

play04:56

out another app you're able to pipe the

play04:58

responses that you're getting from from

play04:59

gbt into some other thing for example

play05:02

putting it into a Json file for the

play05:04

responses and that is going to be going

play05:05

to something else doing some sort of

play05:07

computation and then being displayed

play05:09

somewhere hopefully that gives you some

play05:10

ideas of what you can do let me know in

play05:12

the comments some ideas that you can do

play05:14

content creator to put me out of a job

play05:16

skills needed you will need Python and

play05:18

the open AI API additional skills would

play05:21

include streamlet and other thirdparty

play05:23

API so I'll explain why that's important

play05:25

later so level one prompt engineering is

play05:27

something that we're always going to

play05:28

have to be using so if you're going to

play05:30

learn something properly learn how to do

play05:32

prompt engineering let us come up with a

play05:33

prompt for a content creator AI okay so

play05:35

using python we're going to access the

play05:37

open AI API to get gbt 3.5 again using

play05:42

the chat completions API okay so now

play05:44

we're going to create the prompts or a

play05:46

series of messages to be feeding into

play05:48

GPT first of all for the systems role

play05:51

we're going to be giving it the

play05:52

overarching who it is that you are what

play05:55

is that you're supposed to do so you're

play05:56

an Instagram content creator who likes

play05:58

anime you will generate one recipe from

play06:01

a popular anime with emojis that are

play06:03

less than 300 characters long from

play06:06

different anime we're actually going to

play06:08

put a context in there where the user

play06:12

says content is I want to create content

play06:15

on easily balanced diets okay so instead

play06:18

of just directly generating a label and

play06:20

then using that what we can play around

play06:22

with here is a parameter called

play06:24

temperature so the temperature is

play06:25

something that you feed into the model

play06:28

that changes how much random is being

play06:30

introduced to the output so zero is

play06:32

going to be not random and then if

play06:34

you're doing all the way up to one is

play06:35

going to be very random so to Showcase

play06:37

this we're going to have a temperature

play06:39

and we're going to put that into a list

play06:41

so varying from 0 0.5 0.8 all the way up

play06:45

to 1 what we have over here is for

play06:47

temperature in temperatures we're just

play06:48

going to Loop through it we'll print

play06:50

what the temperature is so we know what

play06:52

temperature it is that we're getting and

play06:53

then the content is going to be getting

play06:55

completion for messages which is what we

play06:57

defined previously and we're putting

play06:59

messages as well as the temperature and

play07:01

we're going to print the content so

play07:03

let's click this and let it do its thing

play07:05

all right so let's see what we have here

play07:07

the first one is Anime inspired balance

play07:09

diet a recipe from the world of food

play07:12

Wars oo food Wars really good anime

play07:15

highly recommend so the ingredients it

play07:17

list this out and then the instructions

play07:19

over here enjoy your balanced meal

play07:21

inspired by the mouth poting dishes from

play07:23

food Wars oh great and it also tells you

play07:25

that you should always put tags on your

play07:27

IG post so anime Inspire diet food words

play07:31

recipe okay so next one is going to be

play07:33

anime Inspire balance diet delicious and

play07:35

nutritious recipes no Ruto Ramen Bowl so

play07:39

two packs of ramen noodles chicken

play07:41

vegetables and then it also gives you

play07:43

the instructions over here okay so at

play07:44

level two something else that you can

play07:46

play around with is using an upst string

play07:48

and then inputting the variables for

play07:50

example I don't know instead of like

play07:52

healthy food healthy balanced meal can

play07:54

be exceedingly unhealthy heart attack

play07:56

inducing meal something like that so try

play07:59

using using the different variables and

play08:00

then generating different types of

play08:02

recipes as well let me know in the

play08:03

comments if you do this and what' you

play08:05

get okay so for some reason if you're

play08:06

actually a responsible person and you

play08:09

don't want to just be throwing out

play08:10

random recipes here like is it actually

play08:11

balanced meal we don't know right so in

play08:13

order to make sure that it actually is

play08:15

what you can do is plug into apis to

play08:18

actually check the nutritional value of

play08:20

the things that you get outputed for

play08:22

example you can use this API called

play08:25

adame API which is I feel like a spin on

play08:28

edamame API and you can look at the

play08:30

nutritional values of these things and

play08:32

the ingredients um and to cross check

play08:35

things before actually posting it okay

play08:37

so if you really want to build this into

play08:38

a full-blown app what you can do is you

play08:41

create the content but we actually have

play08:43

to create the image surrounding it as

play08:45

well and then actually post it onto

play08:47

Instagram so that's the full cycle so

play08:50

this level is going to be much more

play08:52

challenging so what you're going to do

play08:53

is explore doly where mid journey and

play08:55

figure out how it is that you can

play08:57

generate images that match the things

play08:59

the labels that you have and how do you

play09:01

do that in automated Manner and finally

play09:02

you can use the Instagram graph API to

play09:05

automatically post it onto Instagram as

play09:06

well okay so if you do this challenging

play09:08

project put it in the description put

play09:10

your GI Hub there because you should be

play09:11

proud of yourself you just created a

play09:13

fully functioning app are you too lazy

play09:15

to do the readings for your class or

play09:16

even go to lecture or watch your online

play09:19

course do not fear now you can sleep in

play09:21

and waste your time in many different

play09:22

ways then freak out Panic on the last

play09:25

minute and speed learn all the things

play09:27

that you have to learn AKA how to

play09:29

procrastinate more skills you will need

play09:31

you know the drill got to have your

play09:33

Python and your open AI API additional

play09:35

skills include the whisper model also

play09:38

from open Ai and other apis like the

play09:40

YouTube API so level one project

play09:42

summarizing those readings that you're

play09:44

allegedly supposed to do before a class

play09:46

so take those hideous PDFs and texts

play09:49

make them into a transcript and pipe

play09:51

them through the open a API using a

play09:53

prompt telling it to summarize the

play09:55

things that you're apparently supposed

play09:57

to read and voila now you can just read

play09:59

these lines before class and pretend you

play10:00

did the readings level two is creating

play10:02

summaries of audio files or video

play10:04

courses what I used to do when I was

play10:06

back in college is that I would put a

play10:08

recorder down at the front where the

play10:11

professor is talking about things and

play10:13

then what I would do is just go take a

play10:14

nap go do something I was like I don't

play10:15

even know what I did and when the

play10:17

lecture is over I would come back and

play10:18

take the recorder so I would do this for

play10:20

all the lectures until up to the project

play10:22

or an exam in which I would then panic

play10:24

and listen to the recording at like 3x

play10:26

feed and try to transcribe it really

play10:27

really fast and take notes on it it was

play10:29

not a fun exercise but it did work out

play10:31

somehow but now that we have wonderful

play10:34

AI models that we can play with if you

play10:35

have a video where audio file instead of

play10:38

me sitting there and trying to

play10:39

transcribe something really really fast

play10:40

and then taking notes on it what you can

play10:42

actually do is that you can take those

play10:43

recordings and pipe them through the

play10:45

whisper model and that would give you

play10:47

the transcript of the things that we

play10:49

talked about in the audio file you take

play10:50

those transcripts create notes for it or

play10:52

create like practice exams whatever it

play10:54

is that you want to create using the GPT

play10:56

model um and then voila you don't don't

play10:59

have to speed listen to everything and

play11:01

it would have been much faster let me

play11:02

know in the comments what are other

play11:04

things that you think you can do to

play11:06

study better now that you have the

play11:07

transcripts okay so level three is going

play11:09

to be a full application again which is

play11:11

going to be super fun I mean for me I

play11:13

often times just learn things directly

play11:15

through YouTube like YouTube playlist

play11:16

and things like that you can use

play11:18

additional apis for example like PBE

play11:21

where you can directly use the YouTube

play11:22

API um in order to get those video files

play11:26

and automatically take them put them

play11:27

through whisper and get that transcript

play11:30

and then do all the summarization there

play11:31

and to make it a simple complete app

play11:33

just stick on some UI component um and

play11:36

host it on the web and there you go

play11:38

another application by the way there's

play11:39

this plugin called harpa a that you can

play11:42

install onto your Chrome window it's

play11:43

able to do like YouTube summaries

play11:44

generate different blog post from

play11:46

content and things like that think about

play11:47

how you can build something similar to

play11:50

harpa doai except you can do it like in

play11:52

your specific way seriously if you

play11:54

actually think about it building these

play11:56

things is not as hard as you probably

play11:58

think it is right Tina GPT skills needed

play12:01

python open a API additional skills

play12:04

relational databases and of course

play12:06

coming with that is going to be SQL and

play12:08

L chain so level one super simple use

play12:10

Python to access the open AI API and

play12:12

then use the GPT 3.5 model and then

play12:14

through the system role you can provide

play12:16

the content for example your name is

play12:18

Tina Tina likes to use a lot of

play12:20

exclamation marks and she has the

play12:22

reading level of an eighth grader

play12:24

usually she's a stickler for punctuation

play12:26

which is very important and she

play12:28

generally likes to keep her emails short

play12:30

to the point but polite and there you go

play12:32

you just made Tina bot yay okay so level

play12:34

two let's actually provide us some past

play12:36

context like some more information so

play12:38

that the model can actually see examples

play12:40

and it's going to be a lot better than

play12:42

you just you telling it uh who it is

play12:44

that you are how is that you speak and

play12:46

what we're going to do is put in some

play12:47

example emails and just stick that into

play12:49

a simple list and we're going to be

play12:50

using the abst string again where you

play12:51

can put in the different emails like

play12:53

email 1 email 2 email 3 examples so

play12:55

you're giving it context within the

play12:57

prompt it would be better at generate

play12:59

emails as if it is you and you will be

play13:00

more likely to go undetected okay so

play13:02

level three creating that full app we're

play13:04

going to actually real real real train

play13:07

the model so that it has a lot of

play13:09

context a lot of information that you

play13:11

can use to generate a very realistic

play13:13

version of yourself so for me for

play13:15

example I can take my YouTube videos

play13:17

which I can get through the YouTube API

play13:19

um and then just take that translate

play13:21

them into transcripts using whisper

play13:23

which we talked about earlier so now we

play13:25

have all these transcripts which is

play13:26

really large and you probably don't just

play13:28

want to store it as an object read into

play13:30

memory so what you can do is put it as a

play13:32

database um any relational database is

play13:35

probably great for this job and you'll

play13:36

be using AWS to host the database and

play13:38

SQL in order to query it to create it

play13:40

all those good things let me know in the

play13:42

comments if you want me to link some

play13:43

really good resources for how to quickly

play13:45

set that up so what's really cool now is

play13:47

that you have this database full of

play13:49

these transcripts for how it is that you

play13:50

speak how it is that you write stuff you

play13:52

can use this to answer any questions or

play13:55

write anything that is using your

play13:57

tonality in the way that you you would

play13:59

normally do things so really realistic

play14:00

and a way you can do this is that you

play14:02

can use a really cool technology called

play14:04

link chain it's a wonderful tool that

play14:05

abstracts away a lot of things for you

play14:07

to build full applications to production

play14:09

really really quickly and it can do

play14:11

things like provide context dependent

play14:13

stuff it's able to take in your

play14:14

databases and then search through your

play14:16

databases for you um really really cool

play14:18

stuff again let me know in the comments

play14:20

if you want me to go through a video the

play14:22

talk about projects that you can do

play14:23

using link chain so those will be

play14:25

probably like intermediate to Advanced

play14:27

so a SE

play14:29

do you see what I did there a sequel to

play14:32

this video next project a fun AI

play14:35

storytelling game skills needed is going

play14:37

to be Python and open AI API additional

play14:40

skills is going to be mid Journey or

play14:42

Dolly okay so the prompt that we have

play14:45

over here what we want our AI to do is

play14:49

you are a narrator for a storytelling

play14:52

game where Rock Le from Naruto opens the

play14:55

eight Gates the game should be a

play14:57

narrative rich descriptive and the final

play15:00

result should be piecing together a

play15:02

story describe the starting point and

play15:04

ask the user what they would like to do

play15:06

the story unravels as we progress step

play15:08

by step and of course over here to the

play15:12

system that's what we put as the context

play15:15

um and then we're going to have the user

play15:17

is going to say content start the game

play15:19

and then from here the response is going

play15:22

to be getting the completions using the

play15:24

chat completions from the openai API and

play15:26

we're going to try this out so what I

play15:28

want you to think about about in this

play15:29

level one level um in addition to the

play15:31

prompt that we gave it already what are

play15:33

some edge cases that could happen what

play15:34

if something happens where the user say

play15:36

something weird or you know additional

play15:38

story lines that could be happening how

play15:39

do you add complexity into this so these

play15:41

are things that you can directly input

play15:43

to the system role itself or perhaps

play15:46

giving it more context so you're able to

play15:48

redirect the story a lot of creating

play15:51

these applications um it rests on the

play15:53

prompt and then the API itself is

play15:55

usually not that hard to call it's like

play15:57

the surrounding infrastructure to

play15:59

support the application that you're

play16:01

building is really where a lot of that

play16:04

time is spent so if you want to

play16:05

challenge yourself a little bit more I'm

play16:07

going to challenge you to making this

play16:09

into not only a storytelling using text

play16:12

but to integrate using mid Journey or do

play16:14

so you're actually generating images of

play16:17

the story line as they progress so think

play16:20

about how you can do that so my

play16:21

suggestion is to go and check out the

play16:23

apis for both Dal and The Unofficial one

play16:26

for Mid Journey 2 and see how it is that

play16:28

you potentially incorporate that

play16:30

together so I hope you found this video

play16:31

helpful and then you feel inspired to

play16:33

start creating one of these AI projects

play16:37

um let me know if you want me to make a

play16:38

sequel to this um where we're going to

play16:41

be building things using Lang chain

play16:42

maybe a little bit more complex or like

play16:45

any specific domains or just like

play16:47

anything else that you want me to make

play16:48

okay I'll see you guys in the next video

play16:50

or live stream

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
AI ProjectsPersonalized TutorStorytelling GamePython CodingOpenAI APIContent CreationEducational ToolMotivational SpeakerAnime ReferencesTech Tutorial