Building Reliable LLM Apps with OpenAI (Instructor Tutorial)

  Рет қаралды 11,367

Dave Ebbelaar

Dave Ebbelaar

Күн бұрын

Пікірлер: 54
@jxnlco
@jxnlco 3 ай бұрын
Creator of instructor here! Thanks so much for this video
@daveebbelaar
@daveebbelaar 3 ай бұрын
Appreciate the comment Jason 🙌🏻
@treflatface
@treflatface 4 ай бұрын
I like how you are so comprehensive in covering the different branches of scenarios and possibilities, going over the trade-offs. All these delivered so systematically and articulately as well. Well done. I RARELY subscribe to tutorial channels but yours is an instant subscribe after 2 videos.
@mzafarr
@mzafarr 6 ай бұрын
Please keep on making unique content like this that solves pains of gen AI developers for which solutions aren't that straightforward.
@isaihernandez4136
@isaihernandez4136 6 ай бұрын
This is gold. Thanks for sharing Dave!
@daveebbelaar
@daveebbelaar 6 ай бұрын
Glad you enjoyed it!
@sapiensmagno
@sapiensmagno 3 ай бұрын
Great content. The progressive approach of explaining the problem and narrowing down the solutions is perfect 👌
@daffertube
@daffertube 4 ай бұрын
I had been wondering about these problems for a while. This video is 100% gold!
@matheusmota9500
@matheusmota9500 4 күн бұрын
Your content is amazing. Super clear, cover every scenario. Thank you!!!
@baksoy
@baksoy 2 ай бұрын
Great walkthrough and thank you for pointing out Instructor - a great library!
@faustoalbers6314
@faustoalbers6314 3 ай бұрын
Well deserved compliments in the comments, you have explained the greatest ability of LLMs very clear. Let's chat at the next Amsterdam AI Builders Meetup!
@aliabassi1
@aliabassi1 5 ай бұрын
The exact video i needed with Pydantic and Instructor - Thank you Dave!
@kapilkhond6339
@kapilkhond6339 3 ай бұрын
This is really wonderful tutorial! I hope this video becomes popular soon. Could you share such more tutorial talking about how to make LLM application output consistent responses with production grade solution that will scale!
@user-vm7xx3wi8cbz
@user-vm7xx3wi8cbz 6 ай бұрын
Dave.. your content is so specific for us GenAI devs. I LOVE it. Please keep it up!
@daveebbelaar
@daveebbelaar 6 ай бұрын
More to come!
@user-vm7xx3wi8cbz
@user-vm7xx3wi8cbz 6 ай бұрын
@@daveebbelaar I have a follow up question. If you want to "prompt" the LLM to output AI generated emails in a specific format (e.g. intro paragraph/hook of 30 words max, main body of e.g. 50 words max and a CTA of 15 words max) what would be your suggested approach? The traditional way of just giving an example when prompting is very unreliable in this regard but wondering which of your discussed approaches would be best.
@farhanafridi8694
@farhanafridi8694 6 ай бұрын
Wow! Knowledge bomb. Please make more videos like this.
@daveebbelaar
@daveebbelaar 6 ай бұрын
More to come!
@imadsaddik
@imadsaddik Ай бұрын
Hey Dave, thank you so much for the video.
@pedroaquino3042
@pedroaquino3042 4 ай бұрын
Really helpful video Dave, thank you for sharing this information!
@johannesseikowsky8197
@johannesseikowsky8197 6 ай бұрын
man, you're a really good teacher!
@daveebbelaar
@daveebbelaar 6 ай бұрын
I appreciate that!
@AndrewChildsza
@AndrewChildsza 6 ай бұрын
This was great, thanks. I've had questions about this previously
@daveebbelaar
@daveebbelaar 6 ай бұрын
Thanks! The different methods can definitely be confusing at first.
@AndrewChildsza
@AndrewChildsza 6 ай бұрын
​@@daveebbelaar They certainly can! I was wondering, do you know of a way to make a RAG using something like Flowise AI work with tools? Eg, have a RAG chatbot that is able to call on functions (POST to a webhook), for example when it sees fit to? I have attempted to configure this in Flowise, but always get stuck at merging the RAG and the tool together... I suspect something like the solutions you cover in this video could work for that sort of requirement... 🙏
@paulmiller591
@paulmiller591 2 ай бұрын
Very helpful thank you David
@bulutosman
@bulutosman 6 ай бұрын
You are great Dave, helping us a lot. Thank you for your effort here. Does Instructor library also work with Assistant API of Open AI instead of Chat completion API? I mean instead of client.chat.completions.create, using client.beta.threads.runs.create format. Does this work with Instructor as well? One another question is, are you really using Chat Completion API for your project with your real world client that you mention in the video? If so, why don't you use assistant API? Is not that easier? Is there any drawbacks of Asisstant API over Chat Completion API?
@AlwynCornforth
@AlwynCornforth 6 ай бұрын
yea i would like to know as well since we using threads and runs this solution does not work unless you build around chat completions
@maqboolurrahimkhan
@maqboolurrahimkhan 6 ай бұрын
Thanks Dave, love ur content and channel
@mzafarr
@mzafarr 6 ай бұрын
THANK YOU!
@lLvupKitchen
@lLvupKitchen 27 күн бұрын
Great tutorial!
@GarthVanSchalkwyk
@GarthVanSchalkwyk 4 ай бұрын
Hi Dave does your company also make apps for math education. Where can we find details of your company
@mzafarr
@mzafarr 6 ай бұрын
Won't it be same if I simply pass schema inside the system message rather than using instructorGPT/function calling thing?
@ce7882
@ce7882 6 ай бұрын
Is there an example of the content filtering for JavaScript? I can see instructor has a JavaScript version but can’t see any information or examples on content filtering. Would appreciate any help!
@Sam-oi3hw
@Sam-oi3hw 3 ай бұрын
thanks for this awesome video
@bs_general
@bs_general 6 ай бұрын
@daveebbelaar, if I'm not mistaken, I think "max_retries=1" means retries are allowed once. If you don't want to allow any retries, it needs to be "max_retries=0", correct?
@daveebbelaar
@daveebbelaar 6 ай бұрын
Hmm, while that would make sense, I am not sure. I tried many examples with max_retries=1, and they all failed. I can't see anything in the docs about this. It would require further testing and looking at the API calls.
@dvx24
@dvx24 6 ай бұрын
Insane content. Thank you.
@ashish31416
@ashish31416 3 ай бұрын
Love this!
@SriniVasan-hv8cq
@SriniVasan-hv8cq 4 ай бұрын
Absolutely fantastic! Thanks for sharing @daveebballar! Can we make this work with a local llm - e.g. ollama?
@varung4223
@varung4223 6 ай бұрын
This content is awesome !!!!!
@comptedodoilya
@comptedodoilya 2 ай бұрын
please how do you use the interactive python execution in vs code??
@slcpunk_
@slcpunk_ 5 ай бұрын
Very helpful!
@micbab-vg2mu
@micbab-vg2mu 6 ай бұрын
Great content - thank you for sharing:)
@Vimalnarain
@Vimalnarain 6 ай бұрын
can we use it with runs as well
@lLvupKitchen
@lLvupKitchen 27 күн бұрын
How do you run py file line by line?
@bs_general
@bs_general 6 ай бұрын
Hi, thanks for this tutorial. But the Git repo is not available. It shows 404 error. Thanks
@daveebbelaar
@daveebbelaar 6 ай бұрын
Ah, it was still set to private. It's fixed now - thanks!
@bs_general
@bs_general 6 ай бұрын
@@daveebbelaar Yeah, its working now. Thanks 👍
@mulderbm
@mulderbm 6 ай бұрын
Great Stuff there. Really like the use case as it is not new, message classification, but how to do this with an LLM instead of a local ML model and do it reliably!
@alichch1241
@alichch1241 6 ай бұрын
Hey there new to channel and pretty new to AI still in learning process :) tbh I think this video is soo advanced for me to grasp the idea :) but I have some insights on it can you correct me if Iam wrong :) My insight: "You are building a software for responses depending on pretrained LLM models " ?
@danielogunlolu
@danielogunlolu 4 ай бұрын
yea. He is basically building a wrapper around chat-gpt that does really specific task with more accuracy an efficiency .
@redxcted_
@redxcted_ 2 ай бұрын
is it just me or is it just always returning a confidence score of .9?
@daveebbelaar
@daveebbelaar 2 ай бұрын
Prompt it to be more specific E.g., give conditions on makes it a 0.5 or 0.9
OpenAI Structured Output - All You Need to Know
24:46
Dave Ebbelaar
Рет қаралды 33 М.
OpenAI Function Calling - Full Beginner Tutorial
28:24
Dave Ebbelaar
Рет қаралды 82 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 16 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 197 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
5 Steps to Build Your Own LLM Classification System
21:15
Dave Ebbelaar
Рет қаралды 11 М.
Build high-performance RAG using just PostgreSQL (Full Tutorial)
35:43
Finally! How to Leverage JSON Mode in OpenAI's New GPT 4 Turbo 128k
14:10
This Open Source Scraper CHANGES the Game!!!
20:36
Reda Marzouk
Рет қаралды 114 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 86 М.
Get Started with Cursor - The AI Code Editor
24:02
Dave Ebbelaar
Рет қаралды 36 М.
Structured Outputs with Pydantic & OpenAI Function Calling
13:04
Automata Learning Lab
Рет қаралды 1,3 М.
Improve RAG with This Simple API (code included)
16:53
Dave Ebbelaar
Рет қаралды 10 М.
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Maya Akim
Рет қаралды 884 М.
The Only LLM Library for Reliable AI Agents (feat. Jason Liu)
17:18
Arseny Shatokhin
Рет қаралды 11 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 16 МЛН