in

How to build a AI for language learning: LangChain + OpenAI + Python + Next JS – Part 1



Recently, I have spent some time on learning LangChain and use it to build a AI to help English language learners to generate learning materials just by one click. I feel like this might be helpful to share the experience with people online who are interested in coding.

This is the first part of the tutorials to learn how to build the website with different techniques including LangChain, OpenAI, Python Fast API, Next JS(create t3 app), and Python Message queue(Celery, Redis) and Dockerization for deployment and etc.

In this video, we will focus on how to integrate Fast API in python and how to integrate the Langchain library to call openAI to generate the translation for each paragraph of the article.

website: https://language-learning.kk-tech-zone.com/
github: https://github.com/Jackson-KK/english-learning-materials-gen-ai
langchain: https://python.langchain.com/en/latest/getting_started/getting_started.html
fastapi: https://fastapi.tiangolo.com/tutorial/

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 – Introduction
1:33 – Design of the website in Diagrams
4:54 – First python API endpoint using FastAPI
8:00 – LangChain library
15:00- Functionality of getting translations

#langchain #ai #coding #nextjs #nodejs #python #openai #course

Mystery Deepens as Super Powerful AI Appears, Then Disappears

Mystery Deepens as Super Powerful AI Appears, Then Disappears

Sam Altman says helpful agents are poised to become AI’s killer function

Sam Altman says helpful agents are poised to become AI’s killer function