markjgsmith

Linkblog

PDF Chat with Node.js, OpenAI and ModelFusion - Tutorial on how to create a ChatGPT bot to ask questions about a specific PDF. This demistified things quite a bit for me. There isn't that much to it. Parse the PDF, split text into chunks, add to a vector index, create chatbot that uses the vector index to get answers to user questions. There's a lot of complicated sounding words, but overall it's not that difficult, it's just the API has a very different shape to what I'm used to. Also this is a classic example of Typescript making it harder to learn something basic. IMHO, it's totally unnecessary in this context. modelfusion.dev #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.