Class: Google::Cloud::AIPlatform::V1::EmbedContentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::EmbedContentResponse
- 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
-
#embedding ⇒ ::Google::Cloud::AIPlatform::V1::EmbedContentResponse::Embedding
The embedding generated from the input content.
-
#truncated ⇒ ::Boolean
Whether the input content was truncated before generating the embedding.
-
#usage_metadata ⇒ ::Google::Cloud::AIPlatform::V1::UsageMetadata
Metadata about the response(s).
Instance Attribute Details
#embedding ⇒ ::Google::Cloud::AIPlatform::V1::EmbedContentResponse::Embedding
Returns The embedding generated from the input content.
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.
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).
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 |