code: def generate_embeddings(
      model: model_types.BaseModelNameOptions,
      text: Sequence[str],
      client: glm.TextServiceClient = None,
  ) -> text_types.BatchEmbeddingDict:
      ...
  
imports: from __future__ import annotations
  import dataclasses
  from collections.abc import Iterable, Sequence
  import itertools
  from typing import Iterable, overload, TypeVar
  import google.ai.generativelanguage
  from google.generativeai.client import get_default_text_client
  from google.generativeai import string_utils
  from google.generativeai.types import text_types
  from google.generativeai.types import model_types
  from google.generativeai import models
  from google.generativeai.types import safety_types
label_desc: Use image node_id 7 for calling a global function with example usage: generate_embeddings(model, text, client) without return types