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 | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
environmentId |
protected java.util.List<TrainingExample> |
examples |
protected java.lang.String |
filter |
protected java.lang.String |
naturalLanguageQuery |
Modifier | Constructor and Description |
---|---|
protected |
AddTrainingDataOptions(AddTrainingDataOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
java.util.List<TrainingExample> |
examples()
Gets the examples.
|
java.lang.String |
filter()
Gets the filter.
|
java.lang.String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
AddTrainingDataOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String environmentId
protected java.lang.String collectionId
protected java.lang.String naturalLanguageQuery
protected java.lang.String filter
protected java.util.List<TrainingExample> examples
protected AddTrainingDataOptions(AddTrainingDataOptions.Builder builder)
public AddTrainingDataOptions.Builder newBuilder()
public java.lang.String environmentId()
The ID of the environment.
public java.lang.String collectionId()
The ID of the collection.
public java.lang.String naturalLanguageQuery()
The natural text query for the new training query.
public java.lang.String filter()
The filter used on the collection before the **natural_language_query** is applied.
public java.util.List<TrainingExample> examples()
Array of training examples.