From 08314ec70363c75ab60a5a9dbc5f8a68079aa1bd Mon Sep 17 00:00:00 2001 From: Till Tomczak Date: Sun, 27 Apr 2025 08:00:16 +0200 Subject: [PATCH] Enhance embedded ChatGPT assistant functionality: Integrate a new chat interface within the index.html template, allowing users to interact with the assistant directly. Update main.js to ensure proper initialization and reference management. Improve user experience with quick query buttons and a responsive chat layout, while maintaining existing functionality in the application. --- website/__pycache__/app.cpython-311.pyc | Bin 54093 -> 54093 bytes website/static/js/main.js | 4 +- website/templates/base.html | 38 ++++ website/templates/index.html | 225 +++++++++++++++++++----- 4 files changed, 225 insertions(+), 42 deletions(-) diff --git a/website/__pycache__/app.cpython-311.pyc b/website/__pycache__/app.cpython-311.pyc index 4b61cad25dd17a35a6460170a9f22005a22642eb..96ab4434503767c750d0d09004ccb54b4e9ad9de 100644 GIT binary patch delta 20 acmX@RjQQ*`X3pijyj%=GaAYH=%VhvZU Suche + + {% if current_user.is_authenticated %} Suche + + {% if current_user.is_authenticated %} {% block scripts %}{% endblock %} + + + \ No newline at end of file diff --git a/website/templates/index.html b/website/templates/index.html index 599814a..470154a 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -342,61 +342,206 @@ - -
+ +

KI-Assistent

-

- Stelle Fragen, lasse dir Themen erklären oder finde neue Verbindungen mit Hilfe - unseres KI-Assistenten. -

- -
-
-
- - -
-
- -
-
-
- -
-
-

Frage den KI-Assistenten

-
- - Erkunde die Mindmap - - - Themen durchsuchen - - - Beziehungen erforschen - + +
+ +
+ +
+
+ +
+
+

Hallo! Ich bin dein KI-Assistent. Wie kann ich dir helfen?

+ + +
+
+ + +
+
- + + +
+ + +
+{% endblock %} + + +{% block scripts %} + {% endblock %} \ No newline at end of file