Skip to content

Commit eaaee28

Browse files
Ark-kuncopybara-github
authored andcommitted
docs: LLM - Fixed the rendering of the example usage code blocks.
PiperOrigin-RevId: 534651247
1 parent a0250ed commit eaaee28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vertexai/language_models/_language_models.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def __repr__(self):
296296
class TextGenerationModel(_LanguageModel):
297297
"""TextGenerationModel represents a general language model.
298298
299-
Examples:
299+
Examples::
300300
301301
# Getting answers:
302302
model = TextGenerationModel.from_pretrained("text-bison@001")
@@ -383,7 +383,7 @@ def _batch_predict(
383383
class _ChatModel(TextGenerationModel):
384384
"""ChatModel represents a language model that is capable of chat.
385385
386-
Examples:
386+
Examples::
387387
388388
# Getting answers:
389389
model = ChatModel.from_pretrained("chat-bison@001")
@@ -488,7 +488,7 @@ def send_message(
488488
class TextEmbeddingModel(_LanguageModel):
489489
"""TextEmbeddingModel converts text into a vector of floating-point numbers.
490490
491-
Examples:
491+
Examples::
492492
493493
# Getting embedding:
494494
model = TextEmbeddingModel.from_pretrained("textembedding-gecko@001")
@@ -537,7 +537,7 @@ class InputOutputTextPair:
537537
class ChatModel(_LanguageModel):
538538
"""ChatModel represents a language model that is capable of chat.
539539
540-
Examples:
540+
Examples::
541541
542542
chat_model = ChatModel.from_pretrained("chat-bison@001")
543543

0 commit comments

Comments
 (0)