EmbedContentResponse

@Serializable
data class EmbedContentResponse(val sdkHttpResponse: HttpResponse? = null, val embeddings: List<ContentEmbedding>? = null, val metadata: EmbedContentMetadata? = null)

Response for the embed_content method.

Constructors

Link copied to clipboard
constructor(sdkHttpResponse: HttpResponse? = null, embeddings: List<ContentEmbedding>? = null, metadata: EmbedContentMetadata? = null)

Properties

Link copied to clipboard

The embeddings for each request, in the same order as provided in the batch request.

Link copied to clipboard

Gemini Enterprise Agent Platform only. Metadata about the request.

Link copied to clipboard

Used to retain the full HTTP response.