In this video I add PHP sessions as an option to my ChatWTF ChatGPT clone so that you can use it without a database.
GitHub: https://github.com/unconv/chat-wtf
Support: https://buymeacoffee.com/unconv
Consultations: https://www.buymeacoffee.com/unconv/e...
Memberships: https://www.buymeacoffee.com/unconv/m...
00:00 Intro
01:51 Creating SQLConversation class
14:00 Updating message endpoint to use new class
16:46 Updating index.php to use new class
18:44 Testing new class
21:22 Debugging
26:26 It works!
26:55 Debugging title creation issue
29:25 Creating SessionConversation class
34:49 Testing & debugging session version
42:41 It works!
43:31 Adding setting for selecting storage type
46:37 Implementing ConversationInterface
52:17 Adding autoloading
53:06 Final testing & Outro
Смотрите видео ChatWTF: Using OOP and Interfaces to add PHP Sessions Option for Message Storage онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Unconventional Coding 07 Август 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 398 раз и оно понравилось 13 людям.