- Published on
Build a simple RAG system in Node.js with OpenAI and plain text files. No vector database, no embeddings: pass docs into the model and get answers.
Tutorials for building with ChatGPT and the OpenAI API in JavaScript, from chat completions to retrieval-augmented generation (RAG).