![[Product Info#^embed]]
# Description
Displays an input box that the user can type into for a prompt to be sent to the AI. The AI response will be displayed in a notification that lasts for 60 seconds unless clicked on to close.
This is a convenient way to interact with the AI without creating a new document or inserting something into the document.
# Template Code
```javascript
<%*
const prompt = await tp.system.prompt("What is your request for the AI?", null, null, true);
const response = await tp.ai.chat(prompt);
new Notice(response, 60000);
return false;
%>
```