Uses of Class
com.composum.sling.nodes.ai.AIService.AIServiceException
-
Packages that use AIService.AIServiceException Package Description com.composum.sling.nodes.ai com.composum.sling.nodes.ai.impl -
-
Uses of AIService.AIServiceException in com.composum.sling.nodes.ai
Subclasses of AIService.AIServiceException in com.composum.sling.nodes.ai Modifier and Type Class Description static class
AIService.AIServiceNotAvailableException
Methods in com.composum.sling.nodes.ai that throw AIService.AIServiceException Modifier and Type Method Description String
AIService. prompt(String systemprompt, String prompt, AIService.ResponseFormat responseFormat)
Simplest AI related service: execute a prompt and return the response of the AI. -
Uses of AIService.AIServiceException in com.composum.sling.nodes.ai.impl
Methods in com.composum.sling.nodes.ai.impl that throw AIService.AIServiceException Modifier and Type Method Description protected @NotNull String
AIServiceImpl. extractText(String responseJson)
String
AIServiceImpl. prompt(String systemmsg, String usermsg, AIService.ResponseFormat responseFormat)
protected String
AIServiceImpl. retrieveMessage(String id, org.apache.http.client.methods.CloseableHttpResponse response)
-