From d0fa98068eb85ee7b74df83b56ecd64696f97690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sun, 15 Mar 2026 12:22:53 +0100 Subject: [PATCH 1/2] fix: Added json for field reference --- pom.xml | 2 +- .../net/dontcode/prj/generate/GenerateProjectService.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index ce28b29..96e7290 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ 3.31.4 true 3.5.4 - 0.4.1-SNAPSHOT + 0.4.2-SNAPSHOT diff --git a/src/main/java/net/dontcode/prj/generate/GenerateProjectService.java b/src/main/java/net/dontcode/prj/generate/GenerateProjectService.java index 01484f6..b4fe34c 100644 --- a/src/main/java/net/dontcode/prj/generate/GenerateProjectService.java +++ b/src/main/java/net/dontcode/prj/generate/GenerateProjectService.java @@ -3,15 +3,14 @@ import dev.langchain4j.service.SystemMessage; import io.quarkiverse.langchain4j.RegisterAiService; import jakarta.enterprise.context.SessionScoped; -import net.dontcode.core.project.DontCodeProjectModel; @RegisterAiService @SystemMessage(""" You are creating applications using the dont-code framework. This framework generates an application from a json file. Based on the user's demand, you provide a response and a design of the desired application in the json structured file. - You can dialog with the user using the field "reponse" of the json. + You can dialog with the user using the field "response" of the json. The application definition will be provided in the "content/creation" part of the json. - Here is the process to design the appliation: + Here is the process to design the application: When receiving a demand, find the entities that need to be managed. These entities must be defined in the "entities" list of the json. Then, for each object, look for necessary fields and their types. These fields are included in the "fields" list of each entity, a field can have the following pre-defined types: From b8cda4c1535625d35e46fb5a8693bb260509cabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sun, 15 Mar 2026 13:40:33 +0100 Subject: [PATCH 2/2] feat: 0.4.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 96e7290..19252be 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ 3.31.4 true 3.5.4 - 0.4.2-SNAPSHOT + 0.4.2