Skip to content

Commit

Permalink
feat: LLM - Released ChatModel tuning to GA
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 569078680
  • Loading branch information
Ark-kun authored and copybara-github committed Sep 28, 2023
1 parent 222f222 commit 7d667f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/aiplatform/test_language_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ def test_tune_chat_model(
_CHAT_BISON_PUBLISHER_MODEL_DICT
),
):
model = preview_language_models.ChatModel.from_pretrained("chat-bison@001")
model = language_models.ChatModel.from_pretrained("chat-bison@001")

default_context = "Default context"
tuning_job = model.tune_model(
Expand Down
2 changes: 1 addition & 1 deletion vertexai/language_models/_language_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ def start_chat(
)


class ChatModel(_ChatModelBase):
class ChatModel(_ChatModelBase, _TunableChatModelMixin):
"""ChatModel represents a language model that is capable of chat.
Examples::
Expand Down

0 comments on commit 7d667f9

Please sign in to comment.