> For the complete documentation index, see [llms.txt](https://dnotifier.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dnotifier.gitbook.io/product-docs/examples/ai-qa.md).

# AI Q\&A (intermediate)

Ask a single question with `sendAI()` and read the response. Uses HTTP transport for a synchronous request/response flow.

## What this example does

1. Connect with `transport: "http"`
2. Verify `aiEnabled` on your plan
3. Send a text prompt via `sendAI()`
4. Print the AI response
5. Optionally continue the session with `sessionId`

## Prerequisites

* AI enabled on your DNotifier plan
* `appId` and `secret`

## Language guides

* [**JavaScript / TypeScript**](/product-docs/examples/ai-qa/javascript-typescript.md)
* [**Dart / Flutter**](/product-docs/examples/ai-qa/dart-flutter.md)

## Next steps

* [RAG assistant](https://github.com/smartguy6666/dnotifier-sdk/blob/main/docs/examples/ai-qa/rag-assistant/README.md) — ground answers in your documents
* [AI sessions](https://github.com/smartguy6666/dnotifier-sdk/blob/main/docs/examples/ai/sessions/README.md)
