File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ def __repr__(self):
296
296
class TextGenerationModel (_LanguageModel ):
297
297
"""TextGenerationModel represents a general language model.
298
298
299
- Examples:
299
+ Examples::
300
300
301
301
# Getting answers:
302
302
model = TextGenerationModel.from_pretrained("text-bison@001")
@@ -383,7 +383,7 @@ def _batch_predict(
383
383
class _ChatModel (TextGenerationModel ):
384
384
"""ChatModel represents a language model that is capable of chat.
385
385
386
- Examples:
386
+ Examples::
387
387
388
388
# Getting answers:
389
389
model = ChatModel.from_pretrained("chat-bison@001")
@@ -488,7 +488,7 @@ def send_message(
488
488
class TextEmbeddingModel (_LanguageModel ):
489
489
"""TextEmbeddingModel converts text into a vector of floating-point numbers.
490
490
491
- Examples:
491
+ Examples::
492
492
493
493
# Getting embedding:
494
494
model = TextEmbeddingModel.from_pretrained("textembedding-gecko@001")
@@ -537,7 +537,7 @@ class InputOutputTextPair:
537
537
class ChatModel (_LanguageModel ):
538
538
"""ChatModel represents a language model that is capable of chat.
539
539
540
- Examples:
540
+ Examples::
541
541
542
542
chat_model = ChatModel.from_pretrained("chat-bison@001")
543
543
You can’t perform that action at this time.
0 commit comments