Building Reliable LLM Apps with OpenAI (Instructor Tutorial)

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 53

  • @jxnlco
    @jxnlco 2 месяца назад +20

    Creator of instructor here! Thanks so much for this video

    • @daveebbelaar
      @daveebbelaar  2 месяца назад +1

      Appreciate the comment Jason 🙌🏻

  • @treflatface
    @treflatface 3 месяца назад +2

    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 5 месяцев назад +4

    Please keep on making unique content like this that solves pains of gen AI developers for which solutions aren't that straightforward.

  • @isaihernandez4136
    @isaihernandez4136 5 месяцев назад +9

    This is gold. Thanks for sharing Dave!

  • @daffertube
    @daffertube 3 месяца назад

    I had been wondering about these problems for a while. This video is 100% gold!

  • @sapiensmagno
    @sapiensmagno 2 месяца назад

    Great content. The progressive approach of explaining the problem and narrowing down the solutions is perfect 👌

  • @baksoy
    @baksoy Месяц назад

    Great walkthrough and thank you for pointing out Instructor - a great library!

  • @imadsaddik
    @imadsaddik 9 дней назад

    Hey Dave, thank you so much for the video.

  • @aliabassi1
    @aliabassi1 4 месяца назад

    The exact video i needed with Pydantic and Instructor - Thank you Dave!

  • @user-vm7xx3wi8cbz
    @user-vm7xx3wi8cbz 5 месяцев назад

    Dave.. your content is so specific for us GenAI devs. I LOVE it. Please keep it up!

    • @daveebbelaar
      @daveebbelaar  5 месяцев назад +2

      More to come!

    • @user-vm7xx3wi8cbz
      @user-vm7xx3wi8cbz 5 месяцев назад

      @@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 5 месяцев назад +2

    Wow! Knowledge bomb.
    Please make more videos like this.

  • @paulmiller591
    @paulmiller591 Месяц назад

    Very helpful thank you David

  • @pedroaquino3042
    @pedroaquino3042 3 месяца назад

    Really helpful video Dave, thank you for sharing this information!

  • @faustoalbers6314
    @faustoalbers6314 2 месяца назад

    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!

  • @kapilkhond6339
    @kapilkhond6339 2 месяца назад

    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!

  • @johannesseikowsky8197
    @johannesseikowsky8197 5 месяцев назад

    man, you're a really good teacher!

  • @AndrewChildsza
    @AndrewChildsza 5 месяцев назад

    This was great, thanks. I've had questions about this previously

    • @daveebbelaar
      @daveebbelaar  5 месяцев назад

      Thanks! The different methods can definitely be confusing at first.

    • @AndrewChildsza
      @AndrewChildsza 5 месяцев назад

      ​@@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... 🙏

  • @lLvupKitchen
    @lLvupKitchen Час назад

    Great tutorial!

  • @bulutosman
    @bulutosman 5 месяцев назад

    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 5 месяцев назад

      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

  • @SriniVasan-hv8cq
    @SriniVasan-hv8cq 3 месяца назад

    Absolutely fantastic! Thanks for sharing @daveebballar! Can we make this work with a local llm - e.g. ollama?

  • @maqboolurrahimkhan
    @maqboolurrahimkhan 5 месяцев назад

    Thanks Dave, love ur content and channel

  • @mzafarr
    @mzafarr 5 месяцев назад +1

    THANK YOU!

  • @Sam-oi3hw
    @Sam-oi3hw 2 месяца назад

    thanks for this awesome video

  • @varung4223
    @varung4223 5 месяцев назад

    This content is awesome !!!!!

  • @ashish31416
    @ashish31416 2 месяца назад

    Love this!

  • @micbab-vg2mu
    @micbab-vg2mu 5 месяцев назад

    Great content - thank you for sharing:)

  • @dvx24
    @dvx24 5 месяцев назад

    Insane content. Thank you.

  • @slcpunk_
    @slcpunk_ 4 месяца назад

    Very helpful!

  • @alichch1241
    @alichch1241 5 месяцев назад

    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 3 месяца назад

      yea. He is basically building a wrapper around chat-gpt that does really specific task with more accuracy an efficiency .

  • @GarthVanSchalkwyk
    @GarthVanSchalkwyk 3 месяца назад

    Hi Dave does your company also make apps for math education. Where can we find details of your company

  • @bs_general
    @bs_general 5 месяцев назад

    @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  5 месяцев назад

      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.

  • @ce7882
    @ce7882 5 месяцев назад

    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!

  • @mzafarr
    @mzafarr 5 месяцев назад

    Won't it be same if I simply pass schema inside the system message rather than using instructorGPT/function calling thing?

  • @lLvupKitchen
    @lLvupKitchen Час назад

    How do you run py file line by line?

  • @comptedodoilya
    @comptedodoilya Месяц назад

    please how do you use the interactive python execution in vs code??

  • @bs_general
    @bs_general 5 месяцев назад

    Hi, thanks for this tutorial. But the Git repo is not available. It shows 404 error. Thanks

    • @daveebbelaar
      @daveebbelaar  5 месяцев назад

      Ah, it was still set to private. It's fixed now - thanks!

    • @bs_general
      @bs_general 5 месяцев назад

      @@daveebbelaar Yeah, its working now. Thanks 👍

    • @mulderbm
      @mulderbm 5 месяцев назад +1

      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!

  • @Vimalnarain
    @Vimalnarain 5 месяцев назад

    can we use it with runs as well

  • @redxcted_
    @redxcted_ Месяц назад

    is it just me or is it just always returning a confidence score of .9?

    • @daveebbelaar
      @daveebbelaar  Месяц назад +1

      Prompt it to be more specific E.g., give conditions on makes it a 0.5 or 0.9