| 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.
|
| Modifier and Type | Method and Description |
|---|---|
FinalizedPrompt |
Spokestack.finalizePrompt(Prompt prompt)
Finalize a prompt, interpolating template strings using the current
conversation data store.
|
| Modifier and Type | Method and Description |
|---|---|
Prompt |
Prompt.Builder.build() |
Prompt |
ConversationState.getPrompt() |
Prompt[] |
Prompt.getReprompts() |
| Modifier and Type | Method and Description |
|---|---|
FinalizedPrompt |
DialogueManager.finalizePrompt(Prompt prompt)
Finalize a prompt, interpolating template strings using the current
conversation data store.
|
ConversationState.Builder |
ConversationState.Builder.withPrompt(Prompt prompt)
Include a system prompt in the conversation state.
|
| Modifier and Type | Method and Description |
|---|---|
Prompt.Builder |
Prompt.Builder.withReprompts(List<Prompt> prompts)
Specify reprompts for the current prompt.
|
| Modifier and Type | Method and Description |
|---|---|
Prompt |
SystemTurn.getPrompt() |
Prompt[] |
Model.Rule.getPrompts() |
| Modifier and Type | Method and Description |
|---|---|
void |
SystemTurn.setPrompt(Prompt systemPrompt)
Set the prompt associated with this system turn.
|
Copyright © 2021. All rights reserved.