Merged PR 74: Update Canvas
Update Canvas
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user