mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Update docs
This commit is contained in:
parent
837374b5ab
commit
a2cff69fee
@ -1,2 +1,27 @@
|
|||||||
title: $:/plugins/tiddlywiki/ai-tools/docs
|
title: $:/plugins/tiddlywiki/ai-tools/docs
|
||||||
|
|
||||||
|
!! Setting Up
|
||||||
|
|
||||||
|
See the ''settings'' tab for set up instructions.
|
||||||
|
|
||||||
|
!! Live AI Conversations in ~TiddlyWiki
|
||||||
|
|
||||||
|
# Click the {{||$:/plugins/tiddlywiki/ai-tools/page-menu}} icon in the sidebar to open a new conversation
|
||||||
|
# Choose the server from the dropdown:
|
||||||
|
#* ''Locally running Llamafile server'' - LLlamafile is an open source project that lets you distribute and run LLMs as a single file. The files are large, typically 4+ gigabytes but offer reasonable performance on modern hardware, and total privacy
|
||||||
|
#* ''~OpenAI Service'' - ~OpenAI is a commercial service that offers paid APIs for accessing some of the most sophisticated LLMs that are available. ~OpenAI requires tokens to be purchased for API usage (this is entirely separate from ~ChatGPT subscriptions)
|
||||||
|
# Type a prompt for the LLM in the text box
|
||||||
|
#* If using ~OpenAI it is possible to attach a single image to a prompt
|
||||||
|
# Click "Send" and wait for the output of the LLM
|
||||||
|
|
||||||
|
!! Import ~ChatGPT Conversation Archives
|
||||||
|
|
||||||
|
# [[Follow the instructions|https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history-and-data]] to request an export of your ~ChatGPT data
|
||||||
|
# You will receive a link to download your data as a ZIP file
|
||||||
|
# Download and unzip the file
|
||||||
|
# Locate the file `conversations.json` within the archive and import it into your TiddlyWiki
|
||||||
|
# Visit the ''tools'' tab and locate your `conversations.json` tiddler
|
||||||
|
# Click the associated ''import'' button
|
||||||
|
# See the imported conversations listed in the ''tools'' tab
|
||||||
|
# The imported tiddler `conversations.json` is no longer required and can be deleted
|
||||||
|
|
||||||
|
@ -4,10 +4,3 @@ title: $:/plugins/tiddlywiki/ai-tools/readme
|
|||||||
|
|
||||||
This plugin adds integrated LLM conversations to the TiddlyWiki platform.
|
This plugin adds integrated LLM conversations to the TiddlyWiki platform.
|
||||||
|
|
||||||
# Click the {{||$:/plugins/tiddlywiki/ai-tools/page-menu}} icon in the sidebar to open a new conversation
|
|
||||||
# Choose the server from the dropdown:
|
|
||||||
#* ''Locally running Llamafile server'' - LLlamafile is an open source project that lets you distribute and run LLMs as a single file. The files are large, typically 4+ gigabytes but offer reasonable performance on modern hardware, and total privacy
|
|
||||||
#* ''~OpenAI Service'' - ~OpenAI is a commercial service that offers paid APIs for accessing some of the most sophisticated LLMs that are available. ~OpenAI requires tokens to be purchased for API usage (this is entirely separate from ~ChatGPT subscriptions)
|
|
||||||
# Type a prompt for the LLM in the text box
|
|
||||||
#* If using ~OpenAI it is possible to attach a single image to a prompt
|
|
||||||
# Click "Send" and wait for the output of the LLM
|
|
||||||
|
@ -2,10 +2,10 @@ title: $:/plugins/tiddlywiki/ai-tools/settings
|
|||||||
|
|
||||||
! AI Tools Settings
|
! AI Tools Settings
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
!! ~OpenAI API key
|
!! ~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/
|
# Register for an account at https://platform.openai.com/
|
||||||
#* Newly registered accounts can claim a small amount of credit, thereafter payment is needed
|
#* 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
|
#* 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
|
||||||
@ -14,3 +14,12 @@ This plugin runs entirely in the browser, with no backend server component. A co
|
|||||||
|
|
||||||
~OpenAI Secret API Key: <$password name="openai-secret-key"/>
|
~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.
|
||||||
|
|
||||||
|
1. Download and run Llamafile as [[described in the QuickStart guide|https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart]]
|
||||||
|
2. 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
|
||||||
|
3. Return to AI Tools and start a conversation, specifying Llamafile as the server
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user