Package | Description |
---|---|
com.ibm.watson.discovery.v2.model |
Modifier and Type | Method and Description |
---|---|
TrainingExample |
TrainingExample.Builder.build()
Builds a TrainingExample.
|
Modifier and Type | Method and Description |
---|---|
List<TrainingExample> |
TrainingQuery.examples()
Gets the examples.
|
List<TrainingExample> |
UpdateTrainingQueryOptions.examples()
Gets the examples.
|
List<TrainingExample> |
CreateTrainingQueryOptions.examples()
Gets the examples.
|
Modifier and Type | Method and Description |
---|---|
TrainingQuery.Builder |
TrainingQuery.Builder.addExamples(TrainingExample examples)
Adds an examples to examples.
|
UpdateTrainingQueryOptions.Builder |
UpdateTrainingQueryOptions.Builder.addExamples(TrainingExample examples)
Adds an examples to examples.
|
CreateTrainingQueryOptions.Builder |
CreateTrainingQueryOptions.Builder.addExamples(TrainingExample examples)
Adds an examples to examples.
|
Modifier and Type | Method and Description |
---|---|
TrainingQuery.Builder |
TrainingQuery.Builder.examples(List<TrainingExample> examples)
Set the examples.
|
UpdateTrainingQueryOptions.Builder |
UpdateTrainingQueryOptions.Builder.examples(List<TrainingExample> examples)
Set the examples.
|
CreateTrainingQueryOptions.Builder |
CreateTrainingQueryOptions.Builder.examples(List<TrainingExample> examples)
Set the examples.
|
Constructor and Description |
---|
Builder(String naturalLanguageQuery,
List<TrainingExample> examples)
Instantiates a new builder with required properties.
|
Builder(String projectId,
String naturalLanguageQuery,
List<TrainingExample> examples)
Instantiates a new builder with required properties.
|
Builder(String projectId,
String queryId,
String naturalLanguageQuery,
List<TrainingExample> examples)
Instantiates a new builder with required properties.
|
Copyright © 2023 IBM Cloud. All rights reserved.