mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
refactor: ollama generation
This commit is contained in:
parent
fe2fa6d6b8
commit
bba3587e50
3 changed files with 81 additions and 254 deletions
15
index.html
15
index.html
|
|
@ -4978,16 +4978,19 @@
|
|||
Temperature:
|
||||
<input id="aiGeneratorTemperature" type="number" min="-1" max="2" step=".1" class="icon-key" />
|
||||
</label>
|
||||
<label for="aiGeneratorKey" >Key:
|
||||
<input id="aiGeneratorKey" placeholder="Enter API key" class="icon-key" />
|
||||
<label for="aiGeneratorKey"
|
||||
>Key:
|
||||
<input
|
||||
id="aiGeneratorKey"
|
||||
placeholder="Enter API key"
|
||||
class="icon-key"
|
||||
data-tip="Enter API key. Note: the Generator doesn't store the key or any generated data"
|
||||
/>
|
||||
<button
|
||||
id="aiGeneratorKeyHelp"
|
||||
class="icon-help-circled"
|
||||
data-tip="Open provider's website to get the API key there. Note: the Map Generator doesn't store the key or any generated data"
|
||||
data-tip="Click to see the usage instructions"
|
||||
/>
|
||||
<div id="ollamaHint" style="display: none; font-size: 0.85em; color: #999; margin-top: 0.5em;">
|
||||
Using Ollama requires it to be running locally on your machine at http://localhost:11434 beside azgaar you would not be able to use ollama if you are using azgaar online in the oficial website
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue