Package | Description |
---|---|
io.spokestack.spokestack |
The Spokestack package contains the core classes that implement the speech
recognition pipeline.
|
io.spokestack.spokestack.dialogue |
This package contains components used for dialogue management.
|
io.spokestack.spokestack.dialogue.policy |
This package contains Spokestack's custom rule-based dialogue policy and
supporting classes.
|
io.spokestack.spokestack.nlu |
This package contains components used for natural language understanding.
|
io.spokestack.spokestack.nlu.tensorflow |
This package contains components used to perform NLU with an on-device
TensorFlow Lite model.
|
io.spokestack.spokestack.rasa |
This package contains components used to perform NLU with Rasa NLU.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<NLUResult> |
Spokestack.classify(String utterance)
Classify a user utterance, returning a wrapper that can either block
until the classification is complete or call a registered callback when
the result is ready.
|
Modifier and Type | Method and Description |
---|---|
void |
SpokestackAdapter.call(NLUResult result)
Called when an NLU classification result is available if this class is
registered as a callback at classification time.
|
void |
SpokestackAdapter.nluResult(NLUResult result)
Called when an NLU classification result is available if this class is
registered as a callback at classification time.
|
void |
Spokestack.nluResult(NLUResult result) |
Modifier and Type | Method and Description |
---|---|
NLUResult |
DialogueManager.getLastTurn()
Get the last user turn processed by the dialogue manager.
|
Modifier and Type | Method and Description |
---|---|
void |
DialogueManager.call(NLUResult arg) |
void |
DialoguePolicy.handleTurn(NLUResult userTurn,
ConversationData conversationData,
DialogueDispatcher eventDispatcher)
Process a user turn and return a relevant response.
|
void |
DialogueManager.processTurn(NLUResult userTurn)
Process a user turn, dispatching dialogue events when system responses
are available.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleBasedDialoguePolicy.handleTurn(NLUResult nluResult,
ConversationData conversationData,
DialogueDispatcher eventDispatcher) |
Modifier and Type | Method and Description |
---|---|
NLUResult |
NLUResult.Builder.build()
Uses the current builder state to create an NLU result.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<NLUResult> |
NLUManager.classify(String utterance)
Classify a user utterance, returning a wrapper that can either block
until the classification is complete or call a registered callback when
the result is ready.
|
AsyncResult<NLUResult> |
NLUService.classify(String utterance,
NLUContext context)
Classifies a user utterance.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<NLUResult> |
TensorflowNLU.classify(String utterance)
Classify a user utterance, returning a wrapper that can either block
until the classification is complete or call a registered callback when
the result is ready.
|
AsyncResult<NLUResult> |
TensorflowNLU.classify(String utterance,
NLUContext nluContext) |
Modifier and Type | Method and Description |
---|---|
AsyncResult<NLUResult> |
RasaOpenSourceNLU.classify(String utterance,
NLUContext nluContext) |
Modifier and Type | Method and Description |
---|---|
void |
RasaDialoguePolicy.handleTurn(NLUResult userTurn,
ConversationData conversationData,
DialogueDispatcher eventDispatcher) |
Copyright © 2021. All rights reserved.