mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'SillyTavern:dev' into dev
This commit is contained in:
296
public/i18n.json
296
public/i18n.json
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"lang": [
|
||||
"zh-cn"
|
||||
"zh-cn",
|
||||
"ja-jp"
|
||||
],
|
||||
"zh-cn": {
|
||||
"clickslidertips": "点击滑块右侧数字可手动输入",
|
||||
@@ -117,7 +118,7 @@
|
||||
"Enter it in the box below": "将其输入到下面的输入框中",
|
||||
"Novel AI Model": "NovelAI 模型",
|
||||
"Euterpe": "Euterpe",
|
||||
"Krake": "Krate",
|
||||
"Krake": "Krake",
|
||||
"No connection": "无连接",
|
||||
"oobabooga/text-generation-webui": "",
|
||||
"Make sure you run it with": "确保启动时包含 --api 参数",
|
||||
@@ -244,7 +245,7 @@
|
||||
"A brief description of the personality": "个性的简要描述",
|
||||
"Scenario": "场景",
|
||||
"Circumstances and context of the dialogue": "对话的情况和背景",
|
||||
"Talkativeness": "",
|
||||
"Talkativeness": "返事する可率",
|
||||
"How often the chracter speaks in": "说话的频率",
|
||||
"group chats!": "群聊!",
|
||||
"Shy": "羞涩 ",
|
||||
@@ -291,5 +292,294 @@
|
||||
"presets": "预设",
|
||||
"Message Sound": "消息音效",
|
||||
"Author's Note": "作者的注释"
|
||||
},
|
||||
"ja-jp": {
|
||||
"clickslidertips": "スライダーの右側の数字をクリックすると手動で入力できます。",
|
||||
"kobldpresets": "Kobold 設定",
|
||||
"guikoboldaisettings": "GUI KoboldAI 設定",
|
||||
"novelaipreserts": "NovelAI 設定",
|
||||
"default": "デフォルト",
|
||||
"openaipresets": "OpenAI 設定",
|
||||
"text gen webio(ooba) presets": "テキスト生成WebUI(ooba) 設定",
|
||||
"poe.com api settings": "Poe.com API 設定",
|
||||
"response legth(tokens)": "応答長(トークン数)",
|
||||
"select": "選択 ",
|
||||
"context size(tokens)": "コンテキストサイズ(トークン数)",
|
||||
"unlocked": "解除",
|
||||
"only select modls support context sizes greater than 2048 tokens. proceed only is you know you're doing": "2048トークンより大きいコンテキストサイズをサポートするのは、一部のモデルのみです。このオプションを変更する前に、自分が何をしているかを理解してください。",
|
||||
"rep.pen": "Rep. Pen.",
|
||||
"rep.pen range": "Rep. Pen. 範囲",
|
||||
"temperature": "温度",
|
||||
"Encoder Rep. Pen.": "エンコーダー Rep. Pen.",
|
||||
"No Repeat Ngram Size": "Ngram の非重複サイズ",
|
||||
"Min Length": "最小長",
|
||||
"OpenAI Reverse Proxy": "OpenAI 逆プロキシ",
|
||||
"Alternative server URL (leave empty to use the default value).": "代替サーバーの URL (空白のままでデフォルト値を使用)。",
|
||||
"Remove your real OAI API Key from the API panel BEFORE typing anything into this box": "このボックスに何かを入力する前に、APIパネルから本物のOAI APIキーを削除してください",
|
||||
"We cannot provide support for problems encountered while using an unofficial OpenAI proxy": "非公式のOpenAIプロキシを使用して問題が発生した場合にはサポートを提供できません",
|
||||
"Legacy Streaming Processing": "旧式のストリーミング処理",
|
||||
"Enable this if the streaming doesn't work with your proxy": "ストリーミングがプロキシと互換性がない場合には、これを有効にしてください",
|
||||
"Context Size (tokens)": "コンテキストサイズ(トークン数)",
|
||||
"Max Response Length (tokens)": "最大応答長(トークン数)",
|
||||
"Temperature": "温度",
|
||||
"Frequency Penalty": "頻度ペナルティ",
|
||||
"Presence Penalty": "存在ペナルティ",
|
||||
"Top-p": "Top-p",
|
||||
"Display bot response text chunks as they are generated": "生成されたボットの応答テキストチャンクを表示します",
|
||||
"Auto-purge API context (save JB)": "APIコンテキストを自動的に削除します(JBを保存します)",
|
||||
"Delete non-JB messages from Poe context before sending a new prompt. Prevents auto-jailbreak message from being pushed out of context": "新しいプロンプトを送信する前に、PoeコンテキストからJB以外のメッセージを削除します。自動的なジェイルブレイクメッセージがコンテキストから押し出されるのを防ぎます",
|
||||
"Auto-jailbreak": "自動ジェイルブレイク",
|
||||
"Send the jailbreak message before first generation after page refresh.": "ページのリフレッシュ後の最初の生成前に、ジェイルブレイクメッセージを送信します",
|
||||
"Send character note": "キャラクターノートを送信する",
|
||||
"Sent with every prompt to modify bot responses.": "すべてのプロンプトとともに送信され、ボットの応答を修正します",
|
||||
"Top A": "Top-a",
|
||||
"Typical Sampling": "典型的なサンプリング",
|
||||
"Tail Free Sampling": "テイルフリーサンプリング",
|
||||
"Rep. Pen. Slope": "Rep. Pen. スロープ",
|
||||
"Single-line mode": "シングルラインモード",
|
||||
"Top K": "Top-k",
|
||||
"Top P": "Top-p",
|
||||
"Do Sample": "サンプリングする",
|
||||
"Add BOS Token": "BOSトークンを追加",
|
||||
"Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative.": "プロンプトの先頭にbos_tokenを追加します。これを無効にすると、回答がよりクリエイティブになることがあります。",
|
||||
"Ban EOS Token": "EOSトークンを禁止",
|
||||
"Ban the eos_token. This forces the model to never end the generation prematurely": "eos_tokenを禁止します。これにより、モデルは生成を早期に終了することはなくなります。",
|
||||
"Skip Special Tokens": "特殊トークンをスキップ",
|
||||
"Beam search": "ビームサーチ",
|
||||
"Number of Beams": "ビーム数",
|
||||
"Length Penalty": "長さペナルティ",
|
||||
"Early Stopping": "早期停止",
|
||||
"Contrastive search": "対照的探索",
|
||||
"Penalty Alpha": "ペナルティアルファ",
|
||||
"Seed": "シード",
|
||||
"Inserts jailbreak as a last system message.": "最後のシステムメッセージに越狱を挿入します。",
|
||||
"This tells the AI to ignore its usual content restrictions.": "これにより、AIは通常のコンテンツ制限を無視するように指示されます。",
|
||||
"NSFW Encouraged": "NSFW推奨",
|
||||
"Tell the AI that NSFW is allowed.": "AIにNSFWが許可されていることを伝えます。",
|
||||
"NSFW Prioritized": "NSFW優先",
|
||||
"NSFW prompt text goes first in the prompt to emphasize its effect.": "NSFWプロンプトテキストは、効果を強調するために最初に表示されます。",
|
||||
"Streaming": "ストリーミング",
|
||||
"Display the response bit by bit as it is generated.": "生成されると、レスポンスをビットごとに表示します。",
|
||||
"When this is off, responses will be displayed all at once when they are complete.": "これをオフにすると、レスポンスは完了時に一度にすべて表示されます。",
|
||||
"Enhance Definitions": "定義を強化",
|
||||
"Use OAI knowledge base to enhance definitions for public figures and known fictional characters": "公共人物および既知の架空のキャラクターの定義を強化するためにOAIの知識ベースを使用する",
|
||||
"Wrap in Quotes": "引用符で囲む",
|
||||
"Wrap entire user message in quotes before sending.": "送信前にユーザーメッセージ全体を引用符で囲みます。",
|
||||
"Leave off if you use quotes manually for speech.": "手動で引用符を使用する場合は省略してください。",
|
||||
"Main prompt": "メインプロンプト",
|
||||
"The main prompt used to set the model behavior": "モデルの振る舞いを設定するために使用されるメインプロンプト",
|
||||
"NSFW prompt": "NSFWプロンプト",
|
||||
"Prompt that is used when the NSFW toggle is on": "NSFWトグルがオンの場合に使用されるプロンプト",
|
||||
"Jailbreak prompt": "越狱プロンプト",
|
||||
"Prompt that is used when the Jailbreak toggle is on": "越狱トグルがオンの場合に使用されるプロンプト",
|
||||
"Impersonation prompt": "なりすましプロンプト",
|
||||
"Prompt that is used for Impersonation function": "なりすまし機能に使用されるプロンプト",
|
||||
"Logit Bias": "Logitバイアス",
|
||||
"Helps to ban or reenforce the usage of certain words": "特定の単語の使用を禁止または強化するのに役立ちます",
|
||||
"View / Edit bias preset": "バイアスプリセットの表示/編集",
|
||||
"Add bias entry": "バイアスエントリを追加",
|
||||
"Jailbreak activation message": "越狱アクティベーションメッセージ",
|
||||
"Message to send when auto-jailbreak is on.": "自動越狱がオンの場合に送信するメッセージ。",
|
||||
"Jailbreak confirmation reply": "越狱確認返信",
|
||||
"Bot must send this back to confirm jailbreak": "ボットは越狱を確認するためにこれを送信する必要があります。",
|
||||
"Character Note": "キャラクターノート",
|
||||
"Influences bot behavior in its responses": "返信中のボットの振る舞いに影響を与えます",
|
||||
"API": "API",
|
||||
"KoboldAI": "KoboldAI",
|
||||
"Poe": "Poe",
|
||||
"Use Horde": "ホルドを使用",
|
||||
"API url": "API URL",
|
||||
"Register a Horde account for faster queue times": "より高速なキュータイムのために Horde アカウントを登録する",
|
||||
"Learn how to contribute your idle GPU cycles to the Hord": "空いている GPU サイクルを Hord に貢献する方法を学ぶ",
|
||||
"Adjust context size to worker capabilities": "ワーカー機能に合わせてコンテキストサイズを調整する",
|
||||
"Adjust response length to worker capabilities": "ワーカー機能に合わせて応答長を調整する",
|
||||
"API key": "API キー",
|
||||
"Register": "登録する",
|
||||
"For privacy reasons": "プライバシーのため、API キーはページをリロードするまで非表示になります",
|
||||
"Model": "モデル",
|
||||
"Hold Control / Command key to select multiple models.": "複数のモデルを選択するには、Control / Command キーを押してください。",
|
||||
"Horde models not loaded": "Horde モデルがロードされていない",
|
||||
"Not connected": "接続されていません",
|
||||
"Novel API key": "NovelAI API キー",
|
||||
"Follow": "以下の",
|
||||
"these directions": "指示",
|
||||
"to get your NovelAI API key.": "あなたの NovelAI API キーを取得するために。",
|
||||
"Enter it in the box below": "以下のボックスに入力してください",
|
||||
"Novel AI Model": "NovelAI モデル",
|
||||
"Euterpe": "Euterpe",
|
||||
"Krake": "Krake",
|
||||
"No connection": "接続なし",
|
||||
"oobabooga/text-generation-webui": "",
|
||||
"Make sure you run it with": "必ず --api の引数を含めて起動してください",
|
||||
"Blocking API url": "ブロッキング API URL",
|
||||
"Streaming API url": "ストリーミング API URL",
|
||||
"to get your OpenAI API key.": "あなたの OpenAI API キーを取得するために。",
|
||||
"OpenAI Model": "OpenAI モデル",
|
||||
"View API Usage Metrics": "API 使用メトリックスの表示",
|
||||
"Poe.com Unofficial API": "Poe.com 非公式 API",
|
||||
"to get your 'p-b cookie'": "",
|
||||
"Bot": "ボット",
|
||||
"Connect to the API": "API に接続",
|
||||
"Auto-connect to Last Server": "前回のサーバーに自動接続",
|
||||
"View hidden API keys": "非表示 API キーを表示",
|
||||
"Advanced Formatting": "高度なフォーマット",
|
||||
"AutoFormat Overrides": "自動フォーマットのオーバーライド",
|
||||
"Disable description formatting": "説明フォーマットを無効にする",
|
||||
"Disable personality formatting": "パーソナリティフォーマットを無効にする",
|
||||
"Disable scenario formatting": "シナリオフォーマットを無効にする",
|
||||
"Disable example chats formatting": "チャットの例のフォーマットを無効にする",
|
||||
"Disable chat start formatting": "チャット開始フォーマットを無効にする",
|
||||
"Custom Chat Separator": "カスタムチャットセパレーター",
|
||||
"Instruct mode": "インストラクトモード",
|
||||
"Enabled": "有効",
|
||||
"Wrap Sequences with Newline": "シーケンスを改行でラップする",
|
||||
"Include Names": "名前を含める",
|
||||
"System Prompt": "システムプロンプト",
|
||||
"Input Sequence": "入力シーケンス",
|
||||
"Output Sequence": "出力シーケンス",
|
||||
"System Sequence": "システムシーケンス",
|
||||
"Stop Sequence": "停止シーケンス",
|
||||
"Context Formatting": "コンテキストフォーマッティング",
|
||||
"Tokenizer": "トークナイザー",
|
||||
"None / Estimated": "なし/推定",
|
||||
"Sentencepiece (LLaMA)": "Sentencepiece(LLaMA)",
|
||||
"Token Padding": "トークンパディング",
|
||||
"Always add character's name to prompt": "常にキャラクター名をプロンプトに追加",
|
||||
"Keep Example Messages in Prompt": "プロンプトに例示メッセージを保持",
|
||||
"Remove Empty New Lines from Output": "出力から空の改行を削除",
|
||||
"Pygmalion Formatting": "ピグマリオンフォーマット",
|
||||
"Disabled for all models": "すべてのモデルで無効",
|
||||
"Automatic (based on model name)": "自動(モデル名に基づく)",
|
||||
"Enabled for all models": "すべてのモデルで有効",
|
||||
"Multigen": "マルチジェン",
|
||||
"First chunk (tokens)": "最初のチャンク(トークン)",
|
||||
"Next chunks (tokens)": "次のチャンク(トークン)",
|
||||
"Anchors Order": "アンカーオーダー",
|
||||
"Character then Style": "キャラクター、次にスタイル",
|
||||
"Style then Character": "スタイル、次にキャラクター",
|
||||
"Character Anchor": "キャラクターアンカー",
|
||||
"Style Anchor": "スタイルアンカー",
|
||||
"World Info": "",
|
||||
"Scan Depth": "スキャン深度",
|
||||
"depth": "深さ",
|
||||
"Token Budget": "トークン予算",
|
||||
"budget": "予算",
|
||||
"Recursive scanning": "再帰的スキャン",
|
||||
"Soft Prompt": "ソフトプロンプト",
|
||||
"About soft prompts": "ソフトプロンプトについて",
|
||||
"None": "なし",
|
||||
"User Settings": "ユーザー設定",
|
||||
"UI Customization": "UIカスタマイズ",
|
||||
"Avatar Style": "アバタースタイル",
|
||||
"Circle": "丸",
|
||||
"Rectangle": "四角形",
|
||||
"Chat Style": "チャットスタイル:",
|
||||
"Default": "デフォルト",
|
||||
"Bubbles": "吹き出し",
|
||||
"Chat Width (PC)": "チャット幅(PC):",
|
||||
"No Blur Effect": "ボケ効果なし",
|
||||
"No Text Shadows": "テキストシャドウなし",
|
||||
"Waifu Mode": "♡ Waifuモード♡",
|
||||
"Message Timer": "メッセージタイマー",
|
||||
"Characters Hotswap": "キャラクターのホットスワップ",
|
||||
"Movable UI Panels": "移動可能なUIパネル",
|
||||
"Reset Panels": "パネルをリセットする",
|
||||
"UI Colors": "UIの色",
|
||||
"Main Text": "本文",
|
||||
"Italics Text": "斜体テキスト",
|
||||
"Quote Text": "引用テキスト",
|
||||
"Shadow Color": "シャドウカラー",
|
||||
"FastUI BG": "FastUI BG",
|
||||
"Blur Tint": "ぼかし色合い",
|
||||
"Font Scale": "フォントスケール",
|
||||
"Blur Strength": "ぼかしの強度",
|
||||
"Text Shadow Width": "テキストシャドウの幅",
|
||||
"UI Theme Preset": "UIテーマプリセット",
|
||||
"Power User Options": "パワーユーザーオプション",
|
||||
"Swipes": "スワイプ",
|
||||
"Background Sound Only": "背景音のみ",
|
||||
"Auto-load Last Chat": "最後のチャットを自動読み込み",
|
||||
"Auto-save Message Edits": "メッセージの編集を自動保存",
|
||||
"Auto-fix Markdown": "Markdownを自動修正",
|
||||
"Allow : in bot messages": "ボットメッセージで「:」を許可する",
|
||||
"Allow : in bot messages": "ボットメッセージで「:」を許可する",
|
||||
"Auto-scroll Chat": "チャット自動スクロール",
|
||||
"Render Formulas": "数式のレンダリング",
|
||||
"Send on Enter": "エンター入力で送信",
|
||||
"Always disabled": "常に無効",
|
||||
"Automatic (desktop)": "自動(デスクトップ)",
|
||||
"Always enabled": "常に有効",
|
||||
"Name": "名前",
|
||||
"Your Avatar": "あなたのアバター",
|
||||
"Extensions API:": "拡張機能API:",
|
||||
"SillyTavern-extras": "SillyTavern-extras",
|
||||
"Auto-connect": "自動接続",
|
||||
"Active extensions": "アクティブな拡張機能",
|
||||
"Extension settings": "拡張機能の設定",
|
||||
"Description": "説明",
|
||||
"First message": "最初のメッセージ",
|
||||
"Group Controls": "グループのコントロール",
|
||||
"Group reply strategy": "グループの返信戦略",
|
||||
"Natural order": "自然な順序",
|
||||
"List order": "リストの順序",
|
||||
"Allow self responses": "自己応答を許可する",
|
||||
"Auto Mode": "自動モード",
|
||||
"Add Members": "メンバーを追加",
|
||||
"Current Members": "現在のメンバー",
|
||||
"text": "テキスト",
|
||||
"Delete": "削除",
|
||||
"Cancel": "キャンセル",
|
||||
"Advanced Defininitions": "高度な定義",
|
||||
"Personality summary": "性格の概要",
|
||||
"A brief description of the personality": "性格の簡単な説明",
|
||||
"Scenario": "シナリオ",
|
||||
"Circumstances and context of the dialogue": "対話の状況と文脈",
|
||||
"Talkativeness": "おしゃべり度",
|
||||
"How often the chracter speaks in": "グループチャットでの話し方",
|
||||
"group chats!": "",
|
||||
"Shy": "内気",
|
||||
"Normal": "普通",
|
||||
"Chatty": "おしゃべりさん",
|
||||
"Examples of dialogue": "対話の例",
|
||||
"Forms a personality more clearly": "個性をより明確に形成する",
|
||||
"Save": "保存",
|
||||
"World Info Editor": "情報エディタ",
|
||||
"New Entry": "新規エントリ",
|
||||
"Export": "エクスポート",
|
||||
"Delete World": "ワールドの削除",
|
||||
"Chat History": "チャット履歴",
|
||||
"Group Chat Scenario Override": "グループチャットシナリオのオーバーライド",
|
||||
"All group members will use the following scenario text instead of what is specified in their character cards.": "すべてのグループメンバーは、キャラクターカードで指定されたものではなく、以下のシナリオテキストを使用します。",
|
||||
"Keywords": "キーワード",
|
||||
"Separate with commas": "コンマで区切る",
|
||||
"Secondary Required Keywords": "必須の秒要キーワード",
|
||||
"Content": "内容",
|
||||
"What this keyword should mean to the AI": "このキーワードがAIにとってどういう意味を持つべきか",
|
||||
"Memo/Note": "メモ/ノート",
|
||||
"Not sent to AI": "AIに送信されない",
|
||||
"Constant": "定数",
|
||||
"Selective": "選択",
|
||||
"Before Char": "文字の前に",
|
||||
"After Char": "文字の後に",
|
||||
"Insertion Order": "挿入順",
|
||||
"Tokens:": "トークン",
|
||||
"Disable": "無効にする",
|
||||
"${characterName}": "${キャラクター名}",
|
||||
"CHAR": "文字",
|
||||
"is typing": "入力中...",
|
||||
"Back to parent chat": "親チャットに戻る",
|
||||
"Save bookmark": "ブックマークに保存",
|
||||
"Convert to group": "グループに変換",
|
||||
"Start new chat": "新しいチャットを開始",
|
||||
"View past chats": "過去のチャットを表示",
|
||||
"Delete messages": "メッセージを削除",
|
||||
"Impersonate": "なりすます",
|
||||
"Regenerate": "再生成",
|
||||
"PNG": "PNG",
|
||||
"JSON": "JSON",
|
||||
"WEBP": "WEBP",
|
||||
"presets": "プリセット",
|
||||
"Message Sound": "メッセージ音",
|
||||
"Author's Note": "作者の注記"
|
||||
}
|
||||
}
|
@@ -615,7 +615,6 @@ window.chromadb_interceptGeneration = async (chat, maxContext) => {
|
||||
const lastMessage = chat[chat.length - 1];
|
||||
|
||||
let queriedMessages;
|
||||
console.debug(recallStrategy)
|
||||
if (lastMessage) {
|
||||
let queryBlob = "";
|
||||
if (chromaQueryLastOnly) {
|
||||
@@ -626,7 +625,7 @@ window.chromadb_interceptGeneration = async (chat, maxContext) => {
|
||||
queryBlob += `${msg.mes}\n`
|
||||
}
|
||||
}
|
||||
console.log("CHROMADB: Query text:", queryBlob);
|
||||
console.debug("CHROMADB: Query text:", queryBlob);
|
||||
|
||||
if (recallStrategy === 'multichat') {
|
||||
console.log("Utilizing multichat")
|
||||
@@ -688,17 +687,17 @@ window.chromadb_interceptGeneration = async (chat, maxContext) => {
|
||||
memoryMsg += " {{message}}";
|
||||
}
|
||||
|
||||
// Reversed because we want the most important messages at the bottom.
|
||||
// Reversed because we want the most 'important' messages at the bottom.
|
||||
let recalledMemories = queriedMessages.map(m => m.meta).filter(onlyUnique).map(JSON.parse).reverse();
|
||||
let tokenApprox = 0;
|
||||
let allMemoryBlob = "";
|
||||
for (let msg of recalledMemories) {
|
||||
let memoryBlob = memoryMsg.replace('{{name}}', msg.name).replace('{{message}}', msg.mes);
|
||||
tokenApprox += (memoryBlob.length / CHARACTERS_PER_TOKEN_RATIO);
|
||||
if (tokenApprox > chromaTokenLimit) {
|
||||
break;
|
||||
for (const msg of recalledMemories) {
|
||||
const memoryBlob = memoryMsg.replace('{{name}}', msg.name).replace('{{message}}', msg.mes);
|
||||
const memoryTokens = (memoryBlob.length / CHARACTERS_PER_TOKEN_RATIO);
|
||||
if (tokenApprox + memoryTokens <= chromaTokenLimit) {
|
||||
allMemoryBlob += memoryBlob;
|
||||
tokenApprox += memoryTokens;
|
||||
}
|
||||
allMemoryBlob += memoryBlob;
|
||||
}
|
||||
|
||||
const promptBlob = wrapperMsg.replace('{{memories}}', allMemoryBlob);
|
||||
|
Reference in New Issue
Block a user