| Package | Description |
|---|---|
| com.xatkit.core |
Contains the core components of the Xatkit framework.
|
| com.xatkit.core.platform |
Contains the abstract classes to implement to provide custom platforms.
|
| com.xatkit.core.platform.action |
Contains the abstract classes to implement to provide custom platform's actions.
|
| com.xatkit.core.platform.io |
Contains the abstract classes to implement to provide custom platform's input provider.
|
| com.xatkit.core.recognition |
Contains the abstract classes to implement to provide custom intent recognition.
|
| com.xatkit.core.recognition.dialogflow |
An intent recognition provider implementation for the DialogFlow platform.
|
| com.xatkit.core.recognition.processor | |
| com.xatkit.core.recognition.regex | |
| com.xatkit.core.server |
Contains the Xatkit server implementation.
|
| com.xatkit.core.session |
Contains the classes to manage sessions and contexts.
|
| Modifier and Type | Method and Description |
|---|---|
XatkitSession |
XatkitCore.getOrCreateXatkitSession(String sessionId)
Retrieves or creates the
XatkitSession associated to the provided sessionId. |
XatkitSession |
XatkitCore.getXatkitSession(String sessionId)
Returns the
XatkitSession associated to the provided sessionId |
| Modifier and Type | Method and Description |
|---|---|
Iterable<XatkitSession> |
XatkitCore.getXatkitSessions() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionService.handleEventInstance(com.xatkit.intent.EventInstance eventInstance,
XatkitSession session)
Handles the provided
eventInstance and executes the corresponding RuntimeActions defined in the
ExecutionModel. |
| Modifier and Type | Method and Description |
|---|---|
RuntimeAction |
RuntimePlatform.createRuntimeAction(org.eclipse.xtext.xbase.XMemberFeatureCall actionCall,
List<Object> arguments,
XatkitSession session)
Creates a new
RuntimeAction instance from the provided XMemberFeatureCall. |
| Modifier and Type | Field and Description |
|---|---|
protected XatkitSession |
RuntimeAction.session
The
XatkitSession associated to this action. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract XatkitSession |
RuntimeArtifactAction.getClientSession()
Returns the
XatkitSession associated to the client of the artifact to send. |
XatkitSession |
RuntimeAction.getSession()
Returns the
XatkitSession used to compute this action. |
| Constructor and Description |
|---|
RestAction(T runtimePlatform,
XatkitSession session,
RestAction.MethodKind method,
Map<String,String> headers,
String restEndpoint,
Map<String,Object> params,
com.google.gson.JsonElement jsonContent)
Constructs a new
RestAction. |
RestGetAction(T runtimePlatform,
XatkitSession session,
Map<String,String> headers,
String restEndpoint,
Map<String,Object> params)
Constructs a new
RestGetAction. |
RestPostAction(T runtimePlatform,
XatkitSession session,
Map<String,String> headers,
String restEndpoint,
Map<String,Object> params,
com.google.gson.JsonElement jsonContent)
Constructs a new
RestPostAction. |
RuntimeAction(T runtimePlatform,
XatkitSession session)
|
RuntimeArtifactAction(T runtimePlatform,
XatkitSession session)
|
RuntimeMessageAction(T runtimePlatform,
XatkitSession session,
String rawMessage)
|
| Modifier and Type | Method and Description |
|---|---|
static com.xatkit.intent.RecognizedIntent |
IntentRecognitionHelper.getRecognizedIntent(String input,
XatkitSession session,
XatkitCore xatkitCore)
Returns the
RecognizedIntent from the provided user input and session. |
void |
RuntimeEventProvider.sendEventInstance(com.xatkit.intent.EventInstance eventInstance,
XatkitSession session)
Sends the provided
eventInstance and session for computation to the Xatkit core component. |
| Modifier and Type | Method and Description |
|---|---|
abstract XatkitSession |
IntentRecognitionProvider.createSession(String sessionId)
Creates a new
XatkitSession from the provided sessionId. |
| Modifier and Type | Method and Description |
|---|---|
com.xatkit.intent.RecognizedIntent |
IntentRecognitionProvider.getIntent(String input,
XatkitSession session)
Returns the
RecognizedIntent extracted from te provided input. |
protected abstract com.xatkit.intent.RecognizedIntent |
IntentRecognitionProvider.getIntentInternal(String input,
XatkitSession session)
Returns the raw
RecognizedIntent extracted from the provided input. |
void |
RecognitionMonitor.logRecognizedIntent(XatkitSession session,
com.xatkit.intent.RecognizedIntent recognizedIntent)
Logs the recognition information from the provided
recognizedIntent and session. |
| Modifier and Type | Class and Description |
|---|---|
class |
DialogFlowSession
A DialogFlow
XatkitSession implementation that relies on DialogFlow internal sessions. |
| Modifier and Type | Method and Description |
|---|---|
XatkitSession |
DialogFlowApi.createSession(String sessionId)
Creates a new
XatkitSession from the provided sessionId. |
| Modifier and Type | Method and Description |
|---|---|
com.xatkit.intent.RecognizedIntent |
DialogFlowApi.getIntentInternal(String input,
XatkitSession session)
Returns the raw
RecognizedIntent extracted from the provided input. |
| Modifier and Type | Method and Description |
|---|---|
protected edu.stanford.nlp.pipeline.Annotation |
StanfordNLPPostProcessor.getAnnotation(String input,
XatkitSession session)
Computes the
Annotation for the provided input. |
com.xatkit.intent.RecognizedIntent |
IsEnglishYesNoQuestionPostProcessor.process(com.xatkit.intent.RecognizedIntent recognizedIntent,
XatkitSession session)
Processes the provided
recognizedIntent and sets the nlp.isYesNo context parameter. |
com.xatkit.intent.RecognizedIntent |
IntentPostProcessor.process(com.xatkit.intent.RecognizedIntent recognizedIntent,
XatkitSession session)
Processes the provided
recognizedIntent. |
com.xatkit.intent.RecognizedIntent |
EnglishSentimentPostProcessor.process(com.xatkit.intent.RecognizedIntent recognizedIntent,
XatkitSession session)
Processes the provided
recognizedIntent and sets the nlp.sentiment context parameter. |
com.xatkit.intent.RecognizedIntent |
RemoveEnglishStopWordsPostProcessor.process(com.xatkit.intent.RecognizedIntent recognizedIntent,
XatkitSession session)
Removes the English stop words from the
recognizedIntent's parameter values extracted from any
entities. |
String |
InputPreProcessor.process(String input,
XatkitSession session)
Processes the provided
input. |
| Modifier and Type | Method and Description |
|---|---|
XatkitSession |
RegExIntentRecognitionProvider.createSession(String sessionId)
Creates a new
XatkitSession from the provided sessionId. |
| Modifier and Type | Method and Description |
|---|---|
com.xatkit.intent.RecognizedIntent |
RegExIntentRecognitionProvider.getIntentInternal(String input,
XatkitSession session)
Computes the
RecognizedIntent associated to the provided input. |
| Modifier and Type | Method and Description |
|---|---|
File |
XatkitServer.createOrReplacePublicFile(XatkitSession session,
String path,
byte[] content) |
File |
XatkitServer.createOrReplacePublicFile(XatkitSession session,
String path,
File origin)
Creates a publicly accessible file from the provided
session, path, and origin. |
File |
XatkitServer.createOrReplacePublicFile(XatkitSession session,
String path,
String content)
Creates a publicly accessible file from the provided
session, path, and content. |
File |
XatkitServer.getPublicFile(XatkitSession session,
String filePath)
|
| Modifier and Type | Method and Description |
|---|---|
void |
XatkitSession.merge(XatkitSession other)
Merges this
XatkitSession with the provided other. |
Copyright © 2020 SOM Research Lab. All rights reserved.