public class AdminService
| Modifier and Type | Field and Description |
|---|---|
static AdminService |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ai.tock.nlp.front.shared.config.IntentDefinition |
createOrGetIntent(java.lang.String namespace,
ai.tock.nlp.front.shared.config.IntentDefinition intent) |
ai.tock.nlp.front.shared.config.IntentDefinition |
createOrUpdateIntent(java.lang.String namespace,
ai.tock.nlp.front.shared.config.IntentDefinition intent) |
ApplicationWithIntents |
getApplicationWithIntents(org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId) |
ApplicationWithIntents |
getApplicationWithIntents(ai.tock.nlp.front.shared.config.ApplicationDefinition application) |
ai.tock.nlp.front.client.FrontClient |
getFront() |
SentenceReport |
parseSentence(ParseQuery query) |
LogsReport |
searchLogs(LogsQuery query) |
SentencesReport |
searchSentences(SearchQuery query,
boolean encryptSentences) |
EntityTestErrorQueryResultReport |
searchTestEntityErrors(ai.tock.nlp.front.shared.test.TestErrorQuery query,
boolean encryptSentences) |
IntentTestErrorQueryResultReport |
searchTestIntentErrors(ai.tock.nlp.front.shared.test.TestErrorQuery query,
boolean encryptSentences) |
java.util.List<ai.tock.nlp.admin.model.TestBuildStat> |
testBuildStats(TestBuildQuery query,
ai.tock.nlp.front.shared.config.ApplicationDefinition app) |
TranslateReport |
translateSentences(TranslateSentencesQuery query) |
UpdateSentencesReport |
updateSentences(UpdateSentencesQuery query) |
public static AdminService INSTANCE
@NotNull public ai.tock.nlp.front.client.FrontClient getFront()
@NotNull public SentenceReport parseSentence(@NotNull ParseQuery query)
@NotNull public SentencesReport searchSentences(@NotNull SearchQuery query, boolean encryptSentences)
@NotNull public UpdateSentencesReport updateSentences(@NotNull UpdateSentencesQuery query)
@NotNull public TranslateReport translateSentences(@NotNull TranslateSentencesQuery query)
@Nullable public ApplicationWithIntents getApplicationWithIntents(@NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId)
@NotNull public ApplicationWithIntents getApplicationWithIntents(@NotNull ai.tock.nlp.front.shared.config.ApplicationDefinition application)
@Nullable
public ai.tock.nlp.front.shared.config.IntentDefinition createOrGetIntent(@NotNull
java.lang.String namespace,
@NotNull
ai.tock.nlp.front.shared.config.IntentDefinition intent)
@Nullable
public ai.tock.nlp.front.shared.config.IntentDefinition createOrUpdateIntent(@NotNull
java.lang.String namespace,
@NotNull
ai.tock.nlp.front.shared.config.IntentDefinition intent)
@NotNull public LogsReport searchLogs(@NotNull LogsQuery query)
@NotNull public IntentTestErrorQueryResultReport searchTestIntentErrors(@NotNull ai.tock.nlp.front.shared.test.TestErrorQuery query, boolean encryptSentences)
@NotNull public EntityTestErrorQueryResultReport searchTestEntityErrors(@NotNull ai.tock.nlp.front.shared.test.TestErrorQuery query, boolean encryptSentences)
@NotNull
public java.util.List<ai.tock.nlp.admin.model.TestBuildStat> testBuildStats(@NotNull
TestBuildQuery query,
@NotNull
ai.tock.nlp.front.shared.config.ApplicationDefinition app)