Ollama integration as a new AI provider (#1208)

* ollama implementation

* ollama implementation

* Update ai-generator.js

* Update README.md

* Create OLLAMAREADME.MD

* Update OLLAMAREADME.MD

* Update notes-editor.js

* Update index.html

* Update OLLAMAREADME.MD

* Update ai-generator.js
This commit is contained in:
Krory 2025-06-14 14:03:06 +02:00 committed by GitHub
parent 004097ef93
commit fe2fa6d6b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 271 additions and 61 deletions

View file

@ -4978,14 +4978,16 @@
Temperature:
<input id="aiGeneratorTemperature" type="number" min="-1" max="2" step=".1" class="icon-key" />
</label>
<label for="aiGeneratorKey"
>Key:
<label for="aiGeneratorKey" >Key:
<input id="aiGeneratorKey" placeholder="Enter API key" class="icon-key" />
<button
id="aiGeneratorKeyHelp"
class="icon-help-circled"
data-tip="Open provider's website to get the API key there. Note: the Map Genenerator doesn't store the key or any generated data"
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"
/>
<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>