| Package | Description | 
|---|---|
| com.ibm.watson.discovery.v1 | 
 Discovery v1. 
 | 
| com.ibm.watson.discovery.v1.model | 
| Modifier and Type | Method and Description | 
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> | 
Discovery.createTrainingExample(CreateTrainingExampleOptions createTrainingExampleOptions)
Add example to training data query. 
 | 
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> | 
Discovery.getTrainingExample(GetTrainingExampleOptions getTrainingExampleOptions)
Get details for training data example. 
 | 
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> | 
Discovery.updateTrainingExample(UpdateTrainingExampleOptions updateTrainingExampleOptions)
Change label or cross reference for example. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TrainingExample | 
TrainingExample.Builder.build()
Builds a TrainingExample. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<TrainingExample> | 
AddTrainingDataOptions.examples()
Gets the examples. 
 | 
List<TrainingExample> | 
TrainingQuery.getExamples()
Gets the examples. 
 | 
List<TrainingExample> | 
TrainingExampleList.getExamples()
Gets the examples. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AddTrainingDataOptions.Builder | 
AddTrainingDataOptions.Builder.addExamples(TrainingExample examples)
Adds an examples to examples. 
 | 
CreateTrainingExampleOptions.Builder | 
CreateTrainingExampleOptions.Builder.trainingExample(TrainingExample trainingExample)
Set the trainingExample. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AddTrainingDataOptions.Builder | 
AddTrainingDataOptions.Builder.examples(List<TrainingExample> examples)
Set the examples. 
 | 
Copyright © 2021 IBM Cloud. All rights reserved.