> 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/settings/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/a2e35a750f4339accc98d0c4fbb7849102fb52b9" 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/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>

***

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

### 第一步：準備 Obsidian

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

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

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

### 第二步：設定 Cherry Studio

喺 Cherry Studio 嘅【設定】→【數據】→【Obsidian 設定】入面，只需要揀 **預設 Obsidian 倉庫**：Cherry Studio 會自動偵測本機已有嘅 Obsidian 倉庫，喺下拉框揀你要用嗰個就得。

<figure><img src="/files/725b7d950f0b2fababd586868af3e7d6f6fefdd4" alt=""><figcaption><p>【設定】→【數據】→【Obsidian 設定】：選擇預設 Obsidian 倉庫</p></figcaption></figure>

{% hint style="info" %}
呢度只設定預設倉庫。**具體存到邊個資料夾、加咩標籤，係喺每次匯出時彈出嘅【設定筆記屬性】對話框入面揀嘅**（睇下一步），唔需要喺設定入面預先填。若下拉框提示"未找到 Obsidian 倉庫"，請先確認本機已安裝 Obsidian 並至少建立過一個倉庫。
{% endhint %}

### 第三步：匯出對話

#### 匯出完整對話

返去 Cherry Studio 嘅對話界面，右鍵撳對話，選擇*匯出*，撳*匯出到 Obsidian*。

呢個時候會彈出一個視窗，用嚟調整呢條匯出到 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/settings/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.
