Модуль інтеграції вебзастосунків із штучним інтелектом
Автор
Мартинюк, Т. Б.
Войцеховська, О. В.
Городецька, О. С.
Рижков, А. К.
Дата
2024Metadata
Показати повну інформаціюCollections
- JetIQ [350]
Анотації
The method of integrating the server part of the web application for organizing a diet and workouts with artificial intelligence
ChatGpt was improved in the work, which made it possible to improve the User Experience when using the server part of the web application and increase the speed of processing requests by artificial intelligence and speed up the user's work with artificial intelligence. Modern
technologies for the connection of the server part of the web application with the database, the implementation of authorization in order to
implement the protection of the server part from intruders and the methods of integrating the web application with artificial intelligence are
analyzed. Based on the results of the analysis, a stack of technologies was chosen, in particular, Web-API was used to develop the server
part, Entity Framework technology was used to connect the server part of the web application with the database, and authorization was provided using JWT Tokens. The server part of the web application for workouts and diet organization was developed in the C# programming
language, taking into account the principles of SOLID object-oriented programming. During the development, a multi-level architecture was
used to distribute various functionalities between different modules of the server part. The connection of the server part of the web application with the database for receiving and saving information is configured. An authorization mechanism on JWT-Tokens was implemented,
which made it possible to protect the methods for integration with artificial intelligence from attackers and gave the opportunity to only
authorized users to use artificial intelligence to build workouts and diets. An MSSQL database that stores personal user data used to build the
ChatGpt AI diet and workouts is designed. Database queries are optimized by using the Eager Loading technique and Deferred Execution
queries В роботі досконалено метод інтеграції серверної частини вебзастосунку для організації дієти та системи тренувань зі
штучним інтелектом ChatGpt, що дало змогу покращити User Experience при використанні серверної частини вебзастосунку та
збільшити швидкодію обробки запитів штучним інтелектом та пришвидшити роботу користувача зі штучним інтелектом. Проаналізовано сучасні технології для зв’язку серверної частини веб-додатку із базою даних, реалізації авторизації з метою впровадження
захисту серверної частини від зловмисників, а також методи інтеграції веб-застосунку з штучним інтелектом. За результатами аналізу обрано стек технологій, зокрема для розробки серверної частини використано Web-API, для зв’язку серверної частини вебзастосунку із базою даних було використано технологію Entity Framework, авторизацію забезпечено за допомогою JWT Tokens. Розроблено серверну частину веб-застосунку для організації тренувань та дієти мовою програмування C#, з урахуванням принципів
об’єктно-орієнтовного програмування SOLID. Під час розробки використано багаторівневу архітектуру для розподілення різних
функціональних можливостей між різними модулями серверної частини. Налаштовано зв’язок серверної частини вебзастосунку з
базою даних для отримання та збереження інформації. Реалізовано механізм авторизації на JWT-Токенах, що дозволило захистити
методи для інтеграції з штучним інтелектом від зловмисників та дало можливість тільки авторизованим користувачам використовувати штучний інтелект для побудови тренувань та дієти. Спроектовано базу даних MSSQL, в якій зберігаються персональні дані
користувача, що використовуються для побудови дієти та системи тренувань штучним інтелектом ChatGpt. Запити до бази даних
оптимізовані за рахунок використання техніки Eager Loading та запитів Deferred Execution
URI:
https://ir.lib.vntu.edu.ua//handle/123456789/43937