From 14e1d0687438c2659a912d23fb47585a2c3a7e5e Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paris.fr>
Date: Fri, 19 Jul 2024 12:10:34 +0200
Subject: [PATCH] Update on AI help and Makefile

---
 Makefile                        | 4 ++--
 src/main/resources/help/ai.html | 2 +-
 src/main/resources/help/ai.md   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 44513b434b..01d7dae1e6 100755
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ make documentation      Generate the documentation of java classes using javadoc
 make release            Prepare a new release for the website.
 			It produces the release.tgz and releaseWithSrc.tgz files.
 make test               Run tests on TTool.
-make noguitest               Run non graphical tests on TTool.
+make noguitest          Run non graphical tests on TTool.
 make publish_jar        Build TTool and upload the resulting archive.
 			!!! Must have the right ssh key installed for this !!!
 make install		Install TTool, the jar of companion software and the runtime
@@ -58,7 +58,7 @@ make ultraclean         Clean the repository from binaries and compilation artif
 make ttooljavac		Build TTool only with javac
 make ttoolnotest	Build TTool with gradle, but do not execute test. Performs the install
 make allnotest		Builld all apps, but do not execute tests. Performs the install
-make internalhelp		Generate the help of TTool in HTML format
+make internalhelp	Generate the help of TTool in HTML format
 
 
 Other targets:
diff --git a/src/main/resources/help/ai.html b/src/main/resources/help/ai.html
index fc46902342..ed297cc597 100644
--- a/src/main/resources/help/ai.html
+++ b/src/main/resources/help/ai.html
@@ -97,7 +97,7 @@ diagrams.</p>
 information to the configuration file (e.g., config.xml) of TTool:</p>
 <div class="sourceCode" id="cb1"><pre
 class="sourceCode xml"><code class="sourceCode xml"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>&lt;<span class="kw">OPENAIKey</span><span class="ot"> data=</span><span class="st">&quot;</span><span class="er">&lt;</span><span class="st">put your secret key there&gt;&quot;</span>/&gt;</span>
-<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>&lt;<span class="kw">OPENAIModel</span><span class="ot"> data=</span><span class="st">&quot;gpt-3.5-turbo&quot;</span>/&gt;</span></code></pre></div>
+<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>&lt;<span class="kw">OPENAIModel</span><span class="ot"> data=</span><span class="st">&quot;gpt-3.5-turbo gpt-4-turbo gpt-4o gpt-4o-mini&quot;</span>/&gt;</span></code></pre></div>
 <p>This is required to have a valid openai account and available
 tokens.</p>
 <h2 id="how-to-use-ai">How to use AI?</h2>
diff --git a/src/main/resources/help/ai.md b/src/main/resources/help/ai.md
index 2ccbb4ca4c..e1248215fa 100644
--- a/src/main/resources/help/ai.md
+++ b/src/main/resources/help/ai.md
@@ -5,7 +5,7 @@ AI intelligence in TTool intends to help designers to make better diagrams.
 TTool must first be configured before using AI. Add the following information to the configuration file (e.g., config.xml) of TTool:
 ```xml
 <OPENAIKey data="<put your secret key there>"/>
-<OPENAIModel data="gpt-3.5-turbo"/>
+<OPENAIModel data="gpt-3.5-turbo gpt-4-turbo gpt-4o gpt-4o-mini"/>
 ```
 This is required to have a valid openai account and available tokens.
 
-- 
GitLab