Formal Model and API Integration Method for Generative Neural Networks in a Web-Platform for Automated Text Processing

Authors

  • Darya A. Cherkasova
  • Valentina A. Cherkasova Astrakhan state university name of V.N Tatishcheva

DOI:

https://doi.org/10.17072/1993-0550-2026-2-104-111

Keywords:

formal model, API integration, generative neural networks, DeepSeek, Django, MVT architecture, text processing, prompt engineering, fault tolerance, experimental study

Abstract

The article presents a formal model for integrating generative neural network APIs into a corporate web platform for automated text processing. The proposed model is described by the tuple M = (U, C, R, P, F, A), where U is the set of users, C is the set of parameterizable prompts (contexts), R is the set of requests, P is the prompt parameterization function, F is the external API interaction function, and A is the audit and resource accounting function. The scientific novelty lies in the development of a formal model that ensures data isolation, centralized prompt management, and fault tolerance; in the proposal of a method for prompt parameterization based on contexts stored in the database; and in the creation of a robust API interaction algorithm that implements timeout handling, retries, and atomic result storage. An experimental study was conducted, in which the hypothesis of reduced text processing time using the proposed model was formulated and confirmed (p<0.001, effect size r=0.92). The developed platform has been deployed into industrial operation at the customer organization.

References

Стратегия развития информационного общества в Российской Федерации на 2017–2030 годы: утв. Указом Президента РФ от 09.05.2017 № 203 // Собрание законодательства РФ. 2017. № 20. Ст. 2901.

Смирнова Е. В. Генеративные модели в обработке естественного языка: обзор и перспективы // Труды института системного программирования РАН. 2022. Т. 34, № 2. С. 123–142.

Базы данных: принципы, типы, тенденции развития [Электронный ресурс] / Хабр. 2022. URL: https://habr.com/ru/companies/otus/articles/648153/ (дата обращения: 07.10.2025).

Фаулер М. Архитектура корпоративных программных приложений = Patterns of Enterprise Application Architecture / пер. с англ. М.: Вильямс, 2016. 544 с.

DeepSeek API Documentation [Электронный ресурс] / DeepSeek. URL: https://platform.deepseek.com/api-docs/ (дата обращения: 05.10.2025).

DeepSeek-AI. DeepSeek-R1: GitHub repository. 2025. URL: https://github.com/deepseek-ai/DeepSeek-R1 (дата обращения: 05.10.2025).

Yandex Cloud: Документация YandexGPT [Электронный ресурс] / Yandex Cloud. URL: https://cloud.yandex.ru/docs/yandexgpt/ (дата обращения: 01.10.2025).

Django Documentation [Электронный ресурс] / Django Software Foundation. URL: https://docs.djangoproject.com/en/5.0/ (дата обращения: 10.10.2025).

MDN Web Docs: JavaScript [Электронный ресурс] / Mozilla. URL: https://developer.mozilla.org/ru/docs/Web/JavaScript (дата обращения: 15.10.2025).

Киселёв Р. А. Сравнительный анализ фреймворков для разработки веб-приложений: Django, Flask, FastAPI // Научно-технические ведомости СПбГПУ. Информатика. Телекоммуникации. Управление. 2022. Т. 15, № 3. С. 101–112.

Вигерс К., Битти Дж. Разработка требований к программному обеспечению = Software Requirements. 3-е изд. М.: Русская редакция, 2018. 720 с.

Downloads

Published

2026-07-13

How to Cite

Formal Model and API Integration Method for Generative Neural Networks in a Web-Platform for Automated Text Processing. (2026). BULLETIN OF PERM UNIVERSITY. MATHEMATICS. MECHANICS. COMPUTER SCIENCE, 2 (73), 104-111. https://doi.org/10.17072/1993-0550-2026-2-104-111

Similar Articles

1-10 of 105

You may also start an advanced similarity search for this article.