Class: Google::Cloud::AIPlatform::V1::EmbedContentResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/prediction_service.rb

Overview

Response message for PredictionService.EmbedContent.

Defined Under Namespace

Classes: Embedding

Instance Attribute Summary collapse

Instance Attribute Details

#embedding::Google::Cloud::AIPlatform::V1::EmbedContentResponse::Embedding

Returns The embedding generated from the input content.

Returns:



742
743
744
745
746
747
748
749
750
751
752
753
754
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 742

class EmbedContentResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A list of floats representing an embedding.
  # @!attribute [rw] values
  #   @return [::Array<::Float>]
  #     Embedding vector values.
  class Embedding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#truncated::Boolean

Returns Whether the input content was truncated before generating the embedding.

Returns:

  • (::Boolean)

    Whether the input content was truncated before generating the embedding.



742
743
744
745
746
747
748
749
750
751
752
753
754
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 742

class EmbedContentResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A list of floats representing an embedding.
  # @!attribute [rw] values
  #   @return [::Array<::Float>]
  #     Embedding vector values.
  class Embedding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#usage_metadata::Google::Cloud::AIPlatform::V1::UsageMetadata

Returns Metadata about the response(s).

Returns:



742
743
744
745
746
747
748
749
750
751
752
753
754
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 742

class EmbedContentResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A list of floats representing an embedding.
  # @!attribute [rw] values
  #   @return [::Array<::Float>]
  #     Embedding vector values.
  class Embedding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end