mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
24 lines
1.5 KiB
Plaintext
24 lines
1.5 KiB
Plaintext
title: $:/plugins/tiddlywiki/ai-tools/settings
|
|
|
|
! AI Tools Settings
|
|
|
|
!! ~OpenAI API key
|
|
|
|
This plugin runs entirely in the browser, with no backend server component. A consequence of this design is that the API keys required to access external services must be obtained by the end user. These keys are stored in the browser and so only need to be set up once.
|
|
|
|
# Register for an account at https://platform.openai.com/
|
|
#* Newly registered accounts can claim a small amount of credit, thereafter payment is needed
|
|
#* Note that ~OpenAI run completely different payment systems for ~ChatGPT and the API platform. Even if you are already a subscriber to ~ChatGPT you will still need to pay for API usage after the initial free service
|
|
# Visit https://platform.openai.com/api-keys to create a new secret API key
|
|
# Copy and paste the value into the box below
|
|
|
|
~OpenAI Secret API Key: <$password name="openai-secret-key"/>
|
|
|
|
!! Llamafile Setup
|
|
|
|
[[Llamafile|https://github.com/Mozilla-Ocho/llamafile]] lets you download and run LLMs as a single file. See the [[announcment blog post|https://hacks.mozilla.org/2023/11/introducing-llamafile/]] for background.
|
|
|
|
# Download and run Llamafile as [[described in the QuickStart guide|https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart]]
|
|
# Visit http://127.0.0.1:8080 in a browser and verify that you can see the Llamafile interface. You can also try it out here
|
|
# Return to AI Tools and start a conversation, specifying Llamafile as the server
|