Skip to content

Commit d9672e5

Browse files
Merge branch 'develop' into feature/tutorial-groups/tutorial-lectures
2 parents 220ebd1 + fa8bb23 commit d9672e5

File tree

141 files changed

+2357
-1066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+2357
-1066
lines changed

docs/admin/setup/hyperion.rst

Lines changed: 3 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -3,82 +3,6 @@
33
Hyperion Service
44
----------------
55

6-
Hyperion extends Artemis with AI-assisted authoring features for programming exercises. It offers
7-
consistency checks for problem statements and exercise artefacts and can rewrite instructions with the help
8-
of generative AI. The functionality is provided entirely by Artemis and Spring AI, so no
9-
EduTelligence service needs to be deployed.
10-
11-
Prerequisites
12-
^^^^^^^^^^^^^
13-
14-
- A running Artemis instance that loads the ``core`` profile.
15-
- Network access to an LLM provider that is supported by Spring AI (for example OpenAI or Azure OpenAI).
16-
- A valid API key for the chosen provider.
17-
18-
Enable the Hyperion module
19-
^^^^^^^^^^^^^^^^^^^^^^^^^^
20-
21-
Hyperion is disabled by default. Activate it by overriding the ``artemis.hyperion.enabled`` property in the
22-
configuration that the server reads on startup (for example ``application-prod.yml``).
23-
24-
.. code:: yaml
25-
26-
artemis:
27-
hyperion:
28-
enabled: true
29-
30-
31-
Configure Spring AI
32-
^^^^^^^^^^^^^^^^^^^^
33-
34-
Hyperion delegates all model interactions to Spring AI. Configure exactly one provider; Artemis currently
35-
ships the Azure OpenAI starter, but classic OpenAI endpoints work as well when configured through Spring AI.
36-
37-
OpenAI
38-
""""""
39-
40-
.. code:: yaml
41-
42-
spring:
43-
ai:
44-
azure:
45-
openai:
46-
open-ai-api-key: <openai-api-key> # automatically sets the azure endpoint to https://api.openai.com/v1
47-
chat:
48-
options:
49-
deployment-name: gpt-5-mini # Or another (reasonably capable) model
50-
temperature: 1.0 # Required to be 1.0 for gpt-5
51-
52-
Azure OpenAI
53-
""""""""""""
54-
55-
.. code:: yaml
56-
57-
spring:
58-
ai:
59-
azure:
60-
openai:
61-
api-key: <azure-openai-api-key>
62-
endpoint: https://<your-resource-name>.openai.azure.com
63-
chat:
64-
options:
65-
deployment-name: <azure-deployment> # gpt-5-mini deployment recommended
66-
temperature: 1.0 # Required to be 1.0 for gpt-5
67-
68-
Verifying the integration
69-
^^^^^^^^^^^^^^^^^^^^^^^^^
70-
71-
1. Restart the Artemis server and confirm that ``hyperion`` appears in ``activeModuleFeatures`` on
72-
``/management/info``.
73-
2. Log in as an instructor and open the programming exercise problem statement editor. New Hyperion actions
74-
appear in the markdown editor toolbar (rewrite and consistency check).
75-
3. Run a consistency check to ensure the LLM call succeeds. Inspect the server logs for ``Hyperion`` entries
76-
if the request fails; misconfigured credentials and missing network egress are the most common causes.
77-
78-
Operational considerations
79-
^^^^^^^^^^^^^^^^^^^^^^^^^^
80-
81-
- **Cost control:** Define usage policies and rate limits with your provider. Hyperion requests can process the
82-
full problem statement, so costs scale with exercise size.
83-
- **Data protection:** Model providers receive exercise content. Obtain consent and align with institutional
84-
policies before enabling Hyperion in production.
6+
.. note::
7+
This documentation has been migrated to the new documentation system.
8+
Please refer to the `Hyperion Setup Guide <https://ls1intum.github.io/Artemis/admin/hyperion>`_ in the new documentation.

docs/dev/setup/server.rst

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ You only need to modify them if your specific work or production environments re
4747
user-management:
4848
use-external: true
4949
password-reset:
50-
credential-provider: <provider> # Example: TUMonline
5150
links:
5251
en: '<link>'
5352
de: '<link>'
@@ -258,38 +257,8 @@ Hyperion (Optional)
258257

259258
Hyperion provides AI-assisted exercise creation features via Spring AI. No external Edutelligence service is required, only a LLM provider such as OpenAI or Azure OpenAI.
260259

261-
Quick setup for development
262-
"""""""""""""""""""""""""""
263-
264-
1. Enable the hyperion service
265-
266-
In your ``application-local.yml``, enable the hyperion service:
267-
268-
.. code-block:: yaml
269-
270-
artemis:
271-
hyperion:
272-
enabled: true
273-
274-
2. Configure Spring AI
275-
276-
Set up your preferred provider (Azure OpenAI or OpenAI) in ``application-local.yml``. Examples:
277-
278-
.. code-block:: yaml
279-
280-
spring:
281-
ai:
282-
# https://docs.spring.io/spring-ai/reference/api/chat/azure-openai-chat.html
283-
azure:
284-
openai:
285-
api-key: <azure_openai_key> # comment out if using OpenAI
286-
# open-ai-api-key: <openai_key> # Fallback OpenAI key if needed, sets non-azure endpoint automatically
287-
endpoint: <azure_openai_endpoint> # comment out if using OpenAI
288-
chat:
289-
options:
290-
deployment-name: <azure_openai_deployment_name or openai_model_name>
291-
# Some Azure/OpenAI deployments (e.g., gpt-5-mini) only support the default temperature (1.0)
292-
temperature: 1.0
260+
.. note::
261+
For local development with LM Studio (no cloud API keys required), see the `Spring AI Development Guide <https://ls1intum.github.io/Artemis/staff/spring-ai>`_ in the new documentation.
293262

294263
Production setup
295264
""""""""""""""""

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All these exercises are supposed to be run either live in the lecture with insta
2424

2525
user/assessment
2626
user/exercises
27+
user/quiz-training
2728
user/lectures
2829
user/exam_mode
2930
user/communication

docs/user/quiz-training.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. _quiz-training:
2+
3+
Quiz Training
4+
=============
5+
6+
This section has been moved to our new documentation:
7+
https://ls1intum.github.io/Artemis/student/quiz-training
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
id: hyperion
3+
title: Hyperion Service
4+
sidebar_label: Hyperion Setup
5+
---
6+
7+
import {CalloutVariant} from "../../src/components/Callout/Callout.types";
8+
import Callout from "../../src/components/Callout/Callout";
9+
10+
# Hyperion Service
11+
12+
Hyperion extends Artemis with AI-assisted authoring features for programming exercises. It offers consistency checks for problem statements and exercise artefacts and can rewrite instructions with the help of generative AI. The functionality is provided entirely by Artemis and Spring AI, so no EduTelligence service needs to be deployed.
13+
14+
<Callout variant={CalloutVariant.info}>
15+
For local development setups using LM Studio, refer to the [Spring AI Development Guide](/staff/spring-ai) in the Staff documentation.
16+
</Callout>
17+
18+
## Prerequisites
19+
20+
- A running Artemis instance that loads the `core` profile.
21+
- Network access to an LLM provider that is supported by Spring AI (for example OpenAI or Azure OpenAI).
22+
- A valid API key for the chosen provider.
23+
24+
## Enable the Hyperion module
25+
26+
Hyperion is disabled by default. Activate it by overriding the `artemis.hyperion.enabled` property in the configuration that the server reads on startup (for example `application-prod.yml`).
27+
28+
```yaml
29+
artemis:
30+
hyperion:
31+
enabled: true
32+
```
33+
34+
## Configure Spring AI
35+
36+
Hyperion delegates all model interactions to Spring AI. Configure exactly one provider; Artemis currently ships the Azure OpenAI starter, but classic OpenAI endpoints work as well when configured through Spring AI.
37+
38+
### OpenAI
39+
40+
```yaml
41+
spring:
42+
ai:
43+
azure:
44+
openai:
45+
open-ai-api-key: <openai-api-key> # automatically sets the azure endpoint to https://api.openai.com/v1
46+
chat:
47+
options:
48+
deployment-name: gpt-5-mini # Or another (reasonably capable) model
49+
temperature: 1.0 # Required to be 1.0 for gpt-5
50+
```
51+
52+
### Azure OpenAI
53+
54+
```yaml
55+
spring:
56+
ai:
57+
azure:
58+
openai:
59+
api-key: <azure-openai-api-key>
60+
endpoint: https://<your-resource-name>.openai.azure.com
61+
chat:
62+
options:
63+
deployment-name: <azure-deployment> # gpt-5-mini deployment recommended
64+
temperature: 1.0 # Required to be 1.0 for gpt-5
65+
```
66+
67+
## Verifying the integration
68+
69+
1. Restart the Artemis server and confirm that `hyperion` appears in `activeModuleFeatures` on `/management/info`.
70+
2. Log in as an instructor and open the programming exercise problem statement editor. New Hyperion actions appear in the markdown editor toolbar (rewrite and consistency check).
71+
3. Run a consistency check to ensure the LLM call succeeds. Inspect the server logs for `Hyperion` entries if the request fails; misconfigured credentials and missing network egress are the most common causes.
72+
73+
## Operational considerations
74+
75+
- **Cost control:** Define usage policies and rate limits with your provider. Hyperion requests can process the full problem statement, so costs scale with exercise size.
76+
- **Data protection:** Model providers receive exercise content. Obtain consent and align with institutional policies before enabling Hyperion in production.

documentation/docs/admin/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
id: intro
33
title: Welcome to the Administrator Guide
44
sidebar_label: Introduction
5-
sidebar_position: 1
65
---
76

87
# 🔐 Administrator Setup & Security Guide
@@ -13,6 +12,7 @@ This documentation covers:
1312

1413
- Server and production environment setup
1514
- Security configurations and best practices
15+
- Hyperion AI-assisted exercise authoring setup
1616
- Managing SSH access and network routing
1717
- Monitoring, scaling, and integrating external services
1818

documentation/docs/staff/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
id: intro
33
title: Welcome to the Developer & Staff Guide
44
sidebar_label: Introduction
5-
sidebar_position: 1
65
---
76

87
# 🧑‍💻 Developer & Staff Setup Guide
98

109
This section provides the technical setup and configuration details needed to develop, maintain, or extend Artemis.
1110

12-
Youll find information on:
11+
You'll find information on:
1312

1413
- Setting up a **local development environment**
1514
- Running the **Artemis server (Spring Boot)** and **client (Angular)**
1615
- Database and build configuration
1716
- Integration with version control and CI/CD systems
17+
- Setting up **local LLM services** for AI-assisted features
1818

1919
Start with the **[Setup Guide](./setup.mdx)** to install and run Artemis on your local machine.

0 commit comments

Comments
 (0)