Skip to content

Commit 588cf09

Browse files
author
Isaac Ahouma
committed
Remove temperature from exisitng example and remove added comment
1 parent 73f2915 commit 588cf09

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,14 +724,11 @@ The method will return a promise that fulfills with one of the following availab
724724
An example usage is the following:
725725

726726
```js
727-
// The topK and temperature members of the options object are deprecated. They will only be considered when
728-
// LanguageModel.create() is called from within a Chrome Extension. In web page contexts, they are ignored.
729727
const options = {
730728
expectedInputs: [
731729
{ type: "text", languages: ["en", "es"] },
732730
{ type: "audio", languages: ["en", "es"] }
733731
],
734-
temperature: 2
735732
};
736733

737734
const availability = await LanguageModel.availability(options);

0 commit comments

Comments
 (0)