| Package | Description |
|---|---|
| io.spokestack.spokestack.nlu |
This package contains components used for natural language understanding.
|
| Modifier and Type | Method and Description |
|---|---|
NLUResult.Builder |
NLUResult.Builder.withConfidence(float confidence)
Set the confidence for the intent classification.
|
NLUResult.Builder |
NLUResult.Builder.withContext(Map<String,Object> context)
Attaches the context returned by the NLU service.
|
NLUResult.Builder |
NLUResult.Builder.withError(Throwable error)
Attaches an error encountered while performing NLU.
|
NLUResult.Builder |
NLUResult.Builder.withIntent(String intent)
Attaches the user intent classified by the NLU service.
|
NLUResult.Builder |
NLUResult.Builder.withSlots(Map<String,Slot> slots)
Attaches the slot values extracted from the user utterance.
|
Copyright © 2021. All rights reserved.