# 新增需求與匯入檔案

點擊「新增旅遊需求」後，您有兩種建立行程專案的方式：「手動填寫」或「匯入檔案」。

## 1. 手動填寫需求 (Manual Entry)

如果您剛與客戶結束溝通，腦中有明確的想法，可以直接使用此表單：

* **出發地與目的地**：支援多個目的地輸入（輸入後按下 Enter 即可新增）。
* **旅遊日期**：選擇出發與回程時間。
* **旅客人數**：設定大人、長輩、小孩與嬰兒的數量。
* **預算與偏好**：請注意，當總旅客人數超過 1 人時，預算下拉選單的標題會自動變為「每人預算」。
* **特殊需求/備註**：這是最重要的欄位！建議您將客戶口述的重點（例如：想去求婚、必須吃海鮮）詳細記錄在此，AI 會大量參考這段文字。
* **進階設定開關**：
  * **執行 AI 需求診斷 (Gap Analysis)**：預設開啟。AI 會在規劃前先幫您檢查上述條件合不合理。
  * **將結果自動加入我的最愛**：若開啟，最終生成的行程內所有景點與餐廳，會自動進入您的私房名單中。

## 2. 匯入現有檔案/文字 (Import)

如果您已經收到一份 PDF 行程表，或是客戶貼了一長串的行程文字給您，請切換至「匯入現有檔案/文字」頁籤。

1. **上傳檔案**：支援 PDF 或圖片。您也可以直接將文字貼在下方的純文字框中。
2. **等待 AI 解析**：點擊解析後，AI 會嘗試閱讀檔案並轉化為結構化的行程表。
3. **預覽與確認**：
   * 在預覽畫面中，您可以快速微調解析出來的人數與預算。
   * 此處提供了一個特殊的開關：**「跳過路線規劃，直接生成詳細行程」**。如果您匯入的檔案已經是一份「非常完整、可以直接用」的行程，開啟此選項後點擊送出，系統將略過所有中介步驟，直接幫您生成最終排版好的行程內容！


---

# Agent Instructions: 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:

```
GET https://letztek.gitbook.io/travelagent/docs/zh/manual/creating-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
