{"id":13593091,"url":"https://github.com/IroncladDev/LangChain.js-LLM-Template","last_synced_at":"2025-04-09T02:32:29.062Z","repository":{"id":132830736,"uuid":"606245159","full_name":"IroncladDev/LangChain.js-LLM-Template","owner":"IroncladDev","description":"This is a LangChain LLM template that allows you to train your own custom AI LLM.","archived":true,"fork":false,"pushed_at":"2023-04-01T13:40:55.000Z","size":6878,"stargazers_count":326,"open_issues_count":3,"forks_count":48,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-01T19:57:49.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IroncladDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-24T23:46:26.000Z","updated_at":"2025-01-28T18:07:02.000Z","dependencies_parsed_at":"2023-07-27T19:41:34.123Z","dependency_job_id":null,"html_url":"https://github.com/IroncladDev/LangChain.js-LLM-Template","commit_stats":null,"previous_names":["ironcladdev/langchain.js-llm-template","conner1115/langchain.js-llm-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IroncladDev%2FLangChain.js-LLM-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IroncladDev%2FLangChain.js-LLM-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IroncladDev%2FLangChain.js-LLM-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IroncladDev%2FLangChain.js-LLM-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IroncladDev","download_url":"https://codeload.github.com/IroncladDev/LangChain.js-LLM-Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247965662,"owners_count":21025413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:16.499Z","updated_at":"2025-04-09T02:32:24.044Z","avatar_url":"https://github.com/IroncladDev.png","language":"JavaScript","funding_links":[],"categories":["工具","JavaScript"],"sub_categories":["模板"],"readme":"# 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\n\n[![Run on Replit](https://user-images.githubusercontent.com/50180265/221977287-4622854b-8c89-4f75-81af-eee6058a20fa.png)](https://replit.com/@IroncladDev/LangChainjs-LLM-Template?v=1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIroncladDev%2FLangChain.js-LLM-Template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIroncladDev%2FLangChain.js-LLM-Template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIroncladDev%2FLangChain.js-LLM-Template/lists"}