-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new model and custom prompt to bard.
- Loading branch information
Showing
10 changed files
with
142 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
<div xmlns="http://www.w3.org/1999/xhtml"> | ||
<table id="ai"> | ||
<tr><td>Bard API key</td><td colspan="2"><input id="zn-bard-api-key" type="password" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'bard-api-key', 'encrypt');" style="width:100%;" placeholder="Enter your Bard API key"/></td><td></td></tr> | ||
<tr><td>Google translate API key</td><td colspan="2"><input id="zn-google-translate-key" type="password" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'google-translate-key', 'encrypt');" style="width:100%;" placeholder="Enter your google translate API key"/></td><td></td></tr> | ||
<table id="ai" width="100%"> | ||
<tr> | ||
<td>Bard API key</td><td><input id="zn-bard-api-key" type="password" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'bard-api-key', 'encrypt');" style="width:100%;" placeholder="Enter your Bard API key"/></td><td style="width:1.1em;"> </td> | ||
<td>Model</td><td> <select id="zn-bard-model" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'bard-model');" style="width:100%;" placeholder="Model"> | ||
<option value="gemini-pro">Gemini Pro</option> | ||
<option value="text-bison-001">Bison 1</option> | ||
</select></td> | ||
</tr> | ||
<tr><td>Bard custom prompt</td><td colspan="4"><input id="zn-bard-custom-prompt" type="text" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'bard-custom-prompt');" style="width:100%;" placeholder="The annotation will be appended to your prompt."/></td></tr> | ||
<tr><td>Google translate API key</td><td><input id="zn-google-translate-key" type="password" onchange="Zotero_Preferences.ZeNotes.setpreference(event, 'google-translate-key', 'encrypt');" style="width:100%;" placeholder="Enter your google translate API key"/></td><td></td></tr> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<Description about="urn:mozilla:install-manifest"> | ||
<em:id>[email protected]</em:id> | ||
<em:name>ZeNotes</em:name> | ||
<em:version>0.6.0</em:version> | ||
<em:version>0.6.1</em:version> | ||
<em:multiprocessCompatible>true</em:multiprocessCompatible> | ||
<em:updateURL>https://raw.githubusercontent.com/frianasoa/zenotes/main/zenote-update.json</em:updateURL> | ||
<em:homepageURL>https://github.com/frianasoa/zenotes</em:homepageURL> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
"[email protected]": { | ||
"updates": [ | ||
{ | ||
"version": "0.6.0", | ||
"update_link": "https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.0/zenotes-v0.6.0.xpi", | ||
"update_hash": "sha256:ee5538f06c17b8b49e7b22ef06a84b1b08fe38f7d5e7eac172156150edce2359", | ||
"version": "0.6.1", | ||
"update_link": "https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.1/zenotes-v0.6.1.xpi", | ||
"update_hash": "sha256:c173988f9f280d6a634ebc98d2da40822cd135bbfe443f1c161c22225986daa5", | ||
"applications": { | ||
"gecko": { | ||
"strict_min_version": "60.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
<rdf:Seq> | ||
<rdf:li> | ||
<rdf:Description> | ||
<ns1:version>0.6.0</ns1:version> | ||
<ns1:version>0.6.1</ns1:version> | ||
<ns1:targetApplication> | ||
<rdf:Description> | ||
<ns1:id>[email protected]</ns1:id> | ||
<ns1:minVersion>5.0.0</ns1:minVersion> | ||
<ns1:maxVersion>6.*</ns1:maxVersion> | ||
<ns1:updateLink>https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.0/zenotes-v0.6.0.xpi</ns1:updateLink> | ||
<ns1:updateLink>https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.1/zenotes-v0.6.1.xpi</ns1:updateLink> | ||
</rdf:Description> | ||
</ns1:targetApplication> | ||
|
||
|
@@ -20,7 +20,7 @@ | |
<ns1:id>[email protected]</ns1:id> | ||
<ns1:minVersion>4.999</ns1:minVersion> | ||
<ns1:maxVersion>6.*</ns1:maxVersion> | ||
<ns1:updateLink>https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.0/zenotes-v0.6.0.xpi</ns1:updateLink> | ||
<ns1:updateLink>https://github.com/frianasoa/Ze-Notes/releases/download/v0.6.1/zenotes-v0.6.1.xpi</ns1:updateLink> | ||
</rdf:Description> | ||
</ns1:targetApplication> | ||
|
||
|