> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/alli-llm-app-market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/alli-llm-app-market/manual/for_admin/default-apps/app-all/faq-answer.md).

# FAQから回答アプリ

FAQから回答アプリでは、登録されたFAQデータからAIチャットボットが回答します。

## フローの全体図 <a href="#overall" id="overall"></a>

<figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2F2OdXfzIwNbdzJCWfyBPT%2Fimage.png?alt=media&amp;token=6941fe7a-f31b-4b04-8a46-718b05354e3b" alt=""><figcaption></figcaption></figure>

## 概要 <a href="#outline" id="outline"></a>

FAQから回答アプリはユーザーが質問を入力すると事前に登録されたFAQデータから回答候補を提示し、候補の中から該当する質問をクリックすると、あらかじめ登録された回答が表示されるように設定しています。

回答が提示された場合は、解決しましたか？「はい」「いいえ」のボタンを表示し、その後TOPに戻るか、再度質問をできるように設計しています。反対に、回答が提示されなかった場合またはユーザーが「該当する質問がありません」を選択した場合は、申し訳ありません。のメッセージを表示し再度質問するかTOPに戻るかのボタンを表示しています。

### Q\&Aから回答を表示する場合（Q\&Aから回答ノード） <a href="#qa-node" id="qa-node"></a>

ユーザーが入力した質問文でFAQデータから検索を行います。

* 質問入力方式：ユーザー入力
* "Other" オプションの追加：ON

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FjyknzU5ihYxKnRcW530X%2Fimage.png?alt=media&amp;token=cc65eead-8827-49c2-af8c-5febf6ca7c3e" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FrRVe8TyCsoKzpkiR5d8f%2Fimage.png?alt=media&amp;token=ff5de87f-dd39-48fb-9043-3c3b480575ab" alt=""><figcaption></figcaption></figure></div>

### 解決したかどうかの確認(質問応答ノード) <a href="#send-message-node1" id="send-message-node1"></a>

FAQデータから回答を提示し、回答が表示された場合、満足度を確認するメッセージを表示し「はい」「いいえ」のボタンを表示します。

* 応答追加：チェックを入れる
  * 応答入力：ボタン
    * はい
    * いいえ

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FU6Pnlpa1U6gGcT67D7BT%2Fimage.png?alt=media&amp;token=4dc098db-d45b-4ffe-9e7d-cd624ba329b9" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FnfXEnUKBO1HuiknVr8a5%2Fimage.png?alt=media&amp;token=893d8fc4-1732-42c5-902e-d6389da47312" alt=""><figcaption></figcaption></figure></div>

### 再度質問かTOPに戻るかの確認(質問応答ノード) <a href="#send-message-node2" id="send-message-node2"></a>

「ご利用ありがとうございました」「申し訳ありません」「適切な回答を提示できず、申し訳ありません」のメッセージ表示とともに、「再度質問する」「TOPに戻る」ボタンを表示します。

応答追加：チェックを入れる

* 応答入力：ボタン
  * 再度質問する
  * TOPに戻る

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FjjLnYax7YJUwWzrId2iU%2Fimage.png?alt=media&amp;token=f504a1ee-3c7d-4396-b1e9-c554f176381b" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FyiCFumOj2XHB3Q41kCIn%2Fimage.png?alt=media&amp;token=2f3a0e78-4afc-4c09-9e2d-9c38bbf6b6d6" alt=""><figcaption></figcaption></figure></div>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.allganize.ai/alli-llm-app-market/manual/for_admin/default-apps/app-all/faq-answer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
