Development of a web application which uses generative AI for chemical reaction prediction

Thesis title: Vývoj webové aplikace využívající generativní AI pro predikci chemických reakcí
Author: Vaňová, Monika
Thesis type: Diplomová práce
Supervisor: Chudán, David
Opponents: Máša, Petr
Thesis language: Česky
Abstract:
V rámci této diplomové práce vznikl plně funkční webový nástroj pro výuku chemie, který kombinuje generativní AI model s interaktivní virtuální laboratoří. Byl implementován pre- dikční model založený na jazykovém modelu phi3:mini a nástroji Ollama, jenž dokáže na základě zadaných reaktantů a podmínek (teplota) predikovat produkty chemických reakcí včetně vyvážené rovnice. Na rozdíl od existujících specializovaných řešení (Molecular Trans- former, ReactionT5) je výsledný model schopen predikovat produkty jak organických, tak anorganických reakcí, a to díky integraci s webovým vyhledáváním, které zajišťuje aktuál- nost a relevantnost informací. Součástí práce je také webová aplikace simulující laboratorní prostředí, která umožňuje mí- chat chemikálie ve třech různých pomůckách (kádinka, baňka, zkumavka), zahřívat je ka- hanem a vytvářet vodné roztoky. Aplikace podporuje dva režimy – host (rychlý přístup bez registrace) a přihlášený uživatel (ukládání prostředí, oblíbené chemikálie). Klíčovým příno- sem je ukládání výsledků predikcí do databáze, čímž se u opakovaných experimentů snižuje doba odezvy z desítek sekund na milisekundy a systém se postupně stává rychlejším. Au- tomatizovaným i manuálním testováním všech částí sytému se potvrdila funkčnost modelu i celé aplikace.
Keywords: chemické reakce; virtuální chemická laboratoř; Python; Ollama; Typescript; Generativní umělá inteligence
Thesis title: Development of a web application which uses generative AI for chemical reaction prediction
Author: Vaňová, Monika
Thesis type: Diploma thesis
Supervisor: Chudán, David
Opponents: Máša, Petr
Thesis language: Česky
Abstract:
s part of this diploma thesis, a fully functional web-based tool for teaching chemistry has been developed, combining a generative AI model with an interactive virtual laboratory. A prediction model based on the phi3:mini language model and the Ollama tool was implemen- ted, capable of predicting the products of chemical reactions, including balanced equations, based on specified reactants and conditions (temperature). Unlike existing specialized solu- tions (Molecular Transformer, ReactionT5), the resulting model can predict the products of both organic and inorganic reactions, thanks to its integration with web search, which ensures the timeliness and relevance of information. The work also includes a web application simulating a laboratory environment, which allows users to mix chemicals in equipment of three different types (beaker, flask, test tube), heat 4 them using a burner, and create aqueous solutions. The application supports two modes – guest mode (quick access without registration) and logged-in user mode (saving environments, favorite chemicals). A key contribution is the storage of prediction results in a database, which reduces response time for repeated experiments from tens of seconds to milliseconds, making the system progressively faster. Automated and manual testing of all parts of the system confirmed the functionality of both the model and the entire application.
Keywords: Typescript; Ollama; Generative artificial intelligence; chemical reactions; virtual chemistry lab; Python

Information about study

Study programme: Informační systémy a technologie/Vývoj informačních systémů
Type of study programme: Magisterský studijní program
Assigned degree: Ing.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information and Knowledge Engineering

Information on submission and defense

Date of assignment: 16. 3. 2025
Date of submission: 4. 5. 2026
Date of defense: 9. 6. 2026
Identifier in the InSIS system: https://insis.vse.cz/zp/91933/podrobnosti

Files for download

    Last update: