Class TrainModelRequestParameters
Request options for TrainModel
https://opensearch.org/docs/latest/search-plugins/knn/api/#train-model
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.KnnApi
Assembly: OpenSearch.Net.dll
Syntax
public class TrainModelRequestParameters : RequestParameters<TrainModelRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceDefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourcePreference
Preferred node to execute training.
Declaration
public string Preference { get; set; }
Property Value
Type | Description |
---|---|
string |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |