LangChain.js-LLM-Template icon indicating copy to clipboard operation
LangChain.js-LLM-Template copied to clipboard

This is a LangChain LLM template that allows you to train your own custom AI LLM.

Results 3 LangChain.js-LLM-Template issues
Sort by recently updated
recently updated
newest added

Required to run on Replit. Haven't tested on local or other hosts.

**const mySecret = process.env['OPENAI_API_KEY']** const store = await HNSWLib.fromTexts( docs, docs.map((_, i) => ({ id: i })), new OpenAIEmbeddings({ openAIApiKey: process.env.OPENAI_API_KEY }) )