Package ai.tock.bot.admin.service
Object CompletionService
-
- All Implemented Interfaces:
public class CompletionService
-
-
Field Summary
Fields Modifier and Type Field Description public final static CompletionServiceINSTANCE
-
Method Summary
Modifier and Type Method Description final CompletionResponsegenerate(PlaygroundRequest request, String namespace, String botId)Generate sentences final SentenceCompletionResponsegenerateSentences(SentenceGenerationRequest request, String namespace, String botId)Generate sentences -
-
Method Detail
-
generate
final CompletionResponse generate(PlaygroundRequest request, String namespace, String botId)
Generate sentences
-
generateSentences
final SentenceCompletionResponse generateSentences(SentenceGenerationRequest request, String namespace, String botId)
Generate sentences
- Parameters:
request- SentenceGenerationRequest : the sentence generation requestnamespace- String : the namespacebotId- String : the bot id- Returns:
SentenceCompletionResponse
-
-
-
-