-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create README_DE.md * Update README_DE.md * Create README_DE.md * Update README_DE.md * Update README_DE.md --------- Co-authored-by: Sabine Gillner <[email protected]>
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
## Unterstützung für Entwickler: der ChatGPT Assistent | ||
|
||
Axon Ivys **ChatGPT-Assistent** ist eine Anpassung der OpenAI API für die Integration in den Axon Ivy Designer. Der Assistent liefert ein Kontextmenü, mit der dir KI-gestützt Code erklärt, gefixt oder hinzufügt werden kann. | ||
|
||
Dieser Assistent: | ||
|
||
- Basiert auf der OpenAI-API-Plattform 'platform.openai.com'. | ||
- Erweitert deine bestehende Axon Ivy Designer IDE. | ||
- Benötigt einen API-Schlüssel von der OpenAI API. | ||
- Unterstützt dich bei der Entwicklung von Geschäftsprozessen, indem er | ||
- Code-Snippets erklärt, | ||
- fehlerhaften Code korrigiert, | ||
- neue Anweisungen einfügt, | ||
- Fragen zu deinem Code beantwortet | ||
- und neue BPMN-Elemente hinzufügt. | ||
|
||
|
||
## Demo | ||
|
||
The assistant context menu, popping up in all code-editors: | ||
![context](docs/chat-gpt-context.png) | ||
|
||
Supports you in reviews, by explaining existing code: | ||
![explain](docs/chat-gpt-explain.png) | ||
|
||
Accepts insert or change code change requests in natural language: | ||
![explain](docs/chat-gpt-insert.png) | ||
|
||
Allows you to select and apply the changes you were asking for: | ||
![explain](docs/chat-gpt-insert-review.png) | ||
|
||
## Setup | ||
|
||
1. Install this Dropin extension by pressing the 'install' button in the market. | ||
2. After installing, reboot the Designer, as advised by the dropin-installer. | ||
3. Setup the OpenAI API key | ||
|
||
### OpenAI API key | ||
|
||
ChatGPT requests do not come for free. However, when you register a new account, | ||
5$ are automatically added to it. This is perfect to develop your ChatGPT integration free of charge. | ||
|
||
1. Register an account on [platform.openai.com](https://platform.openai.com/overview). | ||
2. Once logged in, click on your user icon on the upper right corner. | ||
3. In the menu, use the "View API keys" option. | ||
4. Generate a new API key | ||
5. Open a Designer where the openai-assistant was installed. | ||
6. Right click into a code editor: select `ChatGPT assistant` > `Set apiKey` > fill in your secret key. | ||
|
||
### Customization | ||
|
||
The OpenAI assistant uses the designer app.yaml to load custom settings. | ||
The following keys are valid and interpreted: | ||
|
||
``` | ||
@variables.yaml@ | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# OpenAI ChatGPT API | ||
|
||
ChatGPT ist ein KI-Modell, das von [OpenAI](https://openai.com/) entwickelt wurde. Es kann in natürlicher Sprache mit dir kommunizieren und dich bei verschiedenen sprachbasierten Aufgaben unterstützen, wie zum Beispiel beim Beantworten von Fragen, beim Schreiben von Texten oder beim Entwickeln neuer Ideen. Mit dem OpenAI ChatGPT API-Connector kannst du ChatGPT in deine Axon Ivy Geschäftsanwendungen integrieren. | ||
|
||
Dieser Konnektor: | ||
- Basiert auf der OpenAI API 'https://platform.openai.com/' | ||
- Bietet ein einfaches Chat-Frontend für die nahtlose Integration in Axon Ivy Anwendungen | ||
|
||
## Demo | ||
|
||
This demo showcases a simple prompt window to chat directly with ChatGPT. Enter in any language a question that is of interest, and you will immediately get ChatGPT’s answer within the Axon Ivy business process. | ||
|
||
![demo-dialog](images/demo1.png) | ||
![demo-dialog](images/demo0.png) | ||
|
||
This is the demo showcase for generating the email subject and content base on the information which is entered by the user. | ||
|
||
![demo-dialog](images/demo2.png) | ||
|
||
## Setup | ||
|
||
Chat GPT requests do not come for free. However, when you register a new account, | ||
5$ are automatically added to it. This is perfect to develop your Chat GPT integration free of charge. | ||
|
||
1. Register an account on [platform.openai.com](https://platform.openai.com/overview). | ||
2. Once logged in, click on your user icon on the upper right corner. | ||
3. In the menu, use the "View API keys" option. | ||
4. Generate a new API key and store it in your variables.yaml under `Variables.openai-connector.apiKey` | ||
|
||
``` | ||
@variables.yaml@ | ||
``` | ||
|