Search Results for

    Show / Hide Table of Contents

    Interface INeuralQuery

    A neural query.

    Inherited Members
    IFieldNameQuery.Field
    IQuery.Boost
    IQuery.Conditionless
    IQuery.IsStrict
    IQuery.IsVerbatim
    IQuery.IsWritable
    IQuery.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface INeuralQuery : IFieldNameQuery, IQuery

    Properties

    | Edit this page View Source

    K

    The number of results the k-NN search returns.

    Declaration
    [DataMember(Name = "k")]
    int? K { get; set; }
    Property Value
    Type Description
    int?
    | 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
    [DataMember(Name = "model_id")]
    string ModelId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    QueryText

    The query text from which to produce queries.

    Declaration
    [DataMember(Name = "query_text")]
    string QueryText { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • K
      • ModelId
      • QueryText
    • Extension Methods
    Back to top Generated by DocFX