Update Canvas

This commit is contained in:
2025-03-03 16:39:58 +01:00
parent 1195c55600
commit b692c5d100

View File

@@ -49,7 +49,7 @@ public class CanvasExecutionService {
if(input != null){
olympusChatClient = createCanvasClient(aiModelRepository);
String userText = input;
String systemText = "Answer the following question using the language below using markdown: ";
String systemText = "Answer the following question: ";
OlympusChatClientResponse resp = olympusChatClient.getChatCompletion(systemText +"\n"+ userText);
canvasOutput.setStringOutput(resp.getContent());
@@ -72,7 +72,7 @@ public class CanvasExecutionService {
if(input != null){
olympusChatClient = createCanvasClient(aiModelRepository);
String userText = input;
String systemText = "Rephrase the following text using the language below using markdown: ";
String systemText = "Rephrase the following text: ";
OlympusChatClientResponse resp = olympusChatClient.getChatCompletion(systemText+"\n"+userText);
canvasOutput.setStringOutput(resp.getContent());
@@ -96,7 +96,7 @@ public class CanvasExecutionService {
if(input != null){
olympusChatClient = createCanvasClient(aiModelRepository);
String userText = input;
String systemText = "Summarize the following text using the language below using markdown: ";
String systemText = "Summarize the following text: ";
OlympusChatClientResponse resp = olympusChatClient.getChatCompletion(systemText+"\n"+userText);
canvasOutput.setStringOutput(resp.getContent());