Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<quarkus.platform.version>3.31.4</quarkus.platform.version>
<skipITs>true</skipITs>
<surefire-plugin.version>3.5.4</surefire-plugin.version>
<dontcode-common.version>0.4.1-SNAPSHOT</dontcode-common.version>
<dontcode-common.version>0.4.2</dontcode-common.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading