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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSearchRequest.Types.EmbeddingSpec\u003c/code\u003e class within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEmbeddingSpec\u003c/code\u003e is designed to use a customized query embedding vector for semantic document retrieval.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and one that takes another \u003ccode\u003eEmbeddingSpec\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEmbeddingVectors\u003c/code\u003e property, which is of type \u003ccode\u003eRepeatedField\u003c/code\u003e, holds the embedding vector used for retrieval and is limited to one.\u003c/p\u003e\n"]]],[],null,[]]