Skip to content

Commit b6707be

Browse files
authored
Fix broken generate_text doc page. (#23)
1 parent f20e499 commit b6707be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/generativeai/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def generate_text(
106106
probability of tokens to sample from.
107107
For example, if the sorted probabilities are
108108
`[0.5, 0.2, 0.1, 0.1, 0.05, 0.05]` a `top_p` of `0.8` will sample
109-
as `[0.625, 0.25, 0.125, 0, 0, 0].
109+
as `[0.625, 0.25, 0.125, 0, 0, 0]`.
110110
safety_settings: A list of unique `types.SafetySetting` instances for blocking unsafe content.
111111
These will be enforced on the `prompt` and
112112
`candidates`. There should not be more than one

0 commit comments

Comments
 (0)