Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Benz
69f946b35e Improve prompt API sample (#1344)
* Improve prompt API sample

* Render response as markdown
* Fix initial maxK and temperature values
* Add privacy statement (for webstore submission)
* Regenerate key and trial token

* fix formatting errors

* Update functional-samples/ai.gemini-on-device/sidepanel/index.js

Update maxTemperature

Co-authored-by: Thomas Steiner <tomac@google.com>

* Update functional-samples/ai.gemini-on-device/sidepanel/index.js

Better string comparison

Co-authored-by: Thomas Steiner <tomac@google.com>

---------

Co-authored-by: Thomas Steiner <tomac@google.com>
2024-11-08 15:35:27 +01:00
Sebastian Benz
005f7caa65 add Gemini API sample (#1240)
* add Gemini API sample

* Simplify configuration and fix response formatting

* Update wording for gemini nano sample
2024-07-25 12:08:13 +02:00
Oliver Dunk
45d8850c1a Add declarativeNetRequest API samples. (#839)
* Add declarativeNetRequest API samples.

Adds a number of samples for the declarativeNetRequest API.
2023-03-03 15:53:50 +00:00
Sebastian Benz
dc2174377a Add prettier and eslint (#831)
* Ignores archived samples
* Uses eslint/recommended rules
* Runs prettier and eslint (including --fix) pre-commit via husky
* Adds new npm scripts: 'lint', 'lint:fix' and 'prettier'
* Does not lint inline js code
* Fix all prettier and eslint errors
* Add custom prettier rules
* Apply custom prettier rules
* Update readme to explain how to setup the repo
* addressed comments
2023-02-22 13:25:39 +01:00
Simeon Vincent
b717fe9ad3 Ignore _debug directory (#711) 2022-04-27 14:26:58 -07:00
Sash Bermeister
104b6f61dc Removed conflict markers from .gitignore file. 2012-11-27 10:47:49 +11:00
Joe Marini
6648e092a5 ignore DS_store 2012-10-17 09:43:50 -07:00
Mihai Parparita
6433e883b2 Remove .DS_Store files, and ignore them from now on 2012-08-17 10:42:39 -07:00
Mike Tsao
58eb1f953f .gitignore. Serial control-signal testing app. 2012-07-19 16:37:10 -07:00