Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::EmbedContentResponse (v1.30.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::EmbedContentResponse.

Response message for PredictionService.EmbedContent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#embedding

def embedding() -> ::Google::Cloud::AIPlatform::V1::EmbedContentResponse::Embedding
Returns

#embedding=

def embedding=(value) -> ::Google::Cloud::AIPlatform::V1::EmbedContentResponse::Embedding
Parameter
Returns

#truncated

def truncated() -> ::Boolean
Returns
  • (::Boolean) — Whether the input content was truncated before generating the embedding.

#truncated=

def truncated=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the input content was truncated before generating the embedding.
Returns
  • (::Boolean) — Whether the input content was truncated before generating the embedding.

#usage_metadata

def usage_metadata() -> ::Google::Cloud::AIPlatform::V1::UsageMetadata
Returns

#usage_metadata=

def usage_metadata=(value) -> ::Google::Cloud::AIPlatform::V1::UsageMetadata
Parameter
Returns