We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5cfa1 commit 7eaa1d4Copy full SHA for 7eaa1d4
vertexai/language_models/_language_models.py
@@ -1133,8 +1133,8 @@ class TextEmbedding:
1133
"""Text embedding vector and statistics."""
1134
1135
values: List[float]
1136
- statistics: TextEmbeddingStatistics
1137
- _prediction_response: aiplatform.models.Prediction = None
+ statistics: Optional[TextEmbeddingStatistics] = None
+ _prediction_response: Optional[aiplatform.models.Prediction] = None
1138
1139
1140
@dataclasses.dataclass
0 commit comments