Перейти к содержимому

NestJs And OpenAI's Chat Completion API

Computing Power

0:00 / 0:00

NestJs And OpenAI's Chat Completion API

3 661 просмотр · 3 г. назад
Computing Power
2,04 тыс. подписчиков
3 661 просмотр · 3 г. назад
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