SearchResult.EmbeddingMatchInfo.EmbeddingSearchMetricType Property
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.
Gets the embedding search metric type that this embedding match corresponds to.
public int EmbeddingSearchMetricType { [Android.Runtime.Register("getEmbeddingSearchMetricType", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getEmbeddingSearchMetricType", "()I", "", ApiSince=36)>]
member this.EmbeddingSearchMetricType : int
Property Value
Value is one of the following: SearchSpec.EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT SearchSpec.EMBEDDING_SEARCH_METRIC_TYPE_COSINE SearchSpec.EMBEDDING_SEARCH_METRIC_TYPE_DOT_PRODUCT SearchSpec.EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN
- Attributes
Remarks
Gets the embedding search metric type that this embedding match corresponds to.
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.