https://github.com/inigomarquinez/learning-langchain
📚 LangChain: Develop AI web-apps with JavaScript and LangChain (Udemy).
https://github.com/inigomarquinez/learning-langchain
ai iac langchain learning udemy
Last synced: about 1 month ago
JSON representation
📚 LangChain: Develop AI web-apps with JavaScript and LangChain (Udemy).
- Host: GitHub
- URL: https://github.com/inigomarquinez/learning-langchain
- Owner: inigomarquinez
- License: mit
- Created: 2024-06-10T19:02:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T15:21:42.000Z (11 months ago)
- Last Synced: 2024-10-06T14:41:59.759Z (7 months ago)
- Topics: ai, iac, langchain, learning, udemy
- Language: JavaScript
- Homepage:
- Size: 9.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Learning LangChain
This repository hosts the code made during the course [LangChain: Develop AI web-apps with JavaScript and LangChain](https://www.udemy.com/course/langchain-develop-ai-web-apps-with-javascript-and-langchain/), from Udemy.
The course teaches you how to build AI applications using [Langchain](https://langchain.org/) and [OpenAI's API](https://openai.com/api/) with [Next.js](https://nextjs.org/).
The initial base code for the course is provided in [this repository](https://github.com/shawnesquivel/openai-javascript-course/tree/1-start-here).
## 🚩 Requirements
To run this project, some API keys are required:
- [OpenAI API key](https://platform.openai.com/api-keys)
- [Pinecone API key and index](https://app.pinecone.io/)
- [SerpAPI API key](https://serpapi.com/)## ⚙️ Environment Variables
```
OPENAI_API_KEY=your-openai-api-key
SERPAPI_API_KEY=your-serpapi-api-key
PINECONE_API_KEY=your-pinecone-api-key
PINECONE_ENVIRONMENT=your-pinecone-environment
PINECONE_INDEX=your-pinecone-index
```## Getting Started
To get started, install the dependencies from package.json:
```
npm install
```Then, run the development server:
```
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the app.
## Course Outline
This course covers the following topics:
Introduciton to AI with JavaScript
- How to setup Open AI API
- Build a PDF chatbot
- Learn to use AI tools from Langchain
- Automate Social Media Content generation
- Deploying a Langchain app for FREEEach topic has code examples and exercises to help you learn!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
## 🔗 Useful links
- [Notion Course Texbook](https://weeknightsandweekends.notion.site/Langchain-JS-Course-Dashboard-1ebe2de6cb0c4749ad63ff1ccfe588a0)
- [Tailwind Cheat Sheet](https://nerdcave.com/tailwind-cheat-sheet)
- [LangChain documentation for JavaScript](https://js.langchain.com/v0.2/docs/introduction/)
- [LangChain Discord channel](https://discord.com/invite/HqEJZGGt97)
- [LangChain KapaAI](https://discord.com/invite/YGAu3Yt2sm)
- [Official LangChain Discord](https://discord.com/invite/sAxW255VgA)
- [OpenAI API documentation](https://platform.openai.com/docs/)