Skip to content

Commit

Permalink
Summarizer sample: Format markdown output (#1283)
Browse files Browse the repository at this point in the history
* Format markdown output

* updates & fixes

* Styles and config

* Some CSS love with open props
* Make summary configurable

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

Shorter and worker-compatible

Co-authored-by: Thomas Steiner <[email protected]>

* Update functional-samples/ai.gemini-on-device-summarization/manifest.json

Co-authored-by: Thomas Steiner <[email protected]>

---------

Co-authored-by: Thomas Steiner <[email protected]>
  • Loading branch information
sebastianbenz and tomayac authored Nov 9, 2024
1 parent 69f946b commit fc7c4b3
Show file tree
Hide file tree
Showing 7 changed files with 337 additions and 638 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"name": "Summarizer",
"name": "Summarization API sample",
"version": "0.1",
"manifest_version": 3,
"description": "Get a short summary of every webpage.",
"description": "Get a short summary of webpage content using Chrome's built-in summarization API.",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0rGdYnMnAJm24F1aVoygD+UJtTtFkRfju36f2Pp3keQQU6fXHNrddqpfMZXb+E9YJmRz+2jJgeEbMSN4m8zFD/9NrbNmfUrCvvnu6id6o1cMtdRsFNvLDsvDfY895kQ9d8543q5TCmGt1NGFBgzSp8wORBQNOYXlAmtRh2Ru2+pMC/v8i5lirkMQbWKe7y+tr6aq95KrILc+TxZmujqoTd0Tay5sNp3jCafdSexo2dOnCUR369KLRnkrakaZ9Jzak5C2ysHwcgmsJwvenFCbET2AvHjiHLGDDWNCQ+FYwzlMOnJCOjDskWur8XAGozKKYpPXtJ88BYfuPu80QXfZaQIDAQAB",
"trial_tokens": [
"AkGcfoMTs5K71isPlCiY033XA9HKSjUJvPCF6K56eqY7mAUAsR7NDbmIWDjomLgCREuOS38XAuafVTz209utDwQAAABzeyJvcmlnaW4iOiJjaHJvbWUtZXh0ZW5zaW9uOi8vamdrYm1sZmZlYWRtZWZqZmdrY2tmYnBja3Bvb2loY2UiLCJmZWF0dXJlIjoiQUlTdW1tYXJpemF0aW9uQVBJIiwiZXhwaXJ5IjoxNzUzMTQyNDAwfQ=="
],
"background": {
"service_worker": "background.js"
},
Expand Down
Loading

0 comments on commit fc7c4b3

Please sign in to comment.