Prompting, RAG, agents, evaluation and building products with LLMs.
1 week ago
1. Split your docs into chunks of ~500 tokens with some overlap. 2. Embed each chunk and store it (Postgres + pgvector is enough to start). 3. At question time, embed the question and fetch the top 5