SearchResult.EmbeddingMatchInfo(Double, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new immutable EmbeddingMatchInfo.
[Android.Runtime.Register(".ctor", "(DII)V", "", ApiSince=36)]
public EmbeddingMatchInfo(double semanticScore, int queryEmbeddingVectorIndex, int embeddingSearchMetricType);
[<Android.Runtime.Register(".ctor", "(DII)V", "", ApiSince=36)>]
new Android.App.AppSearch.SearchResult.EmbeddingMatchInfo : double * int * int -> Android.App.AppSearch.SearchResult.EmbeddingMatchInfo
Parameters
- semanticScore
- Double
the semantic score of the embedding match against the query vector.
- queryEmbeddingVectorIndex
- Int32
the index of the matched query embedding vector in
SearchSpec#getEmbeddingParameters()
- embeddingSearchMetricType
- Int32
the search metric type used to calculate the score for the match and the query vector
- Attributes
Remarks
Creates a new immutable EmbeddingMatchInfo.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.