public class CreateTrainingQueryOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateTrainingQueryOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<TrainingExample> |
examples |
protected java.lang.String |
filter |
protected java.lang.String |
naturalLanguageQuery |
protected java.lang.String |
projectId |
Modifier | Constructor and Description |
---|---|
protected |
CreateTrainingQueryOptions(CreateTrainingQueryOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TrainingExample> |
examples()
Gets the examples.
|
java.lang.String |
filter()
Gets the filter.
|
java.lang.String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
CreateTrainingQueryOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
projectId()
Gets the projectId.
|
protected java.lang.String projectId
protected java.lang.String naturalLanguageQuery
protected java.util.List<TrainingExample> examples
protected java.lang.String filter
protected CreateTrainingQueryOptions(CreateTrainingQueryOptions.Builder builder)
public CreateTrainingQueryOptions.Builder newBuilder()
public java.lang.String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
public java.lang.String naturalLanguageQuery()
The natural text query for the training query.
public java.util.List<TrainingExample> examples()
Array of training examples.
public java.lang.String filter()
The filter used on the collection before the **natural_language_query** is applied.