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> |
CreateTrainingQueryOptions.examples()
Gets the examples.
|
List<TrainingExample> |
TrainingQuery.examples()
Gets the examples.
|
List<TrainingExample> |
UpdateTrainingQueryOptions.examples()
Gets the examples.
|
Modifier and Type | Method and Description |
---|---|
CreateTrainingQueryOptions.Builder |
CreateTrainingQueryOptions.Builder.addExamples(TrainingExample examples)
Adds a new element to examples.
|
TrainingQuery.Builder |
TrainingQuery.Builder.addExamples(TrainingExample examples)
Adds a new element to examples.
|
UpdateTrainingQueryOptions.Builder |
UpdateTrainingQueryOptions.Builder.addExamples(TrainingExample examples)
Adds a new element to examples.
|
Modifier and Type | Method and Description |
---|---|
CreateTrainingQueryOptions.Builder |
CreateTrainingQueryOptions.Builder.examples(List<TrainingExample> examples)
Set the examples.
|
TrainingQuery.Builder |
TrainingQuery.Builder.examples(List<TrainingExample> examples)
Set the examples.
|
UpdateTrainingQueryOptions.Builder |
UpdateTrainingQueryOptions.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 © 2024 IBM Cloud. All rights reserved.