{"data":{"slug":"ironcladdev-langchain-js-llm-template","name":"LangChain.js-LLM-Template","tagline":"LangChain LLM template to train custom AI models","github_url":"https://github.com/IroncladDev/LangChain.js-LLM-Template","owner":"IroncladDev","repo":"LangChain.js-LLM-Template","owner_avatar_url":"https://avatars.githubusercontent.com/u/50180265?v=4","primary_language":"JavaScript","stars":330,"forks":49,"topics":[],"archived":true,"github_pushed_at":"2023-04-01T13:40:55+00:00","maintenance_label":"Archived","stars_delta_30d":-1,"url":"https://www.graphcanon.com/tools/ironcladdev-langchain-js-llm-template","markdown_url":"https://www.graphcanon.com/tools/ironcladdev-langchain-js-llm-template.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/ironcladdev-langchain-js-llm-template","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=ironcladdev-langchain-js-llm-template","description":"This is a LangChain LLM template that allows you to train your own custom AI LLM.","homepage_url":null,"license":null,"open_issues":2,"watchers":0,"ai_summary":"This repository provides a template for training your own custom Language Model using LangChain, primarily in JavaScript.","readme_excerpt":"# LangChain.js LLM Template\n\nThis is a LangChain LLM template that allows you to train your own custom AI model on any data you want.\n\n## Setup\n1. Provide all the information you want your LLM to be trained on in the `training` directory in markdown files.  Folder depth doesn't matter.\n2. Add your OpenAI API key in environment vars via the kay `OPENAI_API_KEY`.\n3. Run `yarn train` or `npm train` to set up your vector store.\n4. Modify the base prompt in `lib/basePrompt.js`\n5. Run index.js, and start playing around with it!\n\nSource code: https://github.com/Conner1115/LangChain.js-LLM-Template","github_created_at":"2023-02-24T23:46:26+00:00","created_at":"2026-07-11T10:47:48.174765+00:00","updated_at":"2026-08-15T00:01:34.734258+00:00","categories":[{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"custom-ai-models","name":"custom ai models"},{"slug":"javascript","name":"javascript"},{"slug":"llm-template","name":"llm template"}],"trust":{"provenance":{"is_fork":false,"github_id":606245159,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-15T00:01:33.640Z","maintenance":{"label":"Archived","score":8,"methodology":"github_public_v1","releases_90d":0,"days_since_push":1231,"last_release_at":null,"stars_delta_30d":-1,"open_issues_delta_30d":-1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:47:49.841Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-08-15T00:01:34.151Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-08-15T00:01:34.151Z"},"languages":{"value":["javascript"],"source":"github.language+package.json","observed_at":"2026-08-15T00:01:34.151Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Requires OpenAI API access for LLM training purposes via an API key.","Setup requires running yarn or npm commands for installation and training processes."]},"constraints":null,"when_to_use":["When you prefer using JavaScript to develop your model training pipeline.","For projects where markdown files can effectively capture the data needed for your model's training set.","If your development environment already uses npm or yarn, making integration seamless."],"when_not_to_use":["If you require a platform that supports multiple languages beyond JavaScript for flexibility.","In cases where complex preprocessing of train data cannot be easily managed through markdown files.","When dealing with very sensitive data and needing to keep API key management out-of-band, as the README suggests using environment variables."],"source":"enrich:decision_facts","observed_at":"2026-07-11T22:50:58.455Z"},"constraint_facets":null,"decision_summary":[{"label":"Requirements","value":"Requires OpenAI API access for LLM training purposes via an API key.; Setup requires running yarn or npm commands for installation and training processes."},{"label":"Adopt for","value":"LangChain.js-LLM-Template is a JavaScript-based tool for training custom AI language models that stands out with its straightforward setup and vector store utilization."}]}}