# Tweets From Assaf Elovic ![rw-book-cover](https://pbs.twimg.com/profile_images/1517899482121256961/wPhFekEv.jpg) ## Metadata - Author: [[@assaf_elovic on Twitter]] - Full Title: Tweets From Assaf Elovic - Category: #tweets - URL: https://twitter.com/assaf_elovic ## Highlights - Talk to your PDF with @LangChainAI using just 10 lines of code. Here's the breakdown: 1. Load the PDF file. 2. Split the document into smaller chunks. 3. Embed each chunk using OpenAI's ada model. 4. Store the embeddings in an in-memory Faiss Vector DB. 5. Ask questions about the PDF. #gpt #generativeai #langchain #pdf ([View Tweet](https://twitter.com/assaf_elovic/status/1667772622052917251))