> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/5.1.x/bot-settings/faq-knowledge/faq-knowledge-contextual.md).

# FAQ Knowledge Contextual

FAQ Knowledge contextual is used to display knowledge according to context or conditions. To activate the FAQ knowledge contextual function, create new knowledge and save it, choose the *Module* and enter the *context* in the knowledge setting before click button save.

![Knowledge Setting](/files/-MRriSfH54VncBS-16j2)

**Component explanation:**

| Component | Function                                         |
| --------- | ------------------------------------------------ |
| Language  | To set the language of the knowledge             |
| Module    | To choose or create new module for the knowledge |
| Context   | To describe the context of the knowledge         |
| Effective | Effective date of the knowledge                  |
| Expire    | Expired date of the knowledge                    |

At the ‘***Bot Manager***‘ page, select bot and activate contextual bot by clicking the ‘***On***‘ toggle.

![Contextual ON](/files/-MRrgKeDBUXcP-Mtkeh8)

Make sure that the FAQ Knowledge that will be used is already attached in Bot. Click emulator button ‘![](/files/-MXkzIW6ZchgK1Gx4UwE)‘ and you will see a pop up conversation of emulator bot. Enter what user might says and click ‘<img src="/files/-MXkzLRp7NBVwrHumLIw" alt="" data-size="line">‘ icon. If the context field is empty, 3Dolphins will display *unrecognized message* like the image below.

![Unrecognized Message](/files/-MRri0dzJr15mwc_TzFS)

However, if the context is filled in, the bot will display the answer to the question that was entered, like the image below.

![Contextual Knowledge](/files/-MRriJpxFrcl36vaQxEH)


---

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

```
GET https://docs.3dolphins.ai/5.1.x/bot-settings/faq-knowledge/faq-knowledge-contextual.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.
