🤯 OpenAI Assistants API Python (Full Tutorial)

preview_player
Показать описание
Learn how to build with the new OpenAI Assistants API in less than 20 minutes and how to integrate GPT-4 into your applications. I'll show you how, step by step using a Python environment. Learn about Key Features like: Code Interpreter, Retrieval. and Function calling.

Chapters
0:00 Intro
0:21 Install OpenAI library
1:15 The Assistants API
2:12 Build OpenAI Assistants in python
4:11 Using OpenAI Threads
4:45 Using OpenAI Messages
9:30 Output from OpenAI Assistants API
10:00 Building Assistants with File Retrieval
15:00 Outro

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

#MachineLearning #DeepLearning
Рекомендации по теме
Комментарии
Автор

I really liked your video, clear and concise. Most senior programmers can't even explain the simple steps properly. Thanks!

luissantiagolopez
Автор

I appreciate how clear and concise your explanations were throughout the process.

creatorsmafia
Автор

Yes thank you so much I took your old tutorials I think we're using torch and it's so awesome that we're in this new age and I could count on an awesome woman to teach me!

toapyandfriends
Автор

This video introduces in detail how to create an API call file in a local program. Based on this architecture and the API Reference provided by OpenAI, you can implement an Assistants API call file that is unique to your project. This is definitely a precious resource for those who are ready to start development. At present, most Youtubers have not explained it in such detail.😁

qszffdr
Автор

Would love to see a tutorial now on using the assistant in a chat ui. Would be cool to see how to approach that :)

adamsardo
Автор

You are fantastic! this is EXACTLY what I was looking for. Thank you. Very clear, specific, and to the point. I watched a different creator's video that was over an hour and was completely lost. Yours was SO good.

dereksparks
Автор

Anyone struggling to get a response, you might be trying to the retrieve it before it is finished. So wait until you get the run.status as completed after retrieval. Should be able to view the response after that.

bas_abhi
Автор

This is the most clear explanation I've seen so far on the topic. The only inconsistency is redefining a 'run' variable on 7:50

MindfulStream-djio
Автор

Thanks @Smitha for explaining about Openai assistant I created multi AI agents with help of your videos

faizansultan
Автор

Thanks, this helped me to get this working. Many other sources try to fit their explanations to so broad audience that the essense "how to do this" is lost in the mess starting what is python type fo quesitons. This was good and lacked all that noise!

Arrowtake
Автор

Thanks a lot Smita . I got a couple of questions about the second example

1) Can we upload multiple files?
2) Can we upload multiple formats like PDF, CSV, DOC etc?
3) Can we create a Streamlit UI to access the assistant ?
4) Is this a type of RAG ?

KumR
Автор

I found this extremely helpful. I've been using Assistants in playground on the dev site. Im using it for coding. I'm trying to imagine how i will use this in this context, but the step by step here was super helpful.

Stewz
Автор

Definitely not for beginners but presentation at this level is very decent along with voice control that has clarity.

scurtuo
Автор

thank you so much for this walkthrough. I spent two days working on the Quick start but I couldn't get the function to import the secret key, I didn't realize I could just insert it right into the function (I know it's not recommended for serious projects but I just wanted my request to work, as this is my first time working with the API)

wasabi
Автор

Extremely clear explanation, you are an awesome teacher

faizanabbasi
Автор

Thank you! It helped a lot to understand how assistants work.

paineldeprecosdaconstrucao
Автор

Bravo for your tutorial. 👍👍 This is really well explained!! I think this is the basic foundation for becoming a developer😇🤔

ArabicScriptElegance
Автор

I'm trying to follow this just in a python script, but I keep getting the error "ImportError: cannot import name 'OpenAI' from 'openai'". What am I doing wrong?

PhilipZeplinDK
Автор

If not getting response, before retrieve add:
import time
time.sleep(20)

andresmoks
Автор

THX, It's still a bit difficult for someone from another industry.

TimeSpace-Talks