NestJs And OpenAI's Chat Completion API

Опубликовано: 15 Март 2026
на канале: Computing Power
3,517
61

In this video, you will learn how to integrate NestJS (or another NodeJS framework/library) with OpenAI's Completion API, which is the same API used by ChatGPT and GPT4, by creating a REST API. For handling memory history, we will use LangchainJS in our project.
So, if you want to learn how to create a REST API and integrate a NodeJS codebase with OpenAI's Chat Completion API, then this video is for you

0:00 - Introduction + Demonstration
1:08 - Explain project
2:00 - Setup OpenAI account
3:00 - Setup code with NestJS
10:15 - Test integration
11:35 - Conclusion