Content-Length: 284509 | pFad | https://github.com/googleapis/python-aiplatform/commit/7d667f9f8be264bb36e3d720caa0d8210aec5d6b

23 feat: LLM - Released `ChatModel` tuning to GA · googleapis/python-aiplatform@7d667f9 · GitHub
Skip to content

Commit 7d667f9

Browse files
Ark-kuncopybara-github
authored andcommitted
feat: LLM - Released ChatModel tuning to GA
PiperOrigin-RevId: 569078680
1 parent 222f222 commit 7d667f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/aiplatform/test_language_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ def test_tune_chat_model(
15571557
_CHAT_BISON_PUBLISHER_MODEL_DICT
15581558
),
15591559
):
1560-
model = preview_language_models.ChatModel.from_pretrained("chat-bison@001")
1560+
model = language_models.ChatModel.from_pretrained("chat-bison@001")
15611561

15621562
default_context = "Default context"
15631563
tuning_job = model.tune_model(

vertexai/language_models/_language_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ def start_chat(
13381338
)
13391339

13401340

1341-
class ChatModel(_ChatModelBase):
1341+
class ChatModel(_ChatModelBase, _TunableChatModelMixin):
13421342
"""ChatModel represents a language model that is capable of chat.
13431343
13441344
Examples::

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-aiplatform/commit/7d667f9f8be264bb36e3d720caa0d8210aec5d6b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy