{"id":13622003,"url":"https://github.com/mayooear/langchain-js-tutorial","last_synced_at":"2025-05-08T23:43:09.301Z","repository":{"id":115446421,"uuid":"607943780","full_name":"mayooear/langchain-js-tutorial","owner":"mayooear","description":"LangChain beginner's tutorial for javascript/typescript","archived":false,"fork":false,"pushed_at":"2023-03-01T01:46:32.000Z","size":5121,"stargazers_count":185,"open_issues_count":2,"forks_count":67,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T23:43:02.561Z","etag":null,"topics":["gpt3","javascript","langchain","llm","openai","typescript"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=bH722QgRlhQ","language":"TypeScript","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/mayooear.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,"roadmap":null,"authors":null}},"created_at":"2023-03-01T01:40:08.000Z","updated_at":"2025-04-16T01:02:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"aeaee631-91e5-4807-8b4d-e60e03d82de6","html_url":"https://github.com/mayooear/langchain-js-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayooear%2Flangchain-js-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayooear%2Flangchain-js-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayooear%2Flangchain-js-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayooear%2Flangchain-js-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayooear","download_url":"https://codeload.github.com/mayooear/langchain-js-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166474,"owners_count":21864467,"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":["gpt3","javascript","langchain","llm","openai","typescript"],"created_at":"2024-08-01T21:01:12.841Z","updated_at":"2025-05-08T23:43:09.264Z","avatar_url":"https://github.com/mayooear.png","language":"TypeScript","readme":"# Langchain Tutorial For Typescript and Javascript Developers\n\n- [LangChain typescript tutorial video](https://www.youtube.com/watch?v=bH722QgRlhQ)\n- The visual explanation diagram is in the `visual-image` folder.\n\n## What is Langchain?\n\nIn simple terms, langchain is a framework and library of useful templates and tools that make it easier to build large language model applications that use custom data and external tools.\n\nEssentially, langchain makes it easier to build chatbots for your own data and \"personal assistant\" bots that respond to natural language.\n\n## Quick install\n\nAfter you clone the repo, follow these instructions:\n\n1. Install packages\n   `npm install`\n\n2. Add OpenAI, Pinecone and SerpApi keys as environment variables\n\n- create a `.env` file in the root of the folder\n- copy the environmental variables from `.env.example` into `.env` and replace with the keys from respective websites\n  - [openAI](https://platform.openai.com/account/api-keys).\n  - [serpAPI](https://serpapi.co)\n  - [Pinecone](https://www.pinecone.io/)\n\n## Usage\n\nTo run a specific example in the repo, simply run the bash script below and replace \"examplePath\" with the relative path from src/index.ts to the example file:\n\n`npm run start {examplePath}`\n\nFor example:\n\n`npm run start ./prompts/basic.ts`\n\n## Resources\n\n- [LangChainDocs](https://hwchase17.github.io/langchainjs/docs/overview)\n- [PineconeDocs](https://docs.pinecone.io/docs/node-client)\n\n## Credit\n\nThis repository heavily borrows from:\n\n- [LangchainJS](https://github.com/hwchase17/langchainjs) - official langchain library\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayooear%2Flangchain-js-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayooear%2Flangchain-js-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayooear%2Flangchain-js-tutorial/lists"}