public sealed class SearchRequest.Types.EmbeddingSpec : IMessage<SearchRequest.Types.EmbeddingSpec>, IEquatable<SearchRequest.Types.EmbeddingSpec>, IDeepCloneable<SearchRequest.Types.EmbeddingSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchRequest.Types.EmbeddingSpec.
The specification that uses customized query embedding vector to do semantic document retrieval.
Implements
IMessageSearchRequestTypesEmbeddingSpec, IEquatableSearchRequestTypesEmbeddingSpec, IDeepCloneableSearchRequestTypesEmbeddingSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
EmbeddingSpec()
public EmbeddingSpec()
EmbeddingSpec(EmbeddingSpec)
public EmbeddingSpec(SearchRequest.Types.EmbeddingSpec other)
Parameter | |
---|---|
Name | Description |
other | SearchRequestTypesEmbeddingSpec |
Properties
EmbeddingVectors
public RepeatedField<SearchRequest.Types.EmbeddingSpec.Types.EmbeddingVector> EmbeddingVectors { get; }
The embedding vector used for retrieval. Limit to 1.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSearchRequestTypesEmbeddingSpecTypesEmbeddingVector |