Skip to content

Commit 8a33c45

Browse files
committed
financial app and aiholo work
1 parent bd5a28b commit 8a33c45

File tree

117 files changed

+2
-2731
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+2
-2731
lines changed

interactive-ai-holograms/java-version/src/main/java/oracleai/aiholo/AIHoloController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ else if (languageCode.equals("es-ES"))
258258
else answer = "I'm sorry. I couldn't find an answer in the database";
259259
if (selectedMode.contains("use vector")) {
260260
question = question.replace("use vectorrag", "").trim();
261-
question += ". Respond in 20 words or less";
261+
question += ". Respond in 25 words or less. " + aiholo_prompt_additions;
262262
answer = executeSandbox(question);
263263
} else {
264264
if (selectedMode.contains("use narrate")) {
@@ -267,7 +267,7 @@ else if (languageCode.equals("es-ES"))
267267
} else {
268268
question = question.replace("use chat", "").trim();
269269
}
270-
question += ". Respond in 20 words or less. " + aiholo_prompt_additions;
270+
question += ". Respond in 25 words or less. " + aiholo_prompt_additions;
271271
try (Connection connection = dataSource.getConnection();
272272
PreparedStatement preparedStatement = connection.prepareStatement(sql)) {
273273
System.out.println("Database Connection : " + connection);

0 commit comments

Comments
 (0)