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.
_TunableTextEmbeddingModelMixin.get_tuned_model
1 parent 78a95c5 commit eb05ac4Copy full SHA for eb05ac4
vertexai/language_models/_language_models.py
@@ -2183,7 +2183,8 @@ async def get_embeddings_async(
2183
# task_type must be 'DEFAULT' or None if _model_id is textembedding-gecko@001.
2184
class _TunableTextEmbeddingModelMixin(_TunableModelMixin):
2185
@classmethod
2186
- def get_tuned_model():
+ def get_tuned_model(cls, *args, **kwargs):
2187
+ del args, kwargs # Unused.
2188
raise NotImplementedError(
2189
"Use deploy_tuned_model instead to get the tuned model."
2190
)
0 commit comments