> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/data-settings/obsidian.md).

# Obsidian 配置教程

Cherry Studio 支援同 Obsidian 聯動，將完整對話或者單條對話匯出到 Obsidian 庫入面。

{% hint style="warning" %}
呢個過程唔使額外安裝 Obsidian 插件。但由於 Cherry Studio 匯入 Obsidian 採用嘅原理同 Obsidian Web Clipper 類似，所以建議用戶最好將 Obsidian 升級到最新版本（而家 Obsidian 版本最少應該大過 **1.7.2**），以免[如果對話太長導致匯入失敗](https://github.com/obsidianmd/obsidian-clipper/releases/tag/0.7.0)。
{% endhint %}

## 最新教學

{% hint style="info" %}
相比舊版匯出到 Obsidian，新版匯出到 Obsidian 功能可以自動揀選庫路徑，唔再需要手動輸入庫名、資料夾名。
{% endhint %}

### 第一步：配置 Cherry Studio

打開 Cherry Studio 嘅*設定* → *資料設定* → *Obsidian 配置*選單，下拉框入面會自動出現喺本機開過嘅 Obsidian 庫名，揀你目標嘅 Obsidian 庫：

<figure><img src="/files/d7bf8b5d6e38c1a0681b513f3b9d940a92114a10" alt=""><figcaption></figcaption></figure>

### 第二步：匯出對話

#### 匯出完整對話

返去 Cherry Studio 嘅對話介面，右鍵撳對話，揀*匯出*，撳*匯出到 Obsidian*：

<figure><img src="/files/0d5e6540fbe48f8df325cede1b0447bc3266853d" alt=""><figcaption></figcaption></figure>

呢陣會彈出一個視窗，用嚟調整呢條匯出到 Obsidian 入面嘅對話筆記嘅 **Properties（屬性）、**&#x653E;喺 Obsidian 裏面嘅**資料夾位置**同埋匯出到 Obsidian 入面嘅**處理方式：**

* **保管庫**：撳下拉選單可以揀其他 Obsidian 庫
* **路徑**：撳下拉選單可以揀存放匯出對話筆記嘅資料夾
* 作為 Obsidian 筆記屬性（Properties）：
  * 標籤（tags）
  * 建立時間（created）
  * 來源（source）
* 匯出到 Obsidian 入面嘅**處理方式**有以下三種可選：
* 匯出到 Obsidian 入面嘅**處理方式**有以下三種可選：
  * **新建（如果存在就覆蓋）**：喺**路徑**處填寫嘅`文件夾` 裏面新建一篇對話筆記，如果存在同名筆記就會覆蓋舊筆記
  * **前置**：喺已存在同名筆記嘅情況下，將揀選嘅對話內容匯出並加到該筆記開頭
  * **追加**：喺已存在同名筆記嘅情況下，將揀選嘅對話內容匯出並加到該筆記尾部

{% hint style="info" %}
只有第一種方式會連埋 Properties（屬性），後兩種方式唔會連埋 Properties（屬性）。
{% endhint %}

<figure><img src="/files/bc17e30a76cc3e04c9fc32fd971d1b6344d12311" alt=""><figcaption><p>配置筆記屬性</p></figcaption></figure>

<figure><img src="/files/f8d3fe75d3d9097d309ce615f90fcdd9343431db" alt=""><figcaption><p>揀路徑</p></figcaption></figure>

<figure><img src="/files/25d0fdc98d2f94af0d6d6b7c69b50c109fa4cda8" alt=""><figcaption><p>揀處理方式</p></figcaption></figure>

揀晒所有選項之後，撳確定就可以匯出完整對話到對應嘅 Obsidian 庫嘅對應資料夾。

#### 匯出單條對話

至於單條對話嘅匯出，就撳對話下方嘅*三條橫線選單*，揀*匯出*，撳*匯出到 Obsidian*：

<figure><img src="/files/68f5d92b73c39fd75981dac8ddfee8e4790a1753" alt=""><figcaption><p>匯出單條對話</p></figcaption></figure>

之後都會彈出同匯出完整對話嗰陣一樣嘅視窗，要求你配置**筆記屬性**同**筆記嘅處理方式**，一樣跟住[上面嘅教學](#dao-chu-wan-zheng-dui-hua)完成就得。

### 匯出成功

🎉 去到呢度，恭喜你完成咗 Cherry Studio 聯動 Obsidian 嘅所有配置，仲完整行咗一遍匯出流程，enjoy yourselves!

<figure><img src="/files/4b74992d4d1ef95c519d850aa3573cd392419946" alt=""><figcaption><p>匯出到 Obsidian</p></figcaption></figure>

<figure><img src="/files/07abe74a5769d694bf1499dbe26a41f126afbbad" alt=""><figcaption><p>睇匯出結果</p></figcaption></figure>

***

## 舊教學（適用於Cherry Studio\<v1.1.13）

### 第一步：準備 Obsidian

打開 Obsidian 庫，建立一個用嚟儲存匯出對話嘅`文件夾`（圖中以 Cherry Studio 資料夾做例子）：

<figure><img src="/files/394c1a8dc49822062c06bb0b831bb32e260d4edf" alt=""><figcaption></figcaption></figure>

記住左下角框出嚟嘅文字，呢度係你嘅`保管庫`名。

### 第二步：配置 Cherry Studio

喺 Cherry Studio 嘅*設定* → *資料設定* → *Obsidian 配置*選單入面，輸入喺[第一步](#di-yi-bu)入面攞到嘅`保管庫`名同`文件夾`名：

<figure><img src="/files/725b7d950f0b2fababd586868af3e7d6f6fefdd4" alt=""><figcaption></figcaption></figure>

`全局標籤`呢度係可選嘅，可以設定所有對話匯出後喺 Obsidian 入面嘅標籤，按需要填寫。

### 第三步：匯出對話

#### 匯出完整對話

返去 Cherry Studio 嘅對話介面，右鍵撳對話，揀*匯出*，撳*匯出到 Obsidian*。

<figure><img src="/files/4d70a41cae959c44b1b4ff97c7f439872a0fe6ef" alt=""><figcaption><p>匯出完整對話</p></figcaption></figure>

呢陣會彈出一個視窗，用嚟調整呢條匯出到 Obsidian 入面嘅對話筆記嘅 **Properties（屬性）**，同埋匯出到 Obsidian 入面嘅**處理方式**。匯出到 Obsidian 入面嘅**處理方式**有以下三種可選：

* **新建（如果存在就覆蓋）**：喺[第二步](#di-er-bu)入面填寫嘅`文件夾` 裏面新建一篇對話筆記，如果存在同名筆記就會覆蓋舊筆記
* **前置**：喺已存在同名筆記嘅情況下，將揀選嘅對話內容匯出並加到該筆記開頭
* **追加**：喺已存在同名筆記嘅情況下，將揀選嘅對話內容匯出並加到該筆記尾部

<figure><img src="/files/a2e35a750f4339accc98d0c4fbb7849102fb52b9" alt=""><figcaption><p>配置筆記屬性</p></figcaption></figure>

{% hint style="info" %}
只有第一種方式會連埋 Properties（屬性），後兩種方式唔會連埋 Properties（屬性）。
{% endhint %}

#### 匯出單條對話

至於單條對話嘅匯出，就撳對話下方嘅*三條橫線選單*，揀*匯出*，撳*匯出到 Obsidian*。

<figure><img src="/files/7f34835578893bbdb167268341fb465658e67f17" alt=""><figcaption><p>匯出單條對話</p></figcaption></figure>

之後都會彈出同匯出完整對話嗰陣一樣嘅視窗，要求你配置**筆記屬性**同**筆記嘅處理方式**，一樣跟住[上面嘅教學](#dao-chu-wan-zheng-dui-hua)完成就得。

### 匯出成功

🎉 去到呢度，恭喜你完成咗 Cherry Studio 聯動 Obsidian 嘅所有配置，仲完整行咗一遍匯出流程，enjoy yourselves!

<figure><img src="/files/4b74992d4d1ef95c519d850aa3573cd392419946" alt=""><figcaption><p>匯出到 Obsidian</p></figcaption></figure>

<figure><img src="/files/07abe74a5769d694bf1499dbe26a41f126afbbad" alt=""><figcaption><p>睇匯出結果</p></figcaption></figure>

***

### 💡 獲取幫助同提交反饋

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改進建議，請參考 [反饋同建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/data-settings/obsidian.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
