Vectors in SQLite! (with libSQL)

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

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

  • @uquantum
    @uquantum 2 дня назад +1

    Fantastic, thanks for sharing! Love the code-a-long with useful AI-related use of vectors in sqLite!

  • @ylynfatt
    @ylynfatt 29 дней назад +25

    I'm interested in learning more about the Laravel Driver for Turso LibSQL.

  • @OnlinePseudonym
    @OnlinePseudonym 29 дней назад +9

    Great.... Now to learn what an embedding is!

  • @goaserer
    @goaserer 29 дней назад +10

    Wait, this AI stuff can be used for actual useful things. Nice video btw

  • @vedovelli
    @vedovelli 28 дней назад +1

    I am super eager to start using Turso to power my SaaS but I simply can't because the PHP extension won't work with Herd. That's a bummer. Great video, thank you!

  • @nullzeon
    @nullzeon 28 дней назад

    man these vids are so good, ever since you got me into Laravel I've been hooked on this channel (a Turso driver for Laravel sounds sooo cool, hopefully we get a vid 👀)

  • @villainhd17
    @villainhd17 28 дней назад

    Awesome video! 🔥 It's amazing, I've been wanting to use Turso for my project but can't because of the missing driver 😢 Super interested in the driver you're working on! Keep up the great work! 🙌

  • @x7ryan
    @x7ryan 28 дней назад

    Yes, I've been waiting for a Turso Eloquent driver!

  • @EinLinuus
    @EinLinuus 28 дней назад

    Awesome! Really interested in the driver, definitely want to try this out. Great video as always 🎉

  • @stefanadams3077
    @stefanadams3077 29 дней назад +1

    This was great! I'm interested in learning more from you about what vectors are and what that has to do with a database. In general, I think you explained your objective very well and this was a fantastic subject matter using OpenAI. I just struggled to keep up with what OpenAI was used for and what vectors are.
    Would you run your OpenAI query and create your indexes on every page load, or would you have a separate scheduled job to do that as needed / on a schedule?

  • @notrab
    @notrab 29 дней назад +2

    Awesome video Aaron!

  • @parfitt4
    @parfitt4 29 дней назад

    Fantastic video. Can’t wait to try something like this.

  • @drantunes
    @drantunes 29 дней назад +2

    For a new article, you need re-generate all embeddings? Curiosity: how much did it cost to generate these embeddings?

    • @heyjorgedev
      @heyjorgedev 29 дней назад +4

      When you add a new article you can generate the embeddings for that new article. You don’t need to regenerate everything

  • @AhmedSalah-xm9xu
    @AhmedSalah-xm9xu 29 дней назад +4

    I am interested in the driver aswell

  • @ktwalri
    @ktwalri 28 дней назад

    Very interested in a good Laravel Turso driver. The current driver doesn’t work for multiple libsql database connections. The app I’m paying Tighten to develop for me uses a mix of SQLite, Turso and MySQL databases. Turso databases use embedded replicas. Turso databases are per user while SQLite databases are local to the app instance. Laravel really needs a first class driver ready for production in real multi-tenant applications. Looking forward to trying your Turso driver for Laravel.

  • @karlismillers706
    @karlismillers706 21 день назад

    Hi! Fantastic content! I'm definitely interested in the Laravel LibSQL driver.

  • @RodyDavis
    @RodyDavis 26 дней назад

    This is so awesome!

  • @mobythereal
    @mobythereal 28 дней назад

    you should make an event listener to get the embedding when a new article is created.

  • @RicardoVargas03
    @RicardoVargas03 21 день назад

    Great video!

  • @LenWoodward
    @LenWoodward 29 дней назад

    Very interested in the Laravel driver. Shipping some new things soon, and we're already on sqlite, but we want all these libsql benefits in a managed way.

  • @bobby_builds
    @bobby_builds 14 дней назад

    What code editor are you using? It looks really nice and minimal

  • @i_Amazin_
    @i_Amazin_ 20 дней назад

    100% interested in a libsql driver for Laravel. The current one is… not super easy to use.
    Need to make it easily installable on prod machines as well

  • @curtisgmchale
    @curtisgmchale 29 дней назад +1

    I just tried to get the RSS feed from your site and not only is the content old, it isn't even all your content. Is there an RSS feed available that gives me everything?

  • @Defqon1612
    @Defqon1612 28 дней назад

    Why would Eloquents' updateOrCreate not work for the upsert in SQLite?

  • @thomas2448
    @thomas2448 29 дней назад

    Definitely interested in the Laravel driver for libSQL!

  • @maxicms4052
    @maxicms4052 27 дней назад

    Thanks very interested in Turso and your new libsql laravel driver.

  • @discoverlance
    @discoverlance 27 дней назад

    I know there's already a laravel driver for libsql even mentioned in their official docs on turso, or is it not good enough?

  • @AbegazNap
    @AbegazNap 29 дней назад

    amazing video, what a lad

  • @spicynoodle7419
    @spicynoodle7419 29 дней назад +1

    Yay for a Laravel driver

  • @roeyco83
    @roeyco83 18 дней назад

    very cool... can't believe the MySQL teams doesn't promote vector search when even sqlite do 🤦‍♂

  • @nicobaier5424
    @nicobaier5424 29 дней назад +1

    You mention a link to a video about the sqlite backend for your website - don't see it in the description!

    • @aarondfrancis
      @aarondfrancis  29 дней назад +1

      Shoot, right you are! ruclips.net/video/QiocnnlcXIU/видео.html

    • @nicobaier5424
      @nicobaier5424 27 дней назад

      @@aarondfrancis Thanks!

  • @aryzen2781
    @aryzen2781 10 дней назад

    how would you do 1 sqlite db per user. can you do a video on that

  • @balduin_b4334
    @balduin_b4334 29 дней назад +1

    How necessary do you think is recalculating the embedding on blog edits? Unless the user is an idiot (last time I checked they mostly are) they wouldn't rewrite an entire different article in an existing one.
    -- Maybe only do it when the title changes or something

  • @daniel_petrica
    @daniel_petrica 28 дней назад

    I'm interested in the Laravel driver

  • @TheMaxiviper117
    @TheMaxiviper117 29 дней назад

    The text embeddings have a real utility other than being used for AI, a lot of applications.

  • @Ruhigengeist
    @Ruhigengeist 28 дней назад

    It kinda bothers me that you align your Heredocs at the left gutter, you don't need to do that! Since PHP 7.3, you can indent your heredocs, and as long as the closing marker matches the indentation of all the content, it will strip that much indentation from each line of content. It's muuuch nicer!

    • @aarondfrancis
      @aarondfrancis  27 дней назад

      Just a matter of preference. You do you

    • @Ruhigengeist
      @Ruhigengeist 27 дней назад

      @@aarondfrancis 😲 you actually prefer it on the left gutter? Why? I find that surprising, everyone I've mentioned this to just didn't realize it was possible

    • @aarondfrancis
      @aarondfrancis  27 дней назад

      @@Ruhigengeist indeed!

  • @HappyDancerInPink
    @HappyDancerInPink 29 дней назад

    It's buggy

    • @aarondfrancis
      @aarondfrancis  27 дней назад

      ... go on

    • @HappyDancerInPink
      @HappyDancerInPink 27 дней назад

      I encountered a sorting error with a pretty simple libsql query that was unhandled. It was in production for a startup so I didn't have time to dig into it, just had to migrate to sqlite again. I get that it's open source, and I should open a PR yada yada... But Turso make money off this thing and purposely make documentation for using libsql opaque so you'll use their paid service. The stability of sqlite is a selling point yet my experience is it's not ready for production.