Skip to content

Commit d6b943d

Browse files
committed
Update explanation links for temperature and top-K
1 parent cac51d2 commit d6b943d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const result2 = await predictEmoji("This code is so good you should get promoted
111111

112112
### Configuration of per-session options
113113

114-
In addition to the `systemPrompt` and `initialPrompts` options shown above, the currently-configurable options are [temperature and top-K](https://gemini.google.com/share/a4665036f4b9). More information about the values for these parameters can be found by calling `textModelInfo()`.
114+
In addition to the `systemPrompt` and `initialPrompts` options shown above, the currently-configurable options are [temperature](https://huggingface.co/blog/how-to-generate#sampling) and [top-K](https://huggingface.co/blog/how-to-generate#top-k-sampling). More information about the values for these parameters can be found by calling `textModelInfo()`.
115115

116116
```js
117117
const customSession = await ai.createTextSession({

0 commit comments

Comments
 (0)