Kikyo Ice Cream
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 【SillyTavern】超入門安裝流程及基礎環境設置 ![banner](https://hackmd.io/_uploads/HJ3bKIz4xg.png) </br> # SillyTavern 是什麼? (翻譯自 [https://docs.sillytavern.app/](https://docs.sillytavern.app/)) SillyTavern(簡稱 ST、酒館)是一款安裝在主機的使用介面,讓你可以跟文字生成的語言模型(LLM)、圖像生成引擎,還有語音合成(TTS)模型互動。目的是讓使用者擁有最大的自由度和功能,能夠依照自己的需求靈活操作提示詞(prompt)。雖然學習門檻有點高,但那正是探索和玩的樂趣之一。 SillyTavern 是由一群熱愛 LLM 的社群夥伴們共同打造的熱情專案,始終保持**免費開放、持續更新**。它最早是在 2023 年 2 月從 TavernAI 1.2.8 分支出來,經過兩年多的獨立開發,現在已經有超過 200 位開發者貢獻心力。至今,它仍是許多資深 AI 玩家愛用的互動平台之一。 </br> ## 目的 要讓你的 SillyTavern 可以運作,所以細部的設定,例如提示詞怎麼寫、哪些擴充好用、主控設定怎麼寫、角色卡怎麼建立等等,不會包含在這個教學裡面,等我以後玩得比較熟悉再分享。 </br> ## 推薦加入的社群 [SillyTavern 官方伺服器](https://discord.gg/sillytavern) 英文社群,你可以使用瀏覽器開 Discord 再用 Google 翻譯閱讀,很多擴充的作者都在裡面,詢問問題時也有同好願意幫忙。不會英文的話,請 ChatGPT 幫你翻譯,溝通完全無障礙! </br> 廢話不多說,只要你做完全部步驟,你就可以開始你的酒館之旅啦! :::success 聲明:本人也是 SillyTavern 新手,內容可能有誤或未更新最新資訊,需更正可私訊我 Discord: kikyo_platycodon,也還請各方大德鞭小力一點。🙏 ::: </br> # 串接 Google Gemini API </br> 很多同好都推薦使用 Google Gemini,最大的優點就是免費!Google 給了 300 美元的額度(三個月內要用完,不過基本上很難用完),讓你玩個過癮,還可以使用最新的模型,是不是很香!! 參考連結:https://cloud.google.com/free?hl=zh-TW </br> ## 申請 Google Gemini API 1. 前往 https://aistudio.google.com/apikey。 2. 點開來會長這樣,點選 `Get API key`。 ![image](https://hackmd.io/_uploads/H1IAUKhUgg.png) 1. 這兩個都打勾(第二個可勾可不勾,看你要不要看最新資訊)。 ![image](https://hackmd.io/_uploads/rJZkPYnLxx.png) 1. 進去之後點選右上角的「Create API key」。 ![image](https://hackmd.io/_uploads/Hyj1PYhIlg.png) 1. 搭啦~這樣就拿到你的 API key 啦!切記千萬不要分享給別人。 ![image](https://hackmd.io/_uploads/ryzlDt2Llg.png) 1. 我們現在要來綁定信用卡,才能領取 Google 賞賜的 300 鎂,請點選「Set up Billing」,就可以設定你的信用卡資訊,這邊就不贅述。 ![image](https://hackmd.io/_uploads/BJFePFhIxg.png ![image](https://hackmd.io/_uploads/SyuZDK3Ugg.png =50%x) 1. 綁定好之後,左側的 `Credits` 可以查看餘額,此處的金額會自動幫你換算成台幣。(我一開始以為是美金,想說這麼多錢我怎麼用的完 XD) ![image](https://hackmd.io/_uploads/rJIMDY3Lge.png) </br> ## 串接到 SillyTavern 1. 點選此處複製自己的 API KEY。(請好好保護,不要暴露給任何人知道喔) ![image](https://hackmd.io/_uploads/rJkdvY38ge.png) 1. 回到 SillyTavern,依照以下步驟操作。 ![image](https://hackmd.io/_uploads/rk0_vFnIel.png) </br> ## 為什麼我不能用 Gemini 最新的模型? 因為你的 SillyTavern 現在是 `release` 版本,需要切換到 `staging` 版本才能讀取最新的模型。 ![image](https://hackmd.io/_uploads/rJPYDthLex.png) 1. 在你的 SillyTavern 資料夾打開 CMD,輸入 `git switch staging`,再按 `enter` ,等他讀取結束後就成功切換至 `staging`。 2. 如果要切換回 `release`,輸入 `git switch release` 再按 `enter` ,等待讀取結束即可。 </br> # 匯入 AI 回應預設檔 ## 預設檔是什麼? 就是 AI 回應設定,顧名思義這個設定會影響 AI 回應的風格。 </br> ## 預設檔去哪裡拿? 1. 可以自己寫,完全符合你的喜好。 2. 加入各大 SillyTavern 社群,使用大佬寫好的設定檔。 - [AI 深夜奶茶店](https://discord.gg/u25CyuC6BC) - [SillyTavern 官方伺服器](https://discord.com/channels/1100685673633153084/1128345184619466802) - [**✦。⋆𝓐𝓘 𝓟𝓻𝓮𝓼𝓮𝓽𝓼 ⋆。✦**](https://discord.gg/74KeyC99mw) - https://www.reddit.com/r/SillyTavernAI </br> ## 如何匯入預設檔? 1. 開啟 SillyTavern。 2. 你拿到的設定檔格式應為 .json,按照下圖步驟即可匯入設定檔。 ![image](https://hackmd.io/_uploads/S1Ybwi3Lgg.png) </br> # 匯入角色卡 ## 角色卡是什麼? SillyTavern 的角色卡就是一張 PNG 圖,你可以到國外角色卡平台找卡片,或是到各大 DC 群尋找大家創作的角色卡。 - https://aicharactercards.com/ </br> ## 如何匯入角色卡? 1. 開啟 SillyTavern。 3. 上方狀態列,點選最右邊的圖示。 ![image](https://hackmd.io/_uploads/SyrjDt28ll.png) 1. 依照下圖操作。 ![image](https://hackmd.io/_uploads/S1ciwK38gl.png =80%x) 1. 匯入後點選該角色圖像就可以開始聊天囉! </br> # 如何安裝擴充功能 ## 什麼是擴充功能? 擴充功能顧名思義就是擴充預設功能以外的功能(好像在講廢話),例如更換主題、更換主題等等,還有很多很神奇的擴充,等著你去挖掘! 這邊分享國外大佬整理的連結:https://lenanderson.github.io/SillyTavern/ </br> ## 我要怎麼做? 1. 開啟 SillyTavern。 ![image](https://hackmd.io/_uploads/HJ2ZuY3Ule.png) ![image](https://hackmd.io/_uploads/B1gQOYnLxx.png =80%x) </br> ## 我不要擴充了!怎麼移除? 1. 開啟 SillyTavern。 ![image](https://hackmd.io/_uploads/ByGN_t2Uel.png) ![image](https://hackmd.io/_uploads/BkKEOF28ee.png) </br> ## 啊現在這個是要幹嘛? 你別急,等等後面兩篇會用到,先讓你熟悉一下步驟。 </br> # 更換佈景主題 - Moonlit Echoes Theme ## 為什麼有些人的主題跟我不一樣? 因為很多人都會使用自訂 CSS 樣式,或是「安裝擴充」來呈現不一樣的使用者介面。 或者只是單純的更換顏色,如果你不想安裝擴充,可以參考下面這篇文: </br> ### 如何更換佈景主題顏色 跟我一樣覺得黑色背景看字很吃力嗎?我們來更換佈景主題顏色吧! 1. 開啟 SillyTavern。 2. 點選下方圖示。 ![image](https://hackmd.io/_uploads/r18ZHs3Ieg.png) 1. 左邊區域可以按照你的需求調整顏色,你可以再按一次上方的圖示,把設定的欄位收起來,看看對話框變化的效果如何。 ![image](https://hackmd.io/_uploads/Sy4Grjh8ex.png =50%x) 1. 下方也可以設定字體大小,依照你的瀏覽習慣去調整。 ![image](https://hackmd.io/_uploads/HJP1vsn8xg.png =50%x) </br> ## 如何更換佈景主題? 我自己喜歡簡單就好,所以我使用的是「Moonlit Echoes Theme」這款擴充,非常的簡潔舒服,Github 的原文如下,裡面有介紹相關功能及作者推薦安裝的其他擴充,詳閱後會比較熟悉如何使用喔! ==:link: [RivelleDays/SillyTavern-MoonlitEchoesTheme](https://github.com/RivelleDays/SillyTavern-MoonlitEchoesTheme)== </br> 1. 開啟 SillyTavern。 3. 步驟參考下圖 ![image](https://hackmd.io/_uploads/S1I-hY28xe.png) 1. 貼上以下 Github 網址 ``` https://github.com/RivelleDays/SillyTavern-MoonlitEchoesTheme ``` ![image](https://hackmd.io/_uploads/HJ6-2K3Ieg.png) 1. 這時你會發現你的擴充功能頁面多了「Moonlit Echoes Theme」。 ![image](https://hackmd.io/_uploads/rkornKhIlg.png) 1. 設定完顏色一定要儲存,不然你下次再打開時,設定又跑掉了。 ![image](https://hackmd.io/_uploads/r1VInF2Iee.png =50%x) 1. 使用者設定這邊也多了許多對話框樣式可選擇,這邊修改後也要記得按儲存喔! ![image](https://hackmd.io/_uploads/r1Iw2th8gx.png) </br> ## 我不會配色! 1. https://nipponcolors.com/ 2. https://www.pokemonpalette.com/ 以上是我有收藏的色票網站,但如果你直接把這些顏色拿來用的話,會過於鮮豔,所以我建議你可以在透明度上作適當的調整,色調就會比較舒適一點喔! ![image](https://hackmd.io/_uploads/HyGt2t3Ueg.png =50%x) </br> # 如何更換字體 我使用的是 FrostBD 製作的 st-custom-fonts,以下是這款擴充的詳細說明: ==:link: [FrostBD - st-custom-fonts](https://github.com/FrostBD/st-custom-fonts/)== ## 安裝 Custom Fonts 擴充 1. 打開你的 SillyTavern,到擴充功能。 ![image](https://hackmd.io/_uploads/S1I-hY28xe.png) 1. 貼上下列網址。 ``` https://github.com/FrostBD/st-custom-fonts/ ``` ![image](https://hackmd.io/_uploads/HJ6-2K3Ieg.png) 1. 安裝完成後你會看到你的擴充功能多了「Custom Fonts」。 ![image](https://hackmd.io/_uploads/ryQxptnIle.png) </br> ### 方法一:使用線上字體 1. 前往 https://fonts.google.com/ 2. 左側欄位的 Filter → Language,輸入你要的語言(這邊用正體中文做示範)。 ![image](https://hackmd.io/_uploads/SJNbaK38gg.png =50%x) 1. 在左上方試打區打出字串,系統會自動配對字體給你。我自己用「LXGW WenKai Mono TC」,正體和簡體的字都滿齊全的。 ![image](https://hackmd.io/_uploads/rJZNTt2Ulg.png) 1. 點進去之後,點選右上角「Get Font」。 ![image](https://hackmd.io/_uploads/ry1QpK38gl.png) 1. 點選「Get embed code」。 ![image](https://hackmd.io/_uploads/HJr7TFhUgl.png) 1. 選取反白範圍的網址。 ![image](https://hackmd.io/_uploads/S1jm6thUxe.png) 1. 回到 SillyTavern 頁面,執行完以下步驟後即可完成字體變更。 ![image](https://hackmd.io/_uploads/SkkHTY38gl.png) </br> ### 方法二:使用本機字體 #### 1️⃣ Windows 用戶 1. 前往 `C:\Windows\Fonts`,這邊的字體大部分都是可以使用的,有些字體因為不明原因無法使用。 ![image](https://hackmd.io/_uploads/rJ4SpK3Igl.png) 1. 點開你要匯入的字體,手動把紅框處的文字輸入到下一步驟。 ![image](https://hackmd.io/_uploads/B13Hat3Ugx.png) 1. 回到 SillyTavern → 擴充功能 → Custom Fonts。 ![image](https://hackmd.io/_uploads/ryQxptnIle.png) 1. 往下滑,`Local Font` 這邊輸入步驟 2. 的文字,完成後點選 `Add font`。 ![image](https://hackmd.io/_uploads/S1IUpY2Uel.png =50%x) 1. 你剛才新增的字體就會跑到 `Font Loading` 這邊囉! ![image](https://hackmd.io/_uploads/rJmD6FhUgx.png =50%x) 1. 按下 `Apply` 就可以成功套用這個字型了! ![image](https://hackmd.io/_uploads/rJuw6Fn8el.png =50%x) </br> #### 2️⃣ AWS 用戶(感謝 konning. 提供方法) 1. 前往 `C:\Windows\Fonts`,這邊的字體大部分都是可以使用的,有些字體因為不明原因無法使用。 ![image](https://hackmd.io/_uploads/rJ4SpK3Igl.png) 1. 點開你要匯入的字體,手動把紅框處的文字輸入到下一步驟。 ![image](https://hackmd.io/_uploads/B13Hat3Ugx.png) 1. 打開你的 WinSCP,將此字體拉入你的 ubuntu 資料夾。 ![image](https://hackmd.io/_uploads/By_bJ93Iee.png) 1. 回到 SillyTavern → 擴充功能 → Custom Fonts。 ![image](https://hackmd.io/_uploads/ryQxptnIle.png) 1. 往下滑,`Local Font` 這邊輸入步驟 2. 的文字,完成後點選 `Add font`。 ![image](https://hackmd.io/_uploads/S1IUpY2Uel.png =50%x) 1. 你剛才新增的字體就會跑到 `Font Loading` 這邊囉! ![image](https://hackmd.io/_uploads/rJmD6FhUgx.png =50%x) 1. 按下「Apply」就可以成功套用這個字型了! ![image](https://hackmd.io/_uploads/rJuw6Fn8el.png =50%x) </br> ## 用擴充變更字體的好處 儲存好字體後,可以隨意切換字體。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully