Skip to content

Commit 49a05d7

Browse files
committed
Documentation Update
1 parent a7fc4c7 commit 49a05d7

File tree

8 files changed

+408
-172
lines changed

8 files changed

+408
-172
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ OPEN_WEB_UI_API_KEY=
138138
# HAWKI_FILE_CONVERTER_API_URL URL to the Hosted HAWKI converter.
139139
# GWDG_FILE_CONVERTER_API_URL URL to the GWDG converter. 'https://chat-ai.academiccloud.de/v1/documents/convert'
140140

141-
FILE_CONVERTER=gwdg_docling
141+
FILE_CONVERTER=hawki_converter
142142
HAWKI_FILE_CONVERTER_API_URL=127.0.0.1:8001/extract
143143
HAWKI_FILE_CONVERTER_API_KEY=
144144
GWDG_FILE_CONVERTER_API_URL='https://chat-ai.academiccloud.de/v1/documents/convert'

_documentation/1-Prologue.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ With HAWKI2, our university's own data protection-compliant platform for generat
1717
- Group chats for peer-to-peer qualification University members can now exchange ideas in interactive chat rooms—similar to WhatsApp—and additionally integrate the generative AI at any time by addressing it as an additional participant in the group. This not only facilitates extended collaboration but also provides all participants the opportunity to use and understand the generative AI together.
1818

1919

20+
- Attachments to add **PDFs**, **Word documents**, and **images** as attachments to chat messages. Files can be shared with other room members or sent to AI models as context, depending on model capabilities.
21+
22+
2023
- Export function with intelligent summarization The new automated documentation of prompts creates transparency in AI-supported work processes—an important step for use in examinations and scientific work.
2124

2225

@@ -31,4 +34,4 @@ With HAWKI2, our university's own data protection-compliant platform for generat
3134
The updated HAWKI ecosystem deliberately emphasizes inter-university collaboration to design generative AI in a sustainable, transparent manner tailored to the needs of universities. Unlike commercial AI applications, HAWKI prioritizes the digital sovereignty of universities. The goal is to create a connected ecosystem that allows university members to interact with generative AI in their own way—without rigid guidelines, but with clear ethical and didactic principles.
3235

3336

34-
**HAWKI 2 is open for everyone—join now, shape the future, and explore the possibilities of generative AI in university teaching!**
37+
**HAWKI 2 is open for everyone—join now, shape the future, and explore the possibilities of generative AI in university teaching!**

_documentation/2-GettingStarted/1-Local Installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ You can either keep the workers running in separate terminals to see the printed
323323
The new Attachments feature in HAWKI allows user to upload files in the chat. But since the models mostly do not accept document files as input, we need to first convert these to text.
324324
This task can be done either by the new converter module in HAWKI Toolkit or be the provided document endpoint from GWDG.
325325
If you do not uncomment the FILE_CONVERTER variables in .env file, HAWKI turns off the document support for attachments automatically.
326-
For more information refer to the File Converter Section of this documentation.
326+
327+
If you prefer to use HAWKI FIle Converter, and you are not using the docker deployment you can host the converter separately from the project.
328+
For more information refer to the [File Converter Repo](https://github.com/hawk-digital-environments/hawki-toolkit-file-converter) of this documentation.
327329
328330
329331
### Start Development Server

_documentation/5-Deployment/1- Apache Server.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ For a complete guide to environment variables please refer to [.env section]() o
155155
156156
**General**
157157
158-
>If you have used HAWKI CLI to initialize the project in the previous step, some attributes like Keys and Salts must have been automatically filled.
158+
>If you have used HAWKI CLI to initialize the project in the previous step, some variables like Keys and Salts must have been automatically filled.
159159
>
160-
>Moreover, some of the attributes have already default values, which do not necessarily need be changed.
160+
>Moreover, some of the variables have already default values, which do not necessarily need be changed.
161161
162-
Here we go through some of the important attributes that need to be set before running HAWKI on your local machine.
162+
Here we go through some of the important variables that need to be set before running HAWKI on your local machine.
163163
For local testing make sure in "Global Application Settings" the following values exits:
164164
165165
```
@@ -186,12 +186,12 @@ GOOGLE_API_KEY=""
186186
OPEN_WEB_UI_API_KEY=""
187187
```
188188
189-
alternatively you can host your own model using [Ollama](https://ollama.com/). Then add the following attributes in your `.env`:
189+
alternatively you can host your own model using [Ollama](https://ollama.com/). Then add the following variables in your `.env`:
190190
191191
```
192192
OLLAMA_ACTIVE=true
193193
```
194-
then navigate to `config/model_lists/ollama_models.php` and add your model attributes in the following structure:
194+
then navigate to `config/model_lists/ollama_models.php` and add your model variables in the following structure:
195195
196196
```
197197
[
@@ -238,7 +238,7 @@ Using HAWKI CLI, you can configure authentication settings with:
238238
php hawki setup -auth
239239
```
240240
241-
>If you are using **LDAP** make sure the structure of the LDAP response is set up correctly on the HAWKI side. To do that first make sure the `LDAP_ATTRIBUTES` are set correctly and in the correct order: Username, Email Address, Employee Type, Name. By default HAWKI looks for the `element zero/ variable name/ element zero` `($info[0][$ldapAttr][0])`. If for any reason the response from your LDAP server has a different structure, your can change this in `/app/Services/Auth/LdapService.php`.
241+
>If you are using **LDAP** make sure the structure of the LDAP response is set up correctly on the HAWKI side. To do that first make sure the `LDAP_variables` are set correctly and in the correct order: Username, Email Address, Employee Type, Name. By default HAWKI looks for the `element zero/ variable name/ element zero` `($info[0][$ldapAttr][0])`. If for any reason the response from your LDAP server has a different structure, your can change this in `/app/Services/Auth/LdapService.php`.
242242
243243
**Test User**
244244
@@ -550,6 +550,19 @@ sudo systemctl status queue-worker.service
550550
sudo systemctl status schedule-worker.service
551551
```
552552
553+
554+
## File Converter
555+
556+
The new Attachments feature in HAWKI allows user to upload files in the chat. But since the models mostly do not accept document files as input, we need to first convert these to text.
557+
This task can be done either by the new converter module in HAWKI Toolkit or be the provided document endpoint from GWDG.
558+
If you do not uncomment the FILE_CONVERTER variables in .env file, HAWKI turns off the document support for attachments automatically.
559+
560+
If you prefer to use HAWKI FIle Converter, and you are not using the docker you can host the converter separately from the project.
561+
For more information refer to the [File Converter Repo](https://github.com/hawk-digital-environments/hawki-toolkit-file-converter) of this documentation.
562+
563+
564+
---
565+
553566
Now that workers are running the queued messages should be successfully broadcasted to the users.
554567
555568

0 commit comments

Comments
 (0)