public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
TrainingQuery.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
Date |
created()
Gets the created.
|
List<TrainingExample> |
examples()
Gets the examples.
|
String |
filter()
Gets the filter.
|
String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
TrainingQuery.Builder |
newBuilder()
New builder.
|
String |
queryId()
Gets the queryId.
|
Date |
updated()
Gets the updated.
|
public TrainingQuery.Builder newBuilder()
public String queryId()
The query ID associated with the training query.
public String naturalLanguageQuery()
The natural text query that is used as the training query.
public String filter()
The filter used on the collection before the **natural_language_query** is applied. Only specify a filter if the documents that you consider to be most relevant are not included in the top 100 results when you submit test queries. If you specify a filter during training, apply the same filter to queries that are submitted at runtime for optimal ranking results.
public Date created()
The date and time the query was created.
public Date updated()
The date and time the query was updated.
public List<TrainingExample> examples()
Array of training examples.
Copyright © 2024 IBM Cloud. All rights reserved.