public class AddTrainingDataOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
AddTrainingDataOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
collectionId()
Gets the collectionId.
|
String |
environmentId()
Gets the environmentId.
|
List<TrainingExample> |
examples()
Gets the examples.
|
String |
filter()
Gets the filter.
|
String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
AddTrainingDataOptions.Builder |
newBuilder()
New builder.
|
public AddTrainingDataOptions.Builder newBuilder()
public String environmentId()
The ID of the environment.
public String collectionId()
The ID of the collection.
public String naturalLanguageQuery()
The natural text query for the new training query.
public String filter()
The filter used on the collection before the **natural_language_query** is applied.
public List<TrainingExample> examples()
Array of training examples.
Copyright © 2021 IBM Cloud. All rights reserved.