# AI Features

#### Q: What is the AI Detector?

A: The AI Detector scans messages in selected channels to detect support issues. When it finds an issue, it suggests opening a ticket. It filters out casual messages and only analyzes messages that might need support.

#### Q: How does the AI Detector work?

A: The detector:

* Scans all messages in the selected channel (minus casual/generic messages)
* Uses AI to determine if a message indicates a support issue
* Shows a suggestion button if an issue is detected
* Consumes daily quota each time it analyzes a message

#### Q: How do I enable/disable the AI Detector?

A: Use /detector enable or /detector disable. Only admins can change this setting.

Q: How do I select which channel the detector monitors?

A: Use /select-detector-channel to choose the channel where the detector should monitor messages.

#### Q: What is the AI Responder?

A: The AI Responder automatically generates responses in ticket channels using your knowledge base. It answers questions, provides solutions, and helps resolve issues without staff intervention.

#### Q: How does the AI Responder work?

A: The responder:

* Analyzes messages in ticket channels
* Searches your knowledge base for relevant information
* Generates contextual responses using RAG (Retrieval-Augmented Generation)
* Can detect when issues are resolved
* Uses conversation history for better context

#### Q: How do I enable/disable the AI Responder?

A: Use /responder enable or /responder disable. Only admins can change this setting.

#### Q: What happens when the AI can't answer a question?

A: If the AI can't find relevant information:

* It asks the user to rephrase or provide more details
* After 2 AI responses without resolution, ping roles are notified
* Staff can then take over the ticket

#### Q: What is a "continue response"?

A: A continue response is additional information the bot asks for before providing a complete answer. When a knowledge base entry has a continue response configured, the bot will:

* Ask for the initial information
* Wait for the user's response
* Send the continue response + ping configured roles
* Useful for collecting user details before escalating

<br>


---

# 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://ansari-labs.gitbook.io/ansari-labs/products/ai-powered-ticket-tool/faqs/ai-features.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.
