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

+1-1
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

+1-1
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)