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 | Method and Description |
---|---|
List<TrainingExample> |
examples()
Gets the examples.
|
String |
filter()
Gets the filter.
|
String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
CreateTrainingQueryOptions.Builder |
newBuilder()
New builder.
|
String |
projectId()
Gets the projectId.
|
public CreateTrainingQueryOptions.Builder newBuilder()
public String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
public String naturalLanguageQuery()
The natural text query for the training query.
public List<TrainingExample> examples()
Array of training examples.
public String filter()
The filter used on the collection before the **natural_language_query** is applied.
Copyright © 2021 IBM Cloud. All rights reserved.