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>
This commit is contained in:
Sebastian Benz
2024-11-08 15:35:27 +01:00
committed by GitHub
parent d2fd736ac0
commit 69f946b35e
10 changed files with 1577 additions and 20 deletions

View File

@@ -1,3 +1,4 @@
_archive
third-party
node_modules
dist