Class TrainingQuery

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.TrainingQuery
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Training query details.
  • Constructor Details

    • TrainingQuery

      public TrainingQuery()
  • Method Details

    • getQueryId

      public String getQueryId()
      Gets the queryId.

      The query ID associated with the training query.

      Returns:
      the queryId
    • getNaturalLanguageQuery

      public String getNaturalLanguageQuery()
      Gets the naturalLanguageQuery.

      The natural text query for the training query.

      Returns:
      the naturalLanguageQuery
    • getFilter

      public String getFilter()
      Gets the filter.

      The filter used on the collection before the **natural_language_query** is applied.

      Returns:
      the filter
    • getExamples

      public List<TrainingExample> getExamples()
      Gets the examples.

      Array of training examples.

      Returns:
      the examples