An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: 桌面端接入 OpenAI Chat API https://github.com/siyuan-note/siyuan/issues/7560
Liang Dingb1ab6c8a14ad
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.syindex 976bae2221..51bdc7514c 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy@@ -5,7 +5,7 @@"Properties": {"id": "20221223221636-ms2b4w9","title": "Flashcards",- "updated": "20230219092854"+ "updated": "20230304000717"},"Children": [{@@ -425,12 +425,21 @@"HeadingLevel": 2,"Properties": {"id": "20221223221639-djlafd4",- "updated": "20221223221808"+ "updated": "20230304000717"},"Children": [{"Type": "NodeText",- "Data": "Note"+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "Note"+ },+ {+ "Type": "NodeText",+ "Data": ""}]},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.synew file mode 100644index 0000000000..8c73fab3ab--- /dev/null+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20230304000547-ibldj1z.sy@@ -0,0 +1,428 @@+{+ "ID": "20230304000547-ibldj1z",+ "Spec": "1",+ "Type": "NodeDocument",+ "Properties": {+ "id": "20230304000547-ibldj1z",+ "title": "Artificial Intelligence",+ "updated": "20230304000723"+ },+ "Children": [+ {+ "ID": "20230304000646-2lycahn",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000646-2lycahn",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Overview"+ }+ ]+ },+ {+ "ID": "20230304000646-g8eokbs",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-g8eokbs",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Currently only supports text dialogue through "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "a",+ "TextMarkAHref": "https://openai.com/",+ "TextMarkTextContent": "OpenAI"+ },+ {+ "Type": "NodeText",+ "Data": " Chat API, only supported on the desktop."+ }+ ]+ },+ {+ "ID": "20230304000646-ampo9ng",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000646-ampo9ng",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "How to use"+ }+ ]+ },+ {+ "ID": "20230304000646-a5e7srt",+ "Type": "NodeList",+ "ListData": {+ "Typ": 1+ },+ "Properties": {+ "id": "20230304000646-a5e7srt",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-0aseguf",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "MS4=",+ "Num": 1+ },+ "Properties": {+ "id": "20230304000646-0aseguf",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-z4uyi78",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-z4uyi78",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Register an OpenAI account and create an API Key"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-6207b6r",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "Mi4=",+ "Num": 2+ },+ "Properties": {+ "id": "20230304000646-6207b6r",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-t8nos3j",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-t8nos3j",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Configure environment variables"+ }+ ]+ },+ {+ "ID": "20230304000646-aj5szch",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230304000646-aj5szch",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-po7r7lt",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-po7r7lt",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-nxfk9qb",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-nxfk9qb",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_KEY"+ },+ {+ "Type": "NodeText",+ "Data": " specifies the API Key (required)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-78w2ck5",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-78w2ck5",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-2blt9e0",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-2blt9e0",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT"+ },+ {+ "Type": "NodeText",+ "Data": " specifies the timeout time (seconds), the default is 15 seconds (optional)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-zrv15q4",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-zrv15q4",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-m2luurq",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-m2luurq",+ "updated": "20230304000646"+ },+ "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)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-8swnrqn",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-8swnrqn",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-33hvl2k",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-33hvl2k",+ "updated": "20230304000646"+ },+ "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 unlimited (optional)"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-pyi5cq7",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "My4=",+ "Num": 3+ },+ "Properties": {+ "id": "20230304000646-pyi5cq7",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-jscziux",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-jscziux",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "After restarting, you can use "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "/AI Chat"+ },+ {+ "Type": "NodeText",+ "Data": " to invoke the dialog box, enter a question or demand and confirm"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-cahbmm9",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000646-cahbmm9",+ "updated": "20230304000723"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "Note"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ },+ {+ "ID": "20230304000646-zgzs8kh",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230304000646-zgzs8kh",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-25xgeq6",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-25xgeq6",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-wqg9ni0",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-wqg9ni0",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Text entered through this function dialog is sent to OpenAI"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000646-m3ojnfs",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000646-m3ojnfs",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "ID": "20230304000646-xpeou1e",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000646-xpeou1e",+ "updated": "20230304000646"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Using this function to call the OpenAI API will incur a certain fee"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+}\ No newline at end of filediff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.syindex bd5cfb446c..1d9e9dfa87 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy@@ -5,7 +5,7 @@"Properties": {"id": "20221223215557-o6gfsoy","title": "闪卡",- "updated": "20230219092526"+ "updated": "20230304000800"},"Children": [{@@ -433,12 +433,21 @@"HeadingLevel": 2,"Properties": {"id": "20221223221214-wr48h8b",- "updated": "20221223221216"+ "updated": "20230304000800"},"Children": [{"Type": "NodeText",- "Data": "注意"+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "注意"+ },+ {+ "Type": "NodeText",+ "Data": ""}]},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.synew file mode 100644index 0000000000..5fae78b807--- /dev/null+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e.sy@@ -0,0 +1,426 @@+{+ "ID": "20230303235619-ex5l63e",+ "Spec": "1",+ "Type": "NodeDocument",+ "Properties": {+ "id": "20230303235619-ex5l63e",+ "title": "人工智能",+ "updated": "20230304000753"+ },+ "Children": [+ {+ "ID": "20230303235619-xwwiur1",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230303235619-xwwiur1",+ "updated": "20230303235638"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "概述"+ }+ ]+ },+ {+ "ID": "20230303235639-lx58u3y",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235639-lx58u3y",+ "updated": "20230304000315"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "目前仅支持通过 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "a",+ "TextMarkAHref": "https://openai.com/",+ "TextMarkTextContent": "OpenAI"+ },+ {+ "Type": "NodeText",+ "Data": " Chat API 实现文本对话,仅在桌面端支持。"+ }+ ]+ },+ {+ "ID": "20230303235744-d5gf0ti",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230303235744-d5gf0ti",+ "updated": "20230303235749"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用方式"+ }+ ]+ },+ {+ "ID": "20230303235749-kurfjky",+ "Type": "NodeList",+ "ListData": {+ "Typ": 1+ },+ "Properties": {+ "id": "20230303235749-kurfjky",+ "updated": "20230304000517"+ },+ "Children": [+ {+ "ID": "20230303235807-xcyl1bg",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "MS4=",+ "Num": 1+ },+ "Properties": {+ "id": "20230303235807-xcyl1bg",+ "updated": "20230303235807"+ },+ "Children": [+ {+ "ID": "20230303235807-qxbizml",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235807-qxbizml",+ "updated": "20230303235818"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "注册 OpenAI 账号,并创建 API Key"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230303235819-0o648f9",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "Mi4=",+ "Num": 2+ },+ "Properties": {+ "id": "20230303235819-0o648f9"+ },+ "Children": [+ {+ "ID": "20230303235819-87dmjqq",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235819-87dmjqq",+ "updated": "20230303235822"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "配置环境变量"+ }+ ]+ },+ {+ "ID": "20230303235950-z00ou0r",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230303235950-z00ou0r",+ "updated": "20230303235950"+ },+ "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(必须)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230303235950-l6o3a5a",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230303235950-l6o3a5a",+ "updated": "20230303235950"+ },+ "Children": [+ {+ "ID": "20230303235950-zfhft7e",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235950-zfhft7e",+ "updated": "20230303235950"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT"+ },+ {+ "Type": "NodeText",+ "Data": " 指定超时时间(秒),默认为 15 秒(可选)"+ }+ ]+ }+ ]+ },+ {+ "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": " 指定代理,默认为空,即不使用代理(可选)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230303235950-5y60wvh",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230303235950-5y60wvh",+ "updated": "20230303235950"+ },+ "Children": [+ {+ "ID": "20230303235950-ffevwk8",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235950-ffevwk8",+ "updated": "20230303235950"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_MAX_TOKENS"+ },+ {+ "Type": "NodeText",+ "Data": " 指定 tokens 数量,默认为 0,即不限制(可选)"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230303235958-fxi5kan",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "My4=",+ "Num": 3+ },+ "Properties": {+ "id": "20230303235958-fxi5kan",+ "updated": "20230304000517"+ },+ "Children": [+ {+ "ID": "20230303235958-1ksxnm3",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230303235958-1ksxnm3",+ "updated": "20230304000517"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "重启后即可使用 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "/AI Chat"+ },+ {+ "Type": "NodeText",+ "Data": " 唤起对话框,输入提问或者需求后确认"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230303235720-jz6h38o",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230303235720-jz6h38o",+ "updated": "20230304000753"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "注意"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ },+ {+ "ID": "20230304000206-b18o0sx",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230304000206-b18o0sx",+ "updated": "20230304000500"+ },+ "Children": [+ {+ "ID": "20230304000230-nh7oris",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000230-nh7oris"+ },+ "Children": [+ {+ "ID": "20230304000230-ageb8a2",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000230-ageb8a2",+ "updated": "20230304000300"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "通过该功能对话框输入的文本会发送至 OpenAI"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000207-89ot2j9",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000207-89ot2j9",+ "updated": "20230304000500"+ },+ "Children": [+ {+ "ID": "20230304000207-34w52pv",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000207-34w52pv",+ "updated": "20230304000500"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用该功能调用 OpenAI API 会产生一定费用"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+}\ No newline at end of filediff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.syindex d346ab69ab..a278a96233 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy@@ -5,7 +5,7 @@"Properties": {"id": "20221223221501-mops33i","title": "閃卡",- "updated": "20230219092941"+ "updated": "20230304000916"},"Children": [{@@ -429,12 +429,21 @@"HeadingLevel": 2,"Properties": {"id": "20221223221502-cqcjal6",- "updated": "20221223221502"+ "updated": "20230304000916"},"Children": [{"Type": "NodeText",- "Data": "注意"+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "注意"+ },+ {+ "Type": "NodeText",+ "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.synew file mode 100644index 0000000000..2414fb137e--- /dev/null+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20230304000829-9jwu3po.sy@@ -0,0 +1,428 @@+{+ "ID": "20230304000829-9jwu3po",+ "Spec": "1",+ "Type": "NodeDocument",+ "Properties": {+ "id": "20230304000829-9jwu3po",+ "title": "人工智能",+ "updated": "20230304000912"+ },+ "Children": [+ {+ "ID": "20230304000837-o6ep7ny",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000837-o6ep7ny",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "概述"+ }+ ]+ },+ {+ "ID": "20230304000837-c7i5f98",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-c7i5f98",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "目前僅支持通過 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "a",+ "TextMarkAHref": "https://openai.com/",+ "TextMarkTextContent": "OpenAI"+ },+ {+ "Type": "NodeText",+ "Data": " Chat API 實現文本對話,僅在桌面端支持。"+ }+ ]+ },+ {+ "ID": "20230304000837-0amynjf",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000837-0amynjf",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用方式"+ }+ ]+ },+ {+ "ID": "20230304000837-t0swnf6",+ "Type": "NodeList",+ "ListData": {+ "Typ": 1+ },+ "Properties": {+ "id": "20230304000837-t0swnf6",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-udv9xqz",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "MS4=",+ "Num": 1+ },+ "Properties": {+ "id": "20230304000837-udv9xqz",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-8mb86a9",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-8mb86a9",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "註冊 OpenAI 賬號,並創建 API Key"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-ktv65zx",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "Mi4=",+ "Num": 2+ },+ "Properties": {+ "id": "20230304000837-ktv65zx",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-rvncpuv",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-rvncpuv",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "配置環境變量"+ }+ ]+ },+ {+ "ID": "20230304000837-8z180b1",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230304000837-8z180b1",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-zwu0am4",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-zwu0am4",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-mx4nbyd",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-mx4nbyd",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_KEY"+ },+ {+ "Type": "NodeText",+ "Data": " 指定 API Key(必須)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-71slt0q",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-71slt0q",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-t2um8y2",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-t2um8y2",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_TIMEOUT"+ },+ {+ "Type": "NodeText",+ "Data": " 指定超時時間(秒),默認為 15 秒(可選)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-tk4s9l8",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-tk4s9l8",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-bvv20rq",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-bvv20rq",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_PROXY"+ },+ {+ "Type": "NodeText",+ "Data": " 指定代理,默認為空,即不使用代理(可選)"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-sd6h4qn",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-sd6h4qn",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-y8kj8ki",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-y8kj8ki",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "SIYUAN_OPENAI_API_MAX_TOKENS"+ },+ {+ "Type": "NodeText",+ "Data": " 指定 tokens 數量,默認為 0,即不限制(可選)"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-8aacttx",+ "Type": "NodeListItem",+ "ListData": {+ "Typ": 1,+ "Delimiter": 46,+ "Marker": "My4=",+ "Num": 3+ },+ "Properties": {+ "id": "20230304000837-8aacttx",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-xsmvy3a",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-xsmvy3a",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "重啟後即可使用 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "code",+ "TextMarkTextContent": "/AI Chat"+ },+ {+ "Type": "NodeText",+ "Data": " 喚起對話框,輸入提問或者需求後確認"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-507o2cp",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20230304000837-507o2cp",+ "updated": "20230304000912"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "tag",+ "TextMarkTextContent": "注意"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ },+ {+ "ID": "20230304000837-16zrrs8",+ "Type": "NodeList",+ "ListData": {},+ "Properties": {+ "id": "20230304000837-16zrrs8",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-2pmo4r2",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-2pmo4r2",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-olsbuqw",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-olsbuqw",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "通過該功能對話框輸入的文本會發送至 OpenAI"+ }+ ]+ }+ ]+ },+ {+ "ID": "20230304000837-ma9tqg8",+ "Type": "NodeListItem",+ "ListData": {+ "BulletChar": 42,+ "Marker": "Kg=="+ },+ "Properties": {+ "id": "20230304000837-ma9tqg8",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "ID": "20230304000837-1n86ajy",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20230304000837-1n86ajy",+ "updated": "20230304000837"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用該功能調用 OpenAI API 會產生一定費用"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+}\ No newline at end of file