Merge branch 'main' of https://github.com/utin-francis-peter/DocsGPT into fix/retry-btn

pull/988/head
utin-francis-peter 4 months ago
commit 1ce1459455

@ -6,7 +6,7 @@
"myPlan": "My Plan",
"about": "About",
"inputPlaceholder": "Type your message here...",
"tagline": "DocsGPT uses GenAI, please review critial information using sources.",
"tagline": "DocsGPT uses GenAI, please review critical information using sources.",
"sourceDocs": "Source Docs",
"none": "None",
"cancel": "Cancel",
@ -16,8 +16,8 @@
"query": "What is DocsGPT?"
},
{
"header": "Summarise documentation",
"query": "Summarise current context"
"header": "Summarize documentation",
"query": "Summarize current context"
},
{
"header": "Write Code",

@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
import en from './en.json'; //English
import es from './es.json'; //Spanish
import jp from './jp.json'; //Japanese
i18n.use(initReactI18next).init({
resources: {
@ -12,6 +13,9 @@ i18n.use(initReactI18next).init({
es: {
translation: es,
},
jp: {
translation: jp,
},
},
});

@ -0,0 +1,109 @@
{
"language": "日本語",
"chat": "チャット",
"chats": "チャット",
"newChat": "新しいチャット",
"myPlan": "私のプラン",
"about": "について",
"inputPlaceholder": "ここにメッセージを入力してください...",
"tagline": "DocsGPTはGenAIを使用しています。重要な情報はソースで確認してください。",
"sourceDocs": "ソースドキュメント",
"none": "なし",
"cancel":"キャンセル",
"demo": [
{
"header": "DocsGPTについて学ぶ",
"query": "DocsGPTとは何ですか?"
},
{
"header": "ドキュメントを要約する",
"query": "現在のコンテキストを要約してください"
},
{
"header": "コードを書く",
"query": "APIリクエストのコードを/api/answerに書いてください。"
},
{
"header": "学習支援",
"query": "コンテキストに対する潜在的な質問を書いてください"
}
],
"settings": {
"label": "設定",
"general": {
"label": "一般",
"selectTheme": "テーマを選択",
"light": "ライト",
"dark": "ダーク",
"selectLanguage": "言語を選択",
"chunks": "クエリごとに処理されるチャンク",
"prompt": "アクティブプロンプト",
"deleteAllLabel": "すべての会話を削除",
"deleteAllBtn": "すべて削除",
"addNew": "新規追加",
"convHistory":"会話履歴",
"none":"なし",
"low":"低",
"medium":"中",
"high":"高",
"unlimited":"無制限",
"default":"デフォルト"
},
"documents": {
"label": "ドキュメント",
"name": "ドキュメント名",
"date": "ベクトル日付",
"type": "タイプ",
"tokenUsage": "トークン使用量"
},
"apiKeys": {
"label": "APIキー",
"name": "名前",
"key": "APIキー",
"sourceDoc": "ソースドキュメント",
"createNew": "新規作成"
}
},
"modals": {
"uploadDoc": {
"label": "新規書類のアップロード",
"file": "ファイルから",
"remote": "リモート",
"name": "名前",
"choose": "ファイルを選択",
"info": ".pdf, .txt, .rst, .docx, .md, .zipファイルを25MBまでアップロードしてください",
"uploadedFiles": "アップロードされたファイル",
"cancel": "キャンセル",
"train": "トレーニング",
"link": "リンク",
"urlLink": "URLリンク",
"reddit": {
"id": "クライアントID",
"secret": "クライアントシークレット",
"agent": "ユーザーエージェント",
"searchQueries": "検索クエリ",
"numberOfPosts": "投稿数"
}
},
"createAPIKey": {
"label": "新しいAPIキーを作成",
"apiKeyName": "APIキー名",
"chunks": "クエリごとに処理されるチャンク",
"prompt": "アクティブプロンプトを選択",
"sourceDoc": "ソースドキュメント",
"create": "作成"
},
"saveKey": {
"note": "キーを保存してください",
"disclaimer": "キーが表示されるのはこのときだけです。",
"copy": "コピー",
"copied": "コピーしました",
"confirm": "キーを保存しました"
},
"deleteConv": {
"confirm": "すべての会話を削除してもよろしいですか?",
"delete": "削除"
}
}
}

@ -32,6 +32,10 @@ const General: React.FC = () => {
label: 'Spanish',
value: 'es',
},
{
label: 'Japanese',
value: 'jp',
},
];
const chunks = ['0', '2', '4', '6', '8', '10'];
const token_limits = new Map([

Loading…
Cancel
Save