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
Connect with
transport: "http"Verify
aiEnabledon your planSend a text prompt via
sendAI()Print the AI response
Optionally continue the session with
sessionId
Prerequisites
AI enabled on your DNotifier plan
appIdandsecret
Language guides
Next steps
RAG assistant — ground answers in your documents
Last updated