This is a LangChain LLM template that allows you to train your own custom AI model on any data you want.
training
directory in markdown files. Folder depth doesn't matter.OPENAI_API_KEY
.yarn train
or npm train
to set up your vector store.lib/basePrompt.js
Source code: https://github.com/Conner1115/LangChain.js-LLM-Template