Class PredictRequest
Inheritance
PredictRequest
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class PredictRequest : PlainRequestBase<PredictRequestParameters>, IPredictRequest, IRequest<PredictRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
PredictRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected PredictRequest()
|
Edit this page
View Source
PredictRequest(Name, Id)
/_plugins/_ml/_predict/{algorithm_name}/{model_id}
Declaration
public PredictRequest(Name algorithmName, Id modelId)
Parameters
| Type |
Name |
Description |
| Name |
algorithmName |
this parameter is required
|
| Id |
modelId |
this parameter is required
|
Fields
|
Edit this page
View Source
MinimumServerVersion
Minimum OpenSearch version required for this API.
Declaration
public const string MinimumServerVersion = "1.3"
Field Value
Properties
|
Edit this page
View Source
Declaration
public IList<string> InputIndex { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public IInputQuery InputQuery { get; set; }
Property Value
|
Edit this page
View Source
ReturnNumber
Declaration
public bool? ReturnNumber { get; set; }
Property Value
|
Edit this page
View Source
Self
Declaration
protected IPredictRequest Self { get; }
Property Value
|
Edit this page
View Source
TargetResponse
Declaration
public IList<string> TargetResponse { get; set; }
Property Value
|
Edit this page
View Source
TextDocs
Declaration
public IList<string> TextDocs { get; set; }
Property Value
Implements
Extension Methods