mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
* 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>
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
|
"name": "Chrome Prompt AI Demo",
|
|
"version": "0.1",
|
|
"manifest_version": 3,
|
|
"description": "Try Chrome's built-in prompt API.",
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"permissions": ["sidePanel", "aiLanguageModelOriginTrial"],
|
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvf0O/bR3JULoj6dOpG7sDif4BNVgootUIfSybh2a7jX47BglfZFNH/aRUgDjNtcTBPinXdGbljMVIudQ7w6LiwVq9b1Ht6ZXFVtHTKOsDWtVh/rVKE/AGue9eQ7xCncHFl4zLJUaDRUIRqe5zvjHtaMr8p92I3c/6k43LmTUp1QHz0NooDJRYKRPLS77YVDX8hZc2yopIH5NIY25Ned3wxZ/NWV70GZkYqFRN+UzvMS8bJUEY23L1AMSX7YQjMThY0BCZ/MBLo8UBLs8vN11EphMpLxnBhF2Zwwj2sCPR0jn0ev8HYCtKmGx8nzOl79oK24RFIsW8YWFB2fd28fBLwIDAQAB",
|
|
"trial_tokens": ["Aozzz6KfHYqh8q5x+Khse27nSp8YM7Tftv6XZhNO7lgYcP5uQxxBEpMfRhiFbYJV+yJl1fDNzvtao7FswtZGIgQAAAB4eyJvcmlnaW4iOiJjaHJvbWUtZXh0ZW5zaW9uOi8vYWhpaWZrb2RnbWlmcGNnbmRja3BwaW1lY25wa3BkbGwiLCJmZWF0dXJlIjoiQUlQcm9tcHRBUElGb3JFeHRlbnNpb24iLCJleHBpcnkiOjE3NjA0ODYzOTl9"],
|
|
"minimum_chrome_version": "131",
|
|
"side_panel": {
|
|
"default_path": "sidepanel/index.html"
|
|
},
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "images/icon16.png",
|
|
"32": "images/icon32.png",
|
|
"48": "images/icon48.png",
|
|
"128": "images/icon128.png"
|
|
},
|
|
"default_title": "Open Chat Interface"
|
|
}
|
|
}
|