OpenAI's ChatGPT API First Look

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 61

  • @arinco3817
    @arinco3817 ปีที่แล้ว +2

    Absolutely brill James. Such exciting times! Really like how you break down the information when you demo stuff.
    On a bit of a tangent, I've been thinking recently, that the labels people told us when we were young (positive or negative) , are a bit like the initial prompt we give to a language model. In that these labels ground us at a certain perspective and colour our belief systems. Maybe what makes us human is that we can learn to set our own initial prompts ^^

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      that's interesting, we all have system prompts that set us up for future interaction, cool to hear parallels between how we work and how ML models work

  • @cloudshoring
    @cloudshoring ปีที่แล้ว +2

    One question that I had was if we want the model to remember the conversation thread, do we need to feedback the previous output in the messages list with the next question ? Have you checked this James? I am hoping that is not the case as may limit the prompt token size in a conversation?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      that would be the simplest approach, but there are other methods, langchain covers a few in their docs here langchain.readthedocs.io/en/latest/modules/memory/key_concepts.html

    • @cloudshoring
      @cloudshoring ปีที่แล้ว

      @@jamesbriggs Thanks for the info.

  • @broofya3805
    @broofya3805 ปีที่แล้ว +2

    Channels of your quality are rare! 💯

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      thanks I appreciate it 🙏

  • @humanist3
    @humanist3 ปีที่แล้ว

    Excellent video, I have read the release on OpenAI website, but it's way more useful to watch it in action like you demoed it, you are doing a great service for the AI community- Thank you.

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      glad to hear, can definitely do more like this

  • @ClaudeDjale
    @ClaudeDjale ปีที่แล้ว

    Thanks for the demo!

  • @SimonPilkington
    @SimonPilkington ปีที่แล้ว

    Thanks for this, fun to follow along. You have a new Patreon supporter 😊

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      Awesome, thanks a ton! :)

  • @farrael004
    @farrael004 ปีที่แล้ว +1

    Something was still confusing to me is if the token limit is per message or for the whole message history. To which case, do we need to pick and choose which messages to send to the API if there is a long conversation? Or is that done automatically through the API?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      actually it seems like max_tokens in this case is for the generated output only - usually it refers to the full context window (input + output tokens)

  • @abeechr
    @abeechr ปีที่แล้ว

    Thank you. Recommendation: Increase the audio volume of your recording.

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      thanks, I'm currently recording in a new location and still figuring out the dynamics - this is very helpful input

  • @mrdbourke
    @mrdbourke ปีที่แล้ว

    Love the shirt brother!!

  • @nodesignlaws
    @nodesignlaws ปีที่แล้ว

    how do you get that navy theme on colab?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว +1

      I use this chrome.google.com/webstore/detail/colab-themes/hledcfghfgmmjpnfkklcifpcdogjlgig
      the navy theme is night owl

  • @henkhbit5748
    @henkhbit5748 ปีที่แล้ว +1

    Thanks a ton for this quick video about the new OpenAI api👍 Really exiting times, so many new developents in LLM but also confusing which model to use or combining with other tools like Langchain, Pinecone, Cohere... and LLM model from meta LLAMA. Maybe OpenAI feels the heat of free LLAMA that they subsantially decrease the pricing...😇 Eeagerly waiting for the next video about this new api and for example finetune with your own documents...

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      yeah there's sooo much to cover, looking forward to sharing more

    • @opalkabert
      @opalkabert ปีที่แล้ว

      Adding to this comment, I am wondering if this is ideal for a use case where you have your own documents. Should we just use GPT for search or this API has an advantage in such use case?

    • @concernedindian144
      @concernedindian144 ปีที่แล้ว

      Adding to the comment, interesting take on llama causing openai to bring competitive pricing

  • @concernedindian144
    @concernedindian144 ปีที่แล้ว

    Hi James, brilliant video advice to upgrade your AV setup, this will add more “weight” to your videos 😀

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      thanks, I'm currently traveling so trying to find the balance between too little and too much equipment - the feedback is massively appreciated

  • @ruocaled
    @ruocaled ปีที่แล้ว

    One thing I found interesting while migrating is "system" has weaker instruction enforcement than "user" for some reason, quite the opposite what I imagined. If you put the typical "if you cannot answer base on context..." clause in system vs user, they produce totally different result!

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      that's interesting, I would've expected system to be stronger too - will try this out

    • @SimonPilkington
      @SimonPilkington ปีที่แล้ว

      Asking what tomorrow’s date is only works if you put in current date as user not system, strange

  • @geekyprogrammer4831
    @geekyprogrammer4831 ปีที่แล้ว +8

    You really deserve a lot more viewers than you have

  • @mikemike8484r
    @mikemike8484r ปีที่แล้ว

    I have no idea what's happening here, when I run this code I get nothing from the output

  • @dreamphoenix
    @dreamphoenix ปีที่แล้ว

    Thank you.

  • @pubfixture
    @pubfixture ปีที่แล้ว

    If I had to pick who I want to get my AI information from, it is definitely a guy who looks like a footballer, in a Hawaiian shirt. Great vids, thx!

  • @AP-hv5dh
    @AP-hv5dh ปีที่แล้ว

    Thank you James. Great content as usual!

  • @ainanirina758
    @ainanirina758 ปีที่แล้ว

    Does it work with node or npm?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      yeah you can do direct HTTP requests

  • @hamzakivideo
    @hamzakivideo ปีที่แล้ว

    Qq: how do I embed a larger corpus , do I break it into chunks ? Say I have 5 long articles and I'd like to create embeddings to compare their similarity - what do you suggest I do?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      it's best to break into chunks yes, you can follow something like what I did here th-cam.com/video/ocxq84ocYi0/w-d-xo.html

  • @RalphDratman
    @RalphDratman ปีที่แล้ว

    Very helpful. Thanks!

  • @cloudshoring
    @cloudshoring ปีที่แล้ว

    comparing your UI-based ChatGPT Vs Your API test outcomes looks like the generative output content size is shorter. perhaps the API model is to facilitate short-form content suitable for conversational applications...

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      I think one approach that may work is to encourage the model to provide longer answers in the initial "system" message, but I haven't tested yet

    • @cloudshoring
      @cloudshoring ปีที่แล้ว

      @@jamesbriggs Yes. That may work.

  • @hilal53426
    @hilal53426 ปีที่แล้ว

    Great content as usual!

    • @hilal53426
      @hilal53426 ปีที่แล้ว

      I have just enrolled in your Udemy course, looking forward to completing it as soon as possible.

  • @billykotsos4642
    @billykotsos4642 ปีที่แล้ว

    you have the coolests shirts man! they rock !

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      time to get more of these shirts!

  • @guocity
    @guocity ปีที่แล้ว

    can you show how it work with langchain?

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว +1

      yeah working on some conversational AI videos w/ langchain

  • @kd8691
    @kd8691 ปีที่แล้ว

    Anyone know why I get this error?
    AttributeError: module 'openai' has no attribute 'openai_response'

    • @jamesbriggs
      @jamesbriggs  ปีที่แล้ว

      can you do `pip install -U openai` and try again?

    • @kd8691
      @kd8691 ปีที่แล้ว

      @@jamesbriggs Tried it, used pip show - I have latest open ai and Python 3.9 (Spyder)
      I think it's possibly to do with how my environment is set up. I've since migrated everything to VsCode and it works fine. I haven't read anywhere that it's incompatible with Spyder so the environment and overall set up is the only thing I can think that's causing the issue

  • @AIwithOliver
    @AIwithOliver ปีที่แล้ว

    awesome

  • @newtechnology9186
    @newtechnology9186 ปีที่แล้ว

    nice man

  • @ILAN12346
    @ILAN12346 ปีที่แล้ว

    The response of gpt3 davincii feels more natural and unrestrictet i think, say its an Turing-Test Environment improves a litte over the "iam a llm blahblah"

  • @noahguillen7939
    @noahguillen7939 ปีที่แล้ว

    🤯🔥

  • @wilfredomartel7781
    @wilfredomartel7781 ปีที่แล้ว

    👏👏👏