We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77671b0 commit 74acdbbCopy full SHA for 74acdbb
1 file changed
generative_ai/embeddings/batch_example.py
@@ -18,7 +18,7 @@
18
PROJECT_ID = os.getenv("GOOGLE_CLOUD_PROJECT")
19
20
21
-def embed_text_batch(OUTPUT_URI) -> BatchPredictionJob:
+def embed_text_batch(OUTPUT_URI: str) -> BatchPredictionJob:
22
"""Example of how to generate embeddings from text using batch processing.
23
24
Read more: https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/batch-prediction-genai-embeddings
0 commit comments