Google Cloud Ai Platform V1 Client - Class Embedding (1.43.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Embedding.

A list of floats representing an embedding.

Generated from protobuf message google.cloud.aiplatform.v1.EmbedContentResponse.Embedding

Namespace

Google \ Cloud \ AIPlatform \ V1 \ EmbedContentResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ values array

Embedding vector values.

getValues

Embedding vector values.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValues

Embedding vector values.

Parameter
Name Description
var float[]
Returns
Type Description
$this