How to Use OpenAI's Assistants API v2 (step-by-step + easter egg)

  Рет қаралды 5,999

Mark Kashef

Mark Kashef

Күн бұрын

Пікірлер: 32
@lucvandenboogaart2630
@lucvandenboogaart2630 Ай бұрын
Legendary video Mark! I was a bit overwhelmed by the api documentation in terms of how broad it is. This video absolutely helped me in gaining that necessary overview to design my applications software architecture. I love how you just show a working example with all components loosely integrated to demonstrate how all of the components work together. You probably saved me a day of work going back on early uninformed choices in a 30 min video. Subscribed!
@Mark_Kashef
@Mark_Kashef Ай бұрын
So so happy I was able to save you some time!! Thanks for the sub 🦾
@Taha_EH
@Taha_EH 4 ай бұрын
Heat every time you drop Mark🔥🔥🔥
@Mark_Kashef
@Mark_Kashef 4 ай бұрын
Appreciate you brother!
@Rob_2002_NCAA_Champion
@Rob_2002_NCAA_Champion 3 ай бұрын
Hey Mark, so I was making the assistant of the ChatGPT website itself but when I run it with my large documents that are in the vector search, it reaches a token limit and I wont be able to ask any more questions until I clear or restart the assistant. Im confused. Using Chat GPT is allows for long conversations. Doing the process you explained, would this allow me to better communicate with the assistant without it hitting a wall? Maybe Im going about this wrong or not being as efficient.
@Mark_Kashef
@Mark_Kashef 3 ай бұрын
Hey Rob! The assistants API has a per document limit of around 5 million tokens; I notice that even at the 3-4 million mark, the indexing slows down quite a bit. Because of that, I convert all PDFs into txt files, then split those text files using a text file splitter online. So if I have a document with 5,000,000 tokens, I’ll break it up into 1,500,000 token documents so that it can properly index them.
@gayendrawijesekara6276
@gayendrawijesekara6276 4 ай бұрын
This is amazing. By the way Mark, the link to replit seems broken
@Mark_Kashef
@Mark_Kashef 4 ай бұрын
Thanks for pointing out! It was accidentally set to private, you should be able to see it now :)
@mrwhite2894
@mrwhite2894 3 ай бұрын
Please add time stamps
@Mark_Kashef
@Mark_Kashef 3 ай бұрын
Thank you for the feedback, will do :)
@lezgoverci
@lezgoverci 4 ай бұрын
you can just add the "file_search" in the tools array when you create the assistant
@Mark_Kashef
@Mark_Kashef 4 ай бұрын
Thank you! I can’t believe I figured everything else out and not this. Much appreciated 🙏🏻
@Lyriks_
@Lyriks_ Ай бұрын
Honest, Straight to the point, insightful, that's what we like, good job mate ! By the way i'm curious about the scrapping assistant for documentation, do you have any tutorial about this ?
@Mark_Kashef
@Mark_Kashef Ай бұрын
My pleasure! Appreciate your appreciation I use FireCrawl to help me with a lot of documentation scraping - if it misses anything I get my VA army to help me with the rest
@AaronGayah-dr8lu
@AaronGayah-dr8lu 18 күн бұрын
This was an exceptional video. Thanks for that.
@Mark_Kashef
@Mark_Kashef 18 күн бұрын
thanks Aaron! Glad it was helpful 🦾
@TUSHARGOPALKA-nj7jx
@TUSHARGOPALKA-nj7jx Ай бұрын
During the chatbot conversation, how to ensure that the tool call its used only during a specific step, and not for all the user queries?
@Mark_Kashef
@Mark_Kashef Ай бұрын
That would be a prompt engineering component - make sure a certain set of criteria or threshold needs to be met to trigger the tool. I would designate a whole portion of the prompt for this.
@hadinayebi
@hadinayebi Ай бұрын
this was very helpful, Thank you so much. Can you also dive into the portion where you define the actions in custom GPT to talk to replit microservice? (The OpenAPI schema you used to make that connection)
@tuaitituaiti1565
@tuaitituaiti1565 Ай бұрын
Man, I love this deep dive for a newb sub, visual/audio learner 55+ old fella. Beers on me when you are Aotearoa Chur Koko...🎬🦅🙏 bring LO...
@JoeKnouse
@JoeKnouse 3 ай бұрын
Say Mark would you be so kind as to update with the link to the documentation scrape? That would be so useful. Or if you could let us know what you used to scrape the documentation, that would work too. Thanks!
@Mark_Kashef
@Mark_Kashef 3 ай бұрын
Hi Joe! KZbin doesn't let me attach Google Doc links, but I managed to get around it by adding bitly links: 1) Part 1: bit.ly/3VDXC4Y 2) Part 2: bit.ly/3xeFCVz I had my VA do this, but if you wanted to try to do it in an automated fashion, I would recommend trying FireCrawl and entering the URL. Will be making a video on this in a few weeks.
@JoeKnouse
@JoeKnouse 3 ай бұрын
@@Mark_Kashef Thank you so much! Really appreciate it!
@Mark_Kashef
@Mark_Kashef 3 ай бұрын
@@JoeKnouse pleasure!
@uwegenosdude
@uwegenosdude 2 ай бұрын
Hi Mark. Thanks a lot for this great video. I played around some months ago with the v1 of the assistants API. With this background your video helped me a lot to understand what has changed. I liked the idea of using Perplexity API to get information about recent information which is not part of OpenAIs huge LLMs.
@Mark_Kashef
@Mark_Kashef 2 ай бұрын
I see you binging my content haha! So happy you’re finding value in it 🦾
@TrevorMacmurray
@TrevorMacmurray 3 ай бұрын
Both of your colab links are the same, can you post the one for the function calling?
@Mark_Kashef
@Mark_Kashef 3 ай бұрын
thanks for pointing that out @Trevor! just added it :)
@SaminYasar_
@SaminYasar_ 4 ай бұрын
this is super helpful thanks mark
@Mark_Kashef
@Mark_Kashef 4 ай бұрын
my pleasure Samin!!
@duynguyen6229
@duynguyen6229 4 ай бұрын
keep update more video, it's so good. Thank you
@Mark_Kashef
@Mark_Kashef 4 ай бұрын
Thank you so much for the feedback! I’ll keep the content coming for sure 🤙🏽
Unlock Unlimited Memory In Custom GPTs (using Pinecone)
11:07
Mark Kashef
Рет қаралды 1,1 М.
You’ll NEVER Need Prompt Engineering Again with Meta-Prompting
17:32
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 3,5 МЛН
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 9 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 111 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 12 МЛН
GPTs vs Assistants API - which one is best for you?
13:09
Expert AI Developer Explains NEW OpenAI Assistants API v2 Release
30:38
Triton Conference 2024: Afternoon Session
3:37:31
Triton
Рет қаралды 931
OpenAI Assistants API - Course for Beginners
3:32:55
freeCodeCamp.org
Рет қаралды 387 М.
How to Fix ANY Prompt With Meta Prompting
16:16
Mark Kashef
Рет қаралды 4 М.
What's new in OpenAI Assistants API v2? Changes to Cost, Quality, and Speed
14:01
Build Anything with Llama 3.1 Agents, Here’s How
1:00:31
David Ondrej
Рет қаралды 60 М.
Self-hosted agents - Azure Devops
28:03
Jay's Coding Channel
Рет қаралды 24
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 3,5 МЛН