# Prompting

In the Prompting section of the LLM Node, you will see two sections: Instructions, and Prompt.

### System Prompt

The system prompt sets the overall behavior, tone, and role of the AI assistant for the entire conversation. It acts as a set of instructions or context that the model should always keep in mind when generating responses. This message is passed into the model's context each time you interact with it, so the model with always "remember" what you say here. It's important to keep this part as short and informative as you can. Put only the most important information into this section. It’s best used for setting rules, style, or persona (e.g., “You are a helpful tutor. Always explain things simply.”).

<figure><img src="/files/hou2boa6LUSVb1uFkTkS" alt=""><figcaption></figcaption></figure>

### User Prompt

The user prompt is the main message or question that the LLM will answer. It can include direct user input, references to other nodes, or additional context. This is the main content the LLM will respond to, after considering the system prompt.

Include placeholders in your user prompt if you'd like to import output from other nodes (e.g., user input). You can do this by typing backslash and then selecting the node whose output you'd like to include.&#x20;

<figure><img src="/files/D3kVCd1Dymf9OsY0mHOO" alt=""><figcaption></figcaption></figure>

***

If you need help with your prompt, try our Magic Wand tool on the bottom right of the prompt box.

<figure><img src="/files/TzG7JFKVDQEDjWw6rByS" alt=""><figcaption></figcaption></figure>

To learn more about prompting best practices, go [here](/getting-started/core-ai-concepts/prompt-engineering.md).


---

# 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://docs.stackai.com/workflow-builder/core-nodes/ai-agent-node/prompting.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.
