Class NeuralQuery
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class NeuralQuery : FieldNameQueryBase, INeuralQuery, IFieldNameQuery, IQuery
Properties
|
Edit this page
View Source
Conditionless
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
|
Edit this page
View Source
K
The number of results the k-NN search returns.
Declaration
public int? K { get; set; }
Property Value
|
Edit this page
View Source
ModelId
The ID of the model that will be used in the embedding interface.
The model must be indexed in OpenSearch before it can be used in Neural Search.
Declaration
public string ModelId { get; set; }
Property Value
|
Edit this page
View Source
QueryText
The query text from which to produce queries.
Declaration
public string QueryText { get; set; }
Property Value
Implements
Extension Methods