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-chatbot-with-ruby-on-ra...   https://github.com/ankane/neighbor https://github.com/andreibondarev/lan... https://github.com/andreibondarev/lan... https://github.com/IAPark/tiktoken_ruby https://stdgems.org/matrix/    / @rabbitholesyndrome      / @jamesbriggs      • Using pinecone vector db from Rails with O...   #rubyonrails #openai #rails