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
Simple and clear, thanks a ton.
Nice to see the Ruby tooling coming along so strongly
pg_vector convener to use, I like it
Awesome video!
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.
Fuckinf awesome 😊
Hi CJ - whats the starting part of it? Do you do a "rails new appname"? Do you use an existing one?
🥰