This commit is contained in:
Liang Ding 2023-03-24 16:20:17 +08:00
parent f51de5b11e
commit 2f51a072f9
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
3 changed files with 67 additions and 627 deletions

View File

@ -5,7 +5,7 @@
"Properties": { "Properties": {
"id": "20230304000547-ibldj1z", "id": "20230304000547-ibldj1z",
"title": "Artificial Intelligence", "title": "Artificial Intelligence",
"updated": "20230308213745" "updated": "20230324161818"
}, },
"Children": [ "Children": [
{ {
@ -28,12 +28,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213723-q8a5kbd", "id": "20230308213723-q8a5kbd",
"updated": "20230308213723" "updated": "20230324161738"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Currently only supports text dialogue through " "Data": "Supports text dialogue through "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
@ -43,7 +43,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": " Chat API, only supported on the desktop." "Data": " Chat API."
} }
] ]
}, },
@ -70,7 +70,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213723-r46h6mw", "id": "20230308213723-r46h6mw",
"updated": "20230308213739" "updated": "20230324161818"
}, },
"Children": [ "Children": [
{ {
@ -114,7 +114,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213723-obctww8", "id": "20230308213723-obctww8",
"updated": "20230308213723" "updated": "20230324161801"
}, },
"Children": [ "Children": [
{ {
@ -122,217 +122,30 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213723-rerhr3p", "id": "20230308213723-rerhr3p",
"updated": "20230308213723" "updated": "20230324161801"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Configure environment variables" "Data": "Configure in "
}
]
},
{
"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)"
}
]
}
]
}, },
{ {
"ID": "20230308213723-5vfosvz", "Type": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "Settings"
"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)"
}
]
}
]
}, },
{ {
"ID": "20230308213723-fj3oskr", "Type": "NodeText",
"Type": "NodeListItem", "Data": " - "
"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)"
}
]
}
]
}, },
{ {
"ID": "20230308213723-objm7mx", "Type": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "AI"
"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)"
}
]
}
]
}, },
{ {
"ID": "20230308213723-fi8mg6o", "Type": "NodeText",
"Type": "NodeListItem", "Data": ""
"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)"
}
]
}
]
} }
] ]
} }
@ -349,7 +162,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213723-5m7aqfs", "id": "20230308213723-5m7aqfs",
"updated": "20230308213730" "updated": "20230324161809"
}, },
"Children": [ "Children": [
{ {
@ -357,12 +170,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213723-i5y2zf5", "id": "20230308213723-i5y2zf5",
"updated": "20230308213730" "updated": "20230324161809"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "After restarting, you can use " "Data": "Use "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
@ -388,7 +201,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213723-la05np0", "id": "20230308213723-la05np0",
"updated": "20230308213739" "updated": "20230324161818"
}, },
"Children": [ "Children": [
{ {
@ -396,12 +209,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213723-mjv4wg6", "id": "20230308213723-mjv4wg6",
"updated": "20230308213739" "updated": "20230324161818"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "You can also perform more operations through the block menu " "Data": "Perform more operations through the block menu "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",

View File

@ -5,7 +5,7 @@
"Properties": { "Properties": {
"id": "20230303235619-ex5l63e", "id": "20230303235619-ex5l63e",
"title": "人工智能", "title": "人工智能",
"updated": "20230308213530" "updated": "20230324161605"
}, },
"Children": [ "Children": [
{ {
@ -28,12 +28,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230303235639-lx58u3y", "id": "20230303235639-lx58u3y",
"updated": "20230304000315" "updated": "20230324161449"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "目前仅支持通过 " "Data": "通过 "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
@ -43,7 +43,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": " Chat API 实现文本对话,仅在桌面端支持。" "Data": " Chat API 实现文本对话。"
} }
] ]
}, },
@ -70,7 +70,7 @@
}, },
"Properties": { "Properties": {
"id": "20230303235749-kurfjky", "id": "20230303235749-kurfjky",
"updated": "20230308213454" "updated": "20230324161605"
}, },
"Children": [ "Children": [
{ {
@ -114,7 +114,7 @@
}, },
"Properties": { "Properties": {
"id": "20230303235819-0o648f9", "id": "20230303235819-0o648f9",
"updated": "20230305102554" "updated": "20230324161532"
}, },
"Children": [ "Children": [
{ {
@ -122,216 +122,30 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230303235819-87dmjqq", "id": "20230303235819-87dmjqq",
"updated": "20230303235822" "updated": "20230324161532"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "配置环境变量" "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必须"
}
]
}
]
}, },
{ {
"ID": "20230303235950-l6o3a5a", "Type": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "设置"
"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 秒(可选)"
}
]
}
]
}, },
{ {
"ID": "20230303235950-ukul5sa", "Type": "NodeText",
"Type": "NodeListItem", "Data": " - "
"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": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "AI"
"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即使用模型默认值可选"
}
]
}
]
}, },
{ {
"ID": "20230308213215-ichxvb3", "Type": "NodeText",
"Type": "NodeListItem", "Data": " 中进行相关配置"
"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": "​(可选)"
}
]
}
]
} }
] ]
} }
@ -348,7 +162,7 @@
}, },
"Properties": { "Properties": {
"id": "20230303235958-fxi5kan", "id": "20230303235958-fxi5kan",
"updated": "20230308213418" "updated": "20230324161605"
}, },
"Children": [ "Children": [
{ {
@ -356,12 +170,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230303235958-1ksxnm3", "id": "20230303235958-1ksxnm3",
"updated": "20230308213418" "updated": "20230324161605"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "重启后即可使用 " "Data": "使用 "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
@ -370,7 +184,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": " 唤起对话框,输入提问或者需求后确认" "Data": " 唤起对话框,输入提问或者需求后确认"
} }
] ]
} }

View File

@ -5,7 +5,7 @@
"Properties": { "Properties": {
"id": "20230304000829-9jwu3po", "id": "20230304000829-9jwu3po",
"title": "人工智能", "title": "人工智能",
"updated": "20230308213648" "updated": "20230324161714"
}, },
"Children": [ "Children": [
{ {
@ -28,12 +28,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213628-td1ykoz", "id": "20230308213628-td1ykoz",
"updated": "20230308213628" "updated": "20230324161633"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "目前僅支持通過 " "Data": "支持通過 "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
@ -43,7 +43,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": " Chat API 實現文本對話,僅在桌面端支持。" "Data": " Chat API 實現文本對話。"
} }
] ]
}, },
@ -70,7 +70,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213628-fkt9ihv", "id": "20230308213628-fkt9ihv",
"updated": "20230308213648" "updated": "20230324161714"
}, },
"Children": [ "Children": [
{ {
@ -114,7 +114,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213628-2bnvc4r", "id": "20230308213628-2bnvc4r",
"updated": "20230308213628" "updated": "20230324161706"
}, },
"Children": [ "Children": [
{ {
@ -122,217 +122,30 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213628-m4d5rpm", "id": "20230308213628-m4d5rpm",
"updated": "20230308213628" "updated": "20230324161706"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "配置環境變量" "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必須"
}
]
}
]
}, },
{ {
"ID": "20230308213628-1desi9f", "Type": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "設置"
"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 秒(可選)"
}
]
}
]
}, },
{ {
"ID": "20230308213628-4jq7xca", "Type": "NodeText",
"Type": "NodeListItem", "Data": " - "
"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": " 指定代理,默認為空,即不使用代理(可選)"
}
]
}
]
}, },
{ {
"ID": "20230308213628-hn7rn67", "Type": "NodeTextMark",
"Type": "NodeListItem", "TextMarkType": "kbd",
"ListData": { "TextMarkTextContent": "AI"
"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即使用模型默認值可選"
}
]
}
]
}, },
{ {
"ID": "20230308213628-lt8tt00", "Type": "NodeText",
"Type": "NodeListItem", "Data": " 中進行相關配置"
"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": "​(可選)"
}
]
}
]
} }
] ]
} }
@ -349,7 +162,7 @@
}, },
"Properties": { "Properties": {
"id": "20230308213628-x6hemjt", "id": "20230308213628-x6hemjt",
"updated": "20230308213642" "updated": "20230324161714"
}, },
"Children": [ "Children": [
{ {
@ -357,12 +170,12 @@
"Type": "NodeParagraph", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20230308213628-hqonun0", "id": "20230308213628-hqonun0",
"updated": "20230308213642" "updated": "20230324161714"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "重啟後即可使用 " "Data": "使用 "
}, },
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",