Semantic search (search by meaning) - Rails, OpenAI, langchain.rb, pg_vector

Тәжірибелік нұсқаулар және стиль

In this video, you'll learn how to use tools like OpenAI, LangChain.rb, and Postgres with pgVector to build semantic search for a Rails app, breaking content into chunks, generating embeddings for each chunk with OpenAI, storing those in Postgres, and then using nearest neighbor search to find relevant chunks for a search query. This allows searching by meaning rather than just matching text exactly.
/ how-to-build-an-ai-cha...
github.com/ankane/neighbor
github.com/andreibondarev/lan...
github.com/andreibondarev/lan...
github.com/IAPark/tiktoken_ruby
stdgems.org/matrix/
/ @rabbitholesyndrome
/ @jamesbriggs
• Using pinecone vector ...
#rubyonrails #openai #rails

Пікірлер: 8

  • @cmthimmaiah
    @cmthimmaiahАй бұрын

    Simple and clear, thanks a ton.

  • @drnicwilliams
    @drnicwilliams7 ай бұрын

    Nice to see the Ruby tooling coming along so strongly

  • @diadora1166
    @diadora11667 ай бұрын

    pg_vector convener to use, I like it

  • @stewartglover5166
    @stewartglover51667 ай бұрын

    Awesome video!

  • @hugovillero6934
    @hugovillero69343 ай бұрын

    Nice video. Thanks. One question I'm impressed with is your VIM setup for rails. Is that NeoVim? Where can I find a guide to configure it that way for Mac? Thanks again.

  • @cocoarecords
    @cocoarecords7 ай бұрын

    Fuckinf awesome 😊

  • @RiccardoCarlessoGoogle
    @RiccardoCarlessoGoogle6 ай бұрын

    Hi CJ - whats the starting part of it? Do you do a "rails new appname"? Do you use an existing one?

  • @PosturaCorretta
    @PosturaCorretta6 ай бұрын

    🥰

Келесі