@@ -9,6 +9,13 @@ TTool must first be configured before using AI. Add the following information to
```
This is required to have a valid openai account and available tokens.
Similarly, you can use a mistralAI key.
```xml
<MistralAIKeydata="put your key here"/>
<MistralAIModeldata="pixtral-12b-2409"/>
```
## How to use AI?
First, select what you intend to do at the top of the AI window:
...
...
@@ -21,6 +28,13 @@ Enter your question in the "Question" textarea, and click on "Start"
### Classify requirements
This options intends to automatically identify the "kind" attributes of requirements. Open a requirement diagram with at least one requirement, and click on "start". If the classification proposed by the AI (see the "Answer text area") suits you, you can click on "Apply response" to update the opened requirement diagram.
### Generate block diagrams
Provide a system specification. The AI will compute a liste of blocks (including their atributes and signals), and will connect them. Once the AI has finished computed a block diagram, click on "apply" to get the block diagram drawn in TTool
### Generate state machine diagrams
Provide a system specification, and select in TTool a block diagram. The AI will compute states machines. Once computed, click on "apply" to get the state machines drawn in TTool (TTool duplicated the block diagram to be certain not to erase your former state machines).
### A(I)MULET
This option enables to automatically generate AMULET commands for modifying AVATAR models (AMULET is a language enabling the description of AVATAR