parseEmbedContentResponse function

EmbedContentResponse parseEmbedContentResponse(
  1. Object jsonObject
)

Parse to EmbedContentResponse from json object.

Implementation

EmbedContentResponse parseEmbedContentResponse(Object jsonObject) {
  google_ai.EmbedContentResponse response =
      google_ai_hooks.parseEmbedContentResponse(jsonObject);
  return response.toVertex();
}