Interface INeuralQuery
A neural query.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface INeuralQuery : IFieldNameQuery, IQuery
Properties
| Edit this page View SourceK
The number of results the k-NN search returns.
Declaration
[DataMember(Name = "k")]
int? K { get; set; }
Property Value
Type | Description |
---|---|
int? |
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
[DataMember(Name = "model_id")]
string ModelId { get; set; }
Property Value
Type | Description |
---|---|
string |
QueryText
The query text from which to produce queries.
Declaration
[DataMember(Name = "query_text")]
string QueryText { get; set; }
Property Value
Type | Description |
---|---|
string |