Lingua

SearchSpec.Builder.AddEmbeddingParameters Method

Definition

Overloads

Name Description
AddEmbeddingParameters(EmbeddingVector[])

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

AddEmbeddingParameters(ICollection<EmbeddingVector>)

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

AddEmbeddingParameters(EmbeddingVector[])

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

[Android.Runtime.Register("addEmbeddingParameters", "([Landroid/app/appsearch/EmbeddingVector;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.SearchSpec.Builder AddEmbeddingParameters(params Android.App.AppSearch.EmbeddingVector[] searchEmbeddings);
[<Android.Runtime.Register("addEmbeddingParameters", "([Landroid/app/appsearch/EmbeddingVector;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)>]
member this.AddEmbeddingParameters : Android.App.AppSearch.EmbeddingVector[] -> Android.App.AppSearch.SearchSpec.Builder

Parameters

searchEmbeddings
EmbeddingVector[]

Returns

Attributes

Remarks

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

Android reference for android.app.appsearch.SearchSpec.Builder.addEmbeddingParameters.

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.

Applies to

AddEmbeddingParameters(ICollection<EmbeddingVector>)

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

[Android.Runtime.Register("addEmbeddingParameters", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.SearchSpec.Builder AddEmbeddingParameters(System.Collections.Generic.ICollection<Android.App.AppSearch.EmbeddingVector> searchEmbeddings);
[<Android.Runtime.Register("addEmbeddingParameters", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)>]
member this.AddEmbeddingParameters : System.Collections.Generic.ICollection<Android.App.AppSearch.EmbeddingVector> -> Android.App.AppSearch.SearchSpec.Builder

Parameters

searchEmbeddings
ICollection<EmbeddingVector>

Returns

Attributes

Remarks

Adds an embedding search to SearchSpec Entry, which will be referred in the query expression and the ranking expression for embedding search.

Android reference for android.app.appsearch.SearchSpec.Builder.addEmbeddingParameters.

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.

Applies to