From 2f51a072f9818e7e7e22f331f2a82b920ef7e792 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 24 Mar 2023 16:20:17 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=94=AF=E6=8C=81=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=86=85=E9=85=8D=E7=BD=AE=E4=BA=BA=E5=B7=A5=E6=99=BA=E8=83=BD?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/7714?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20230304000547-ibldj1z.sy | 235 ++---------------- .../20230303235619-ex5l63e.sy | 230 ++--------------- .../20230304000829-9jwu3po.sy | 229 ++--------------- 3 files changed, 67 insertions(+), 627 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20230304000547-ibldj1z.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20230304000547-ibldj1z.sy index c1d9fae39..064f8c10d 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20230304000547-ibldj1z.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20230304000547-ibldj1z.sy @@ -5,7 +5,7 @@ "Properties": { "id": "20230304000547-ibldj1z", "title": "Artificial Intelligence", - "updated": "20230308213745" + "updated": "20230324161818" }, "Children": [ { @@ -28,12 +28,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213723-q8a5kbd", - "updated": "20230308213723" + "updated": "20230324161738" }, "Children": [ { "Type": "NodeText", - "Data": "Currently only supports text dialogue through " + "Data": "Supports text dialogue through " }, { "Type": "NodeTextMark", @@ -43,7 +43,7 @@ }, { "Type": "NodeText", - "Data": " Chat API, only supported on the desktop." + "Data": " Chat API." } ] }, @@ -70,7 +70,7 @@ }, "Properties": { "id": "20230308213723-r46h6mw", - "updated": "20230308213739" + "updated": "20230324161818" }, "Children": [ { @@ -114,7 +114,7 @@ }, "Properties": { "id": "20230308213723-obctww8", - "updated": "20230308213723" + "updated": "20230324161801" }, "Children": [ { @@ -122,217 +122,30 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213723-rerhr3p", - "updated": "20230308213723" + "updated": "20230324161801" }, "Children": [ { "Type": "NodeText", - "Data": "Configure environment variables" - } - ] - }, - { - "ID": "20230308213723-pyed7a2", - "Type": "NodeList", - "ListData": {}, - "Properties": { - "id": "20230308213723-pyed7a2", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-lakya6i", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213723-lakya6i", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-2sruo2o", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213723-2sruo2o", - "updated": "20230308213723" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_KEY" - }, - { - "Type": "NodeText", - "Data": "​ specifies the API Key (required)" - } - ] - } - ] + "Data": "Configure in " }, { - "ID": "20230308213723-5vfosvz", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213723-5vfosvz", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-cxomjan", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213723-cxomjan", - "updated": "20230308213723" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT" - }, - { - "Type": "NodeText", - "Data": "​ specifies the timeout time (seconds), the default is 30 seconds (optional)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Settings" }, { - "ID": "20230308213723-fj3oskr", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213723-fj3oskr", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-pvngelo", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213723-pvngelo", - "updated": "20230308213723" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_PROXY" - }, - { - "Type": "NodeText", - "Data": "​ specifies the proxy, the default is empty, that is, no proxy is used (optional)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​ - " }, { - "ID": "20230308213723-objm7mx", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213723-objm7mx", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-x64pmnz", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213723-x64pmnz", - "updated": "20230308213723" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_MAX_TOKENS" - }, - { - "Type": "NodeText", - "Data": "​ specifies the number of tokens, the default is 0, that is, the default value of the model is used (optional)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "AI" }, { - "ID": "20230308213723-fi8mg6o", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213723-fi8mg6o", - "updated": "20230308213723" - }, - "Children": [ - { - "ID": "20230308213723-11ww633", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213723-11ww633", - "updated": "20230308213723" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_BASE_URL" - }, - { - "Type": "NodeText", - "Data": "​ specifies the base address of the API server, the default is " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "https://api.openai.com/v1" - }, - { - "Type": "NodeText", - "Data": "​ (optional)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​" } ] } @@ -349,7 +162,7 @@ }, "Properties": { "id": "20230308213723-5m7aqfs", - "updated": "20230308213730" + "updated": "20230324161809" }, "Children": [ { @@ -357,12 +170,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213723-i5y2zf5", - "updated": "20230308213730" + "updated": "20230324161809" }, "Children": [ { "Type": "NodeText", - "Data": "After restarting, you can use " + "Data": "Use " }, { "Type": "NodeTextMark", @@ -388,7 +201,7 @@ }, "Properties": { "id": "20230308213723-la05np0", - "updated": "20230308213739" + "updated": "20230324161818" }, "Children": [ { @@ -396,12 +209,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213723-mjv4wg6", - "updated": "20230308213739" + "updated": "20230324161818" }, "Children": [ { "Type": "NodeText", - "Data": "You can also perform more operations through the block menu " + "Data": "Perform more operations through the block menu " }, { "Type": "NodeTextMark", diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e.sy index afa62f181..9724b4a8d 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e.sy @@ -5,7 +5,7 @@ "Properties": { "id": "20230303235619-ex5l63e", "title": "人工智能", - "updated": "20230308213530" + "updated": "20230324161605" }, "Children": [ { @@ -28,12 +28,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230303235639-lx58u3y", - "updated": "20230304000315" + "updated": "20230324161449" }, "Children": [ { "Type": "NodeText", - "Data": "目前仅支持通过 " + "Data": "通过 " }, { "Type": "NodeTextMark", @@ -43,7 +43,7 @@ }, { "Type": "NodeText", - "Data": " Chat API 实现文本对话,仅在桌面端支持。" + "Data": " Chat API 实现文本对话。" } ] }, @@ -70,7 +70,7 @@ }, "Properties": { "id": "20230303235749-kurfjky", - "updated": "20230308213454" + "updated": "20230324161605" }, "Children": [ { @@ -114,7 +114,7 @@ }, "Properties": { "id": "20230303235819-0o648f9", - "updated": "20230305102554" + "updated": "20230324161532" }, "Children": [ { @@ -122,216 +122,30 @@ "Type": "NodeParagraph", "Properties": { "id": "20230303235819-87dmjqq", - "updated": "20230303235822" + "updated": "20230324161532" }, "Children": [ { "Type": "NodeText", - "Data": "配置环境变量" - } - ] - }, - { - "ID": "20230303235950-z00ou0r", - "Type": "NodeList", - "ListData": {}, - "Properties": { - "id": "20230303235950-z00ou0r", - "updated": "20230305102554" - }, - "Children": [ - { - "ID": "20230303235950-3rcai2b", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230303235950-3rcai2b", - "updated": "20230303235950" - }, - "Children": [ - { - "ID": "20230303235950-4femf1q", - "Type": "NodeParagraph", - "Properties": { - "id": "20230303235950-4femf1q", - "updated": "20230303235950" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_KEY" - }, - { - "Type": "NodeText", - "Data": "​​ 指定 API Key(必须)" - } - ] - } - ] + "Data": "在 " }, { - "ID": "20230303235950-l6o3a5a", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230303235950-l6o3a5a", - "updated": "20230305102554" - }, - "Children": [ - { - "ID": "20230303235950-zfhft7e", - "Type": "NodeParagraph", - "Properties": { - "id": "20230303235950-zfhft7e", - "updated": "20230305102554" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT" - }, - { - "Type": "NodeText", - "Data": "​​ 指定超时时间(秒),默认为 30 秒(可选)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "设置" }, { - "ID": "20230303235950-ukul5sa", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230303235950-ukul5sa", - "updated": "20230303235950" - }, - "Children": [ - { - "ID": "20230303235950-7srjdql", - "Type": "NodeParagraph", - "Properties": { - "id": "20230303235950-7srjdql", - "updated": "20230303235950" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_PROXY" - }, - { - "Type": "NodeText", - "Data": "​​ 指定代理,默认为空,即不使用代理(可选)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​ - " }, { - "ID": "20230303235950-5y60wvh", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230303235950-5y60wvh", - "updated": "20230304171349" - }, - "Children": [ - { - "ID": "20230303235950-ffevwk8", - "Type": "NodeParagraph", - "Properties": { - "id": "20230303235950-ffevwk8", - "updated": "20230304171349" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_MAX_TOKENS" - }, - { - "Type": "NodeText", - "Data": "​​​ 指定 tokens 数量,默认为 0,即使用模型默认值(可选)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "AI" }, { - "ID": "20230308213215-ichxvb3", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213215-ichxvb3" - }, - "Children": [ - { - "ID": "20230308213215-uyvki9p", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213215-uyvki9p", - "updated": "20230308213337" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_BASE_URL" - }, - { - "Type": "NodeText", - "Data": "​ 指定 API 服务端基础地址,默认为 " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "https://api.openai.com/v1" - }, - { - "Type": "NodeText", - "Data": "​(可选)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​ 中进行相关配置" } ] } @@ -348,7 +162,7 @@ }, "Properties": { "id": "20230303235958-fxi5kan", - "updated": "20230308213418" + "updated": "20230324161605" }, "Children": [ { @@ -356,12 +170,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230303235958-1ksxnm3", - "updated": "20230308213418" + "updated": "20230324161605" }, "Children": [ { "Type": "NodeText", - "Data": "重启后即可使用 " + "Data": "使用 " }, { "Type": "NodeTextMark", @@ -370,7 +184,7 @@ }, { "Type": "NodeText", - "Data": "​​ 唤起对话框,输入提问或者需求后确认" + "Data": "​ 唤起对话框,输入提问或者需求后确认" } ] } diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20230304000829-9jwu3po.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20230304000829-9jwu3po.sy index 4f18a78fe..40c8184f8 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20230304000829-9jwu3po.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20230304000829-9jwu3po.sy @@ -5,7 +5,7 @@ "Properties": { "id": "20230304000829-9jwu3po", "title": "人工智能", - "updated": "20230308213648" + "updated": "20230324161714" }, "Children": [ { @@ -28,12 +28,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213628-td1ykoz", - "updated": "20230308213628" + "updated": "20230324161633" }, "Children": [ { "Type": "NodeText", - "Data": "目前僅支持通過 " + "Data": "支持通過 " }, { "Type": "NodeTextMark", @@ -43,7 +43,7 @@ }, { "Type": "NodeText", - "Data": " Chat API 實現文本對話,僅在桌面端支持。" + "Data": " Chat API 實現文本對話。" } ] }, @@ -70,7 +70,7 @@ }, "Properties": { "id": "20230308213628-fkt9ihv", - "updated": "20230308213648" + "updated": "20230324161714" }, "Children": [ { @@ -114,7 +114,7 @@ }, "Properties": { "id": "20230308213628-2bnvc4r", - "updated": "20230308213628" + "updated": "20230324161706" }, "Children": [ { @@ -122,217 +122,30 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213628-m4d5rpm", - "updated": "20230308213628" + "updated": "20230324161706" }, "Children": [ { "Type": "NodeText", - "Data": "配置環境變量" - } - ] - }, - { - "ID": "20230308213628-qpozqny", - "Type": "NodeList", - "ListData": {}, - "Properties": { - "id": "20230308213628-qpozqny", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-2vi7j3h", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213628-2vi7j3h", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-tmkbk2e", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213628-tmkbk2e", - "updated": "20230308213628" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_KEY" - }, - { - "Type": "NodeText", - "Data": "​ 指定 API Key(必須)" - } - ] - } - ] + "Data": "在 " }, { - "ID": "20230308213628-1desi9f", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213628-1desi9f", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-sk97619", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213628-sk97619", - "updated": "20230308213628" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT" - }, - { - "Type": "NodeText", - "Data": "​ 指定超時時間(秒),默認為 30 秒(可選)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "設置" }, { - "ID": "20230308213628-4jq7xca", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213628-4jq7xca", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-k0f3rx6", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213628-k0f3rx6", - "updated": "20230308213628" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_PROXY" - }, - { - "Type": "NodeText", - "Data": "​ 指定代理,默認為空,即不使用代理(可選)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​ - " }, { - "ID": "20230308213628-hn7rn67", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213628-hn7rn67", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-iqb8u0o", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213628-iqb8u0o", - "updated": "20230308213628" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_MAX_TOKENS" - }, - { - "Type": "NodeText", - "Data": "​ 指定 tokens 數量,默認為 0,即使用模型默認值(可選)" - } - ] - } - ] + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "AI" }, { - "ID": "20230308213628-lt8tt00", - "Type": "NodeListItem", - "ListData": { - "BulletChar": 42, - "Marker": "Kg==" - }, - "Properties": { - "id": "20230308213628-lt8tt00", - "updated": "20230308213628" - }, - "Children": [ - { - "ID": "20230308213628-knxr1iu", - "Type": "NodeParagraph", - "Properties": { - "id": "20230308213628-knxr1iu", - "updated": "20230308213628" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "​" - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "SIYUAN_OPENAI_API_BASE_URL" - }, - { - "Type": "NodeText", - "Data": "​ 指定 API 服務端基礎地址,默認為 " - }, - { - "Type": "NodeTextMark", - "TextMarkType": "code", - "TextMarkTextContent": "https://api.openai.com/v1" - }, - { - "Type": "NodeText", - "Data": "​(可選)" - } - ] - } - ] + "Type": "NodeText", + "Data": "​ 中進行相關配置" } ] } @@ -349,7 +162,7 @@ }, "Properties": { "id": "20230308213628-x6hemjt", - "updated": "20230308213642" + "updated": "20230324161714" }, "Children": [ { @@ -357,12 +170,12 @@ "Type": "NodeParagraph", "Properties": { "id": "20230308213628-hqonun0", - "updated": "20230308213642" + "updated": "20230324161714" }, "Children": [ { "Type": "NodeText", - "Data": "重啟後即可使用 " + "Data": "使用 " }, { "Type": "NodeTextMark",