Getting Started with OpenAI API and GPT-3 | Beginner Python Tutorial

  Рет қаралды 265,623

AssemblyAI

AssemblyAI

Күн бұрын

Learn how to get started with the OpenAI API and GPT-3 in this Python Beginner tutorial.
Get your Free Token for AssemblyAI Speech-To-Text API 👇www.assemblyai.com/?...
OpenAI is known for the creation of the GPT-3 model, a powerful deep learning model capable of producing human-like text.
What makes this API special is not only the powerful model but also that the API is not designed for one use-case only, but instead the API provides a general-purpose “text in, text out” interface, which allows users to try it on virtually any task in the English language.
Resources: openai.com/api/
Docs: beta.openai.com/docs/
AssemblyAI API tutorial: • Automatic Chapter Dete...
▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
🖥️ Website: www.assemblyai.com
🐦 Twitter: / assemblyai
🦾 Discord: / discord
▶️ Subscribe: kzbin.info?...
🔥 We're hiring! Check our open roles: www.assemblyai.com/careers
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Timestamps:
00:00 Introduction
00:44 Pricing and Docs
01:34 Python Setup
04:00 Engine
04:42 Completion Endpoint
07:40 Playground
10:57 Classification Endpoint
14:00 Search Endpoint
16:10 Question answering Endpoint
18:57 AssemblyAI + OpenAI Virtual Assistant
#MachineLearning #DeepLearning #Python #OpenAI

Пікірлер: 101
@AssemblyAI
@AssemblyAI 2 жыл бұрын
What kind of application would you build with OpenAI? -- Patrick
@pradeeppawar3622
@pradeeppawar3622 2 жыл бұрын
Landing page generator
@shukrantpatil
@shukrantpatil Жыл бұрын
In an app for lonely people or people who need emotional support without feeling bad about sharing their thoughts
@DanA-ux6ow
@DanA-ux6ow Жыл бұрын
@@shukrantpatil how do we do thart? I have been trying to start, but where do we start? Do we use visual studio code?
@whnvr
@whnvr Жыл бұрын
i'm currently building: a top-to-bottom song idea generator, a songwriting assistant, a worldbuilding tool, a twitter shitpost bot, a song title generator, a creative/oblique strategies generator, an ai general-purpose life assistant, a computer graphic art prompt generator/guide, and many more besides!
@whnvr
@whnvr Жыл бұрын
@@DanA-ux6ow i'm just using python. anyone can start using GPT-3 in their online playground, and anyone can begin building applications for it using python, the openai api, and any free development environment.
@AIBites
@AIBites Жыл бұрын
This is quite useful! Thanks
@michaelchojnacki1343
@michaelchojnacki1343 Жыл бұрын
Great video! It would be great if you could point us anywhere that we could learn more about building AssemblyAI + OpenAI Virtual Assistant.
@immortalsun
@immortalsun Жыл бұрын
Thank you for this! Exactly what I was looking for 💙
@SeanyKrabs
@SeanyKrabs 2 жыл бұрын
12500 words for $1 using the most powerful model!?
@carmillasmith7743
@carmillasmith7743 Жыл бұрын
12,500x10 and it’ll be cheaper than Jasper. 🤓
@aar021
@aar021 Жыл бұрын
Awesome!! Thank you
@DigitalSamTV
@DigitalSamTV 11 ай бұрын
hi, how do u set if the api uses gpt3.5 or gpt 4 ? there is no setting when you generate the key as far as I can see... please help. cheers
@demohub
@demohub Жыл бұрын
👍 thanks for sharing
@gamerbath7921
@gamerbath7921 Жыл бұрын
I tried using this to get a simple text conversation to see if it would work. It sorta worked but it was like the thing had 0iq. it kept repeating itself and only after saying it a few times it would stop and start repeating something else. It would also just suddendly repeat things form earlier in the conversation for no reason. I used text-davinci-001, max_tokens=50 and i tried temperatures 0.5, 0.8 and 1. frequency_penalty=0.5, presence_penalty=0.0,
@manuelaguilera6657
@manuelaguilera6657 Жыл бұрын
you should try with text-davinci-003 its way smarter
@gamerbath7921
@gamerbath7921 Жыл бұрын
​@@manuelaguilera6657 It is, and im having a great time with ChatGPT, using it as a teacher and assistant when learning how to use tensorflow. All these cool AI models have gotten me into AI myself. Also, the problem just evaporated when i tried it a few weeks later ¯\_(ツ)_/¯
@akashmallick7732
@akashmallick7732 Жыл бұрын
hello sir can u pls solve a problem related to codex model?
@costerius
@costerius 2 жыл бұрын
Copy and pasted the first example but it didnt run, kept showing me directories of python and the folder the project is saved in. Help?
@kategotcha1997
@kategotcha1997 8 ай бұрын
Hello, very interesting video Please, Where can I find the code presented in this video
@riegaldutoit5792
@riegaldutoit5792 Ай бұрын
what python editor are you usng??
@louis19449
@louis19449 2 жыл бұрын
Verry interesting, thanks for sharing your knowledge! I saw saw a video where cpt3 gave legal advice, it gave a lot of different anwsers each run that werent correct. Would it be possible to only feed it certain information for example a textbook and then ask questions or solve cased based on that textbook? And correct when wrong for future similar cases?
@user400
@user400 2 жыл бұрын
that is a fascinating idea!
@whnvr
@whnvr Жыл бұрын
yes, in the sense that it will have very likely had excerpts or online discourse about a certain book in its training dataset. if you simply provide the name of your reference in your prompt, for anything, it will constrain the results. it isn't perfect, but i think it's one of the most powerful tools in working with the program. provide a reference, a whole list of references, a school of thought, a specific case or argument, and it will infer whatever knowledge it has on these. the beauty of few shot learning is you don't need to provide the data in the thing - it's already read the data - you just need to point it in the right direction.
@anandsiva8765
@anandsiva8765 Жыл бұрын
@@whnvr What if the data was created after the model was trained?
@whnvr
@whnvr Жыл бұрын
@@anandsiva8765 then it won't have access to that specific data - but remember that all human knowledge is a house of cards. if that data isn't there, then the data preceding it almost certainly will be. additionally general transformers are able to infer knowledge, meaning it may arrive at similar conclusions about certain things anyway. but most of all they are constantly updating the dataset, with the newest being of this very month i believe? so i don't think it's an issue anyone would run into too much. although i do remember in 2020 querying it about world events and it did not yet know of covid or other geopolitical factors - was fascinating seeing it try to talk about a 2020 that never happened.
@vaughnsmith5337
@vaughnsmith5337 Жыл бұрын
I think they're aiming to have a model that uses live data in 2023
@ggg1977
@ggg1977 Жыл бұрын
Translation is correct, at least for French and Spanish.
@Forzutin
@Forzutin Жыл бұрын
is possible usage the ai for finalcial advisor? or for the professional trading?
@balaselvam7024
@balaselvam7024 Жыл бұрын
Hey guys I'm a beginner with all of this and I'm trying to figure out how to even get that thing that he is developing on. Can anyone help me out with just setting everything up to just add the code? I feel like I don't know how to start any of this and feel kind of stuff because I can't even get to this beginner level.
@PopCapMusicTrending
@PopCapMusicTrending Жыл бұрын
I hope they can expand on more payment methods other than credit cards. Digital currency is popular where I live.
@user-rx9ww4vr9u
@user-rx9ww4vr9u Жыл бұрын
where do you live?
@suryakumarsahani4057
@suryakumarsahani4057 2 жыл бұрын
how to create .jsonl file for our large pdf or texts?
@maximoramirez3004
@maximoramirez3004 Жыл бұрын
where I can download OPENAI software
@bjrn4954
@bjrn4954 Жыл бұрын
Was hopping u had a video explaining how to install it. Seems to seems to be very hard 😅
@lancemarchetti8673
@lancemarchetti8673 Жыл бұрын
That's an excellent ai microphone 🎤..by the way...lol
@bharatimali4676
@bharatimali4676 Жыл бұрын
Is there a limit on how much data we can send in the prompt via api for completions?
@BlueDolphinBlues
@BlueDolphinBlues Жыл бұрын
The Spanish and French are correct!
@That-Google-Guy
@That-Google-Guy Жыл бұрын
Come looking for tutorial/explainer- guy says to read the manual. Great video bro
@thetruemystic_
@thetruemystic_ Жыл бұрын
How do you setup the api_secrets file?
@mandeno4063
@mandeno4063 Жыл бұрын
it's a separate file to store the api key
@pradeeppawar3622
@pradeeppawar3622 2 жыл бұрын
Build GPT3 Powered blog content generater Website with React js and flask fastapi
@AssemblyAI
@AssemblyAI 2 жыл бұрын
cool!!
@Praxss
@Praxss 2 жыл бұрын
Ask gpt3 to write that web app
@Twst3628
@Twst3628 2 жыл бұрын
@@Praxss gpt-3 be like: I am unable to can
@aryansoriginals
@aryansoriginals 2 жыл бұрын
this did not work for me. the part where you create the file, it says file not found
@garvitkumarkalra9117
@garvitkumarkalra9117 Жыл бұрын
What application is he running the Python code on? Does anyone know? Thanks!
@paulbinder7434
@paulbinder7434 Жыл бұрын
Visual Studio Code
@Edu4Dev
@Edu4Dev Жыл бұрын
Top
@navagationvrvideos7445
@navagationvrvideos7445 Жыл бұрын
Legal
@HalStrider
@HalStrider 2 жыл бұрын
what program are you using at 1:45?
@AssemblyAI
@AssemblyAI 2 жыл бұрын
That's VS Code
@benniebond1754
@benniebond1754 Жыл бұрын
What IDE is that you're using? I'm still using sublime for everything 😩
@ArjunMehrotra
@ArjunMehrotra Жыл бұрын
hes using vscode (visual studio code)
@panicatthecoding7827
@panicatthecoding7827 2 жыл бұрын
How to make that virtual assistant
@hernanjuarez650
@hernanjuarez650 Жыл бұрын
How do I generate and find an API key in my dashboard?
@Tech_Ez
@Tech_Ez Жыл бұрын
It would make things clearer if you showed the creation of the files and environment first.
@GoodguyGastly
@GoodguyGastly Жыл бұрын
Did you ever figure this out? I'm not sure how he's calling the key but I also know nothing about Python and am pretty new to all of this.
@kryptoabi
@kryptoabi Жыл бұрын
ModuleNotFoundError: No module named 'openai' although i have pip install openai
@crisag.2698
@crisag.2698 Жыл бұрын
Make sure the python interpreter is set to the path of the virtual environment where you installed openai
@l.halawani
@l.halawani Жыл бұрын
can you show how to store the API key????
@h3Xh3Xh3X
@h3Xh3Xh3X Жыл бұрын
you can store it in a config file or an environment variable
@SkillsToLearn
@SkillsToLearn Жыл бұрын
How to start the code in Anaconda?
@Roz4628
@Roz4628 Жыл бұрын
"Getting started" Immediately skips the set up.
@glodymbutwile
@glodymbutwile Жыл бұрын
It is correct in french
@BrothersNBolts
@BrothersNBolts Жыл бұрын
Is anyone else dying when he says, "DaWinchi"? Lol My wife who is slavic also mixes her V's and W's. Love it.
@GabeMota116
@GabeMota116 Жыл бұрын
Couldn’t quite keep up with the end section. Would be nice to see some examples that are focused on making an app work instead of random examples that have nothing to do with one another.
@emoutraspalavras-marloncou4459
@emoutraspalavras-marloncou4459 Жыл бұрын
I got errrors, it shows as deprecated for both classification and search...
@emoutraspalavras-marloncou4459
@emoutraspalavras-marloncou4459 Жыл бұрын
The answers is also deprecated....
@swejdfhdhffh
@swejdfhdhffh Жыл бұрын
hi, after you import openai, how do i create an api key, what is it?
@Andandand25
@Andandand25 Жыл бұрын
Your API key is found on the OpenAi website by your account settings.
@shubhamborde9015
@shubhamborde9015 Жыл бұрын
The fetching of data from our database which you have explained has been obsolete now. Can you please create a new video containing all the latest elements. It would be really useful.
@AssemblyAI
@AssemblyAI Жыл бұрын
Thanks for the info, I'll take a look!
@nhaab-6528
@nhaab-6528 Жыл бұрын
Not available OpenAI's services are not available in your country.
@alanhg
@alanhg Жыл бұрын
use proxy
@sussyfour6190
@sussyfour6190 Жыл бұрын
me just wanting to make greentexts:
@SaintMatthieuSimard
@SaintMatthieuSimard Жыл бұрын
I'm not okay with fees being put on general human knowledge. Not at all. They should deliver a full self-hosted solution if what they worry about is the cost of running the AIs on distant servers.
@qayyumblazer
@qayyumblazer Жыл бұрын
Then do it yourself
@SaintMatthieuSimard
@SaintMatthieuSimard Жыл бұрын
@@qayyumblazer Using Gradio and GPT3? You've got it to work yet?
@bhoareau
@bhoareau Жыл бұрын
9:45 the translation in french is not correct. It should be :" Quelles sont les chambres disponibles ?"
@mradamdsmith
@mradamdsmith Жыл бұрын
A minute in and I'm already getting an error. . ..
@ricky_dick
@ricky_dick Жыл бұрын
Is there a tutorial for people that don't even know python?
@alanhg
@alanhg Жыл бұрын
just google
@djamilasaidani798
@djamilasaidani798 Жыл бұрын
Its complicated
@ranalush
@ranalush Жыл бұрын
costs money to me
@BLUEGILLBOYZ
@BLUEGILLBOYZ Жыл бұрын
This video didn’t make any sense to me
@dickinson2204
@dickinson2204 Жыл бұрын
Someone is using my number for this website 😟
@MdRaihan-gb5mw
@MdRaihan-gb5mw Жыл бұрын
Hllw sir i m not
@BIGJIMCRYPTO614
@BIGJIMCRYPTO614 Жыл бұрын
I feel like you skipped alot of steps i the beginning for new guys lol
@ryanranjith672
@ryanranjith672 7 ай бұрын
Simply waste didn't explain how to use openai waste of 5 min in my life......
@BLUEGILLBOYZ
@BLUEGILLBOYZ Жыл бұрын
U didn’t explain how to download python or anything
@abdallaalmidfa7345
@abdallaalmidfa7345 Жыл бұрын
Very complex, don’t like it
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 400 М.
Use OpenAI's ChatGPT in Python
13:18
NeuralNine
Рет қаралды 83 М.
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 18 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 17 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 21 МЛН
Python for Beginners - Learn Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 17 МЛН
Q-Learning Explained - Reinforcement Learning Tutorial
6:48
AssemblyAI
Рет қаралды 21 М.
Complete ChatGPT Tutorial - [Become A Power User in 30 Minutes]
27:32
Santrel Media
Рет қаралды 2,6 МЛН
OpenAI Tutorial - Decoding Function Calling
28:24
Dave Ebbelaar
Рет қаралды 65 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
ChatGPT Tutorial - A Crash Course on Chat GPT for Beginners
34:05
Adrian Twarog
Рет қаралды 6 МЛН
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 18 МЛН