Home/Model Training/LangChain.js-LLM-Template
LangChain.js-LLM-Template logo

LangChain.js-LLM-Template

archived
IroncladDev/LangChain.js-LLM-Template

LangChain LLM template to train custom AI models

GraphCanon updated today · GitHub synced today

331
Stars
50
Forks
3
Open issues
0
Watchers
3y
Last push
JavaScriptCreated Feb 24, 2023

Trust & integrity

Full report
Maintenance
Archived (1196d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

This repository provides a template for training your own custom Language Model using LangChain, primarily in JavaScript.

Capability facts

MCP server
No MCP server detected

Source: repo_scan · Jul 11, 2026

Languages
javascript

Source: github.language+package.json · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

LangChain integrationLangChain

Source: README excerpt (regex_v1, Jul 11, 2026)

# LangChain.js LLM Template
Source link
OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Jul 11, 2026)

2. Add your OpenAI API key in environment vars via the kay `OPENAI_API_KEY`.
Source link

Tags

README

LangChain.js LLM Template

This is a LangChain LLM template that allows you to train your own custom AI model on any data you want.

Setup

  1. Provide all the information you want your LLM to be trained on in the training directory in markdown files. Folder depth doesn't matter.
  2. Add your OpenAI API key in environment vars via the kay OPENAI_API_KEY.
  3. Run yarn train or npm train to set up your vector store.
  4. Modify the base prompt in lib/basePrompt.js
  5. Run index.js, and start playing around with it!

Source code: https://github.com/Conner1115/LangChain.js-LLM-Template