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 *Integrate and Deploy* page in Discovery.
public String naturalLanguageQuery()
The natural text query that is used as 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 © 2023 IBM Cloud. All rights reserved.