Save LLM ChatHistory using NodeJS + MySQL

Опубликовано: 06 Апрель 2026
на канале: Computing Power
701
18

In this video, we're going to persist an LLM chat history like GPT4 using a NodeJS with NestJS application, PrismaORM, and a MySQL database

#ai #javascript #nestjs #llm #openai #database #chatgpt #software #typescript #code #mysql #prismajs #orm #db #nodejs

0:00 - Introduction
01:00 - Project diagram
03:54 - Show existing project codebase
04:55 - Test REST API + show issue
06:55 - Create MySQL DB using Dbeaver client
08:51 - install and use PrismaJS
11:14 - Define Schema for PrismaJS
14:08 - Connect code to MySQL using PrismaJS
16:55 - Update ChatCompletionAPI to use PrismaJS and MySQL
31:40 - Test REST API with MySQL
35:00 - Conclusion