OpenAI API Structured Outputs For Finance

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 32

  • @parttimelarry
    @parttimelarry  Před měsícem +8

    Colab Notebook: colab.research.google.com/drive/1uRbaePS1_YnxSRoHK5LKmpneodwEuqFL#scrollTo=4qkdslxC8e0K
    My upcoming Build In Public project: fintrack.ai
    0:00 Introduction
    1:53 Fintrack.ai
    2:20 Extracting a List of Related Companies
    5:33 Pydantic Models and Responses
    7:21 Extracting a List of Company Objects with Tickers and Commentary
    9:37 Wrapping Up

  • @kevinz1991
    @kevinz1991 Před 17 dny +1

    awesome video. thanks for sharing the notebook too

  • @filmfranz
    @filmfranz Před měsícem +6

    Great seeing you adding colabs! ❤🎉

  • @macrobody
    @macrobody Před měsícem +4

    Good to see you are back. I hope you had a great time in Europe.

  • @bastabey2652
    @bastabey2652 Před měsícem

    OpenAI turned adhoc prompting into precise programming... if this reliably works, it is a significant boost for building AI application.. bravo to those passionate and brilliant OpenAI engineers

  • @cnaccio
    @cnaccio Před 22 dny +1

    Love this kind of content!

  • @therealjohnshelburne
    @therealjohnshelburne Před 27 dny +1

    Holy Fck! This possibly disrupts the market data monopolies

  • @TheBootstrappedFounder
    @TheBootstrappedFounder Před 12 dny +1

    Ooooh, this is REALLY cool 🥰

    • @parttimelarry
      @parttimelarry  Před 12 dny +1

      Love your podcast and podscan :)

    • @TheBootstrappedFounder
      @TheBootstrappedFounder Před 12 dny +1

      @@parttimelarry I appreciate that so much! Can't wait to see what you'll be building. If you ever run into issues, hit me up!

  • @eyalkeren7691
    @eyalkeren7691 Před měsícem +2

    Thanks!

  • @CAMILOH
    @CAMILOH Před 28 dny +1

    Finally a good explanation and demonstration thanks

  • @VanCliefMedia
    @VanCliefMedia Před měsícem

    This is brilliant work! I'm excited to see if we can have it return high level strings or objects that are then sent to a kernel or agent that calls functions based on that output. Its wild to have 100% schema accuracy with something like an LLM and can see a lot of wild use cases coming from this in the following months

  • @SumedhKadoo
    @SumedhKadoo Před měsícem +1

    Thank you for the video

  • @HaiLe-zp8ot
    @HaiLe-zp8ot Před měsícem

    nice done man, thanks

  • @saudiad
    @saudiad Před měsícem +6

    Why don't you focus more on freqAi? It's easier to use and ready, and you can improve it. You have a lot of passion, and we are expecting a lot from you.

    • @parttimelarry
      @parttimelarry  Před měsícem +7

      Hey I may do a video on freqAI at some point, but most of my work is focused on LLMs and equities at the moment. I try to cover a broad range of financial tech and just go with what I find interesting at the time. If I do anything with crypto, it would probably be about Polymarket / prediction markets.

    • @harpalsinhjadeja2568
      @harpalsinhjadeja2568 Před měsícem +2

      @@parttimelarryI would love a video on Polymarket

  • @eltoroloco28
    @eltoroloco28 Před 28 dny +1

    welcome back!

  • @MLAlgoTrader
    @MLAlgoTrader Před 27 dny +1

    Nice video. Glad to see you are using NVDA money for vacation :). Just joking!

  • @mehranhejazi-x4h
    @mehranhejazi-x4h Před měsícem +2

    cool idea

  • @chrisweeks8789
    @chrisweeks8789 Před měsícem

    lmao he's back!!!!!!!!!!!

  • @Brian-hs7md
    @Brian-hs7md Před měsícem +2

    Just found your channel. Really great niche. Do you know of any other channels/sites that have a similar AI/Trading focus?

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před měsícem

    this kind of reminds me of function calling, given how you get back from the LLM the correct arguments to send to the function that you want to call. is there a difference here from structured output?

  • @Cesar-nl5zd
    @Cesar-nl5zd Před 28 dny

    Could anyone briefly explain to me what this fintrack project consists of? I haven't really understood

  • @youwang9156
    @youwang9156 Před měsícem

    wondering what's the difference between this and using function calling with gpt4o, I feel like gpt4o with function calling is already relatively stable, hard to come up with any error. in fact , it just never happened so far

  • @agentDueDiligence
    @agentDueDiligence Před měsícem

    Hey Larry,
    this is actually not that much of a revolution... Take a look at the instructor library and you will find, that the achievable results are same!
    Also, latency is higher with the strict outputs of openai.

    • @parttimelarry
      @parttimelarry  Před měsícem +6

      Hey yes I've been using Instructor for a long time now so am aware (I left one of the first comments on the "Pydantic is all you need" video/talk that is on CZcams since I quite liked it).. I didn't say anything was a revolution or that anything is mind-blowing like people on Twitter, just try things out and share :)

    • @agentDueDiligence
      @agentDueDiligence Před měsícem

      ​@@parttimelarry Right!
      Thanks for sharing anyways!
      By the way, in this context, I have a question for you.. maybe you have some opinion?
      We are building something with instructor and those strict outputs. We are arguing internally, if the "forceful" output structuring may actually hurt the LLMs ability to perform well in certain situations.
      I mean, yes - we get perfect outputs which can be processed in code afterwards, but the output was generated forcefully and in some cases (like categorizing data) the LLM might have had to hallucinate to make that strict output happen.
      What do you think abou that?

  • @Wadekapc7
    @Wadekapc7 Před 25 dny

    Another string parser in a language that is over hyped.

  • @ahmedbadal3795
    @ahmedbadal3795 Před měsícem

    bro left us and comeback well dont