| Package | Description |
|---|---|
| ai.api | |
| ai.api.model |
| Modifier and Type | Method and Description |
|---|---|
AIContext |
AIDataService.getActiveContext(String contextName)
Retrieves the specified context for a session
|
AIContext |
AIDataService.getActiveContext(String contextName,
AIServiceContext serviceContext)
Retrieves the specified context for a session
|
| Modifier and Type | Method and Description |
|---|---|
List<AIContext> |
AIDataService.getActiveContexts()
Retrieves the list of all currently active contexts for a session
|
List<AIContext> |
AIDataService.getActiveContexts(AIServiceContext serviceContext)
Retrieves the list of all currently active contexts for a session
|
List<AIContext> |
RequestExtras.getContexts() |
| Modifier and Type | Method and Description |
|---|---|
String |
AIDataService.addActiveContext(AIContext context)
Adds new active context for a session
|
String |
AIDataService.addActiveContext(AIContext context,
AIServiceContext serviceContext)
Adds new active context for a session
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
AIDataService.addActiveContext(Iterable<AIContext> contexts)
Adds new active contexts for a session
|
List<String> |
AIDataService.addActiveContext(Iterable<AIContext> contexts,
AIServiceContext serviceContext)
Adds new active contexts for a session
|
void |
RequestExtras.setContexts(List<AIContext> contexts) |
AIResponse |
AIDataService.voiceRequest(InputStream voiceStream,
List<AIContext> aiContexts)
Make requests to the AI service with voice data.
|
| Constructor and Description |
|---|
RequestExtras(List<AIContext> contexts,
List<Entity> entities) |
| Modifier and Type | Method and Description |
|---|---|
void |
AIRequest.addContext(AIContext aiContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
AIRequest.setContexts(List<AIContext> contexts) |
Copyright © 2017. All rights reserved.