Skip to content

Commit

Permalink
check phone check size
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasalmeida committed Sep 16, 2024
1 parent f1a2f55 commit 314e692
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
11 changes: 8 additions & 3 deletions gem.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ a:hover {
background-color:yellow;
}

button:hover {
color:maroon;
background-color:yellow;
}

.link:hover {
background-color:yellow;
cursor:pointer;
Expand All @@ -48,8 +53,8 @@ code {
}

button {
border-radius: 10px;
color:blue;
height:2em;
border-radius:20px;
color:navy;
height:20px;
font-size:1em;
}
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ <h1>
<p>
Exploring <a href="https://ai.google.dev/gemini-api/docs" target="_blank">programatic interoperability</a> of Google Gemini's GenAI. For now, testing will use the <a href="https://deepmind.google/technologies/gemini/flash" target="_blank">gemini-1.5-flash</a> model.
</p>
Show Info <input type="checkbox">
<hr>
<div id="divList">
<div id="divList" hidden=true>
<li>
<a href="https://aistudio.google.com/app/apikey" target="_blank">API Keys</a>. <button id="provideKey">Provide yours</button> if you want to store it in localStorage. In that case <code>GEM(_YOUR_API_KEY_)</code> below, is simply <code>GEM</code> and you keep your API key out of prying eyes.
</li>
<li>
ES6 <a href="https://ai.google.dev/gemini-api/docs/downloads" target="_blank">SDK</a>: <code>"https://esm.run/@google/generative-ai"</code> <br>Not used here, exploration focused on APIs, not SDKs.
</li>
<li>
Programaticaly: <br><code>await (new (await import('https://episphere.github.io/gemini/gem.mjs'))<br>.GEM(_YOUR_API_KEY_)).post('how long to the moon')
</code>
Programaticaly: <br><code>await (new (await import('https://episphere.github.io/gemini/gem.mjs'))<br>.GEM(_YOUR_API_KEY_)).post('how long to the moon')</code>
</li>
<li>
<a href="https://ai.google.dev/gemini-api/docs/quickstart?lang=web" target="_blank">Quick start</a>; Google <a href="https://ai.google.dev/gemini-api/docs/ai-studio-quickstart" target="_blank">AI Studio</a>.
</li>
</div>
<hr>
<div id="responseDiv"><p></p></div>
</div>
<div id="responseDiv"></div>
<textarea id="promptTextArea" style="width:100%;height:5em"></textarea>
</body>
</html>

0 comments on commit 314e692

Please sign in to comment.