content/guides/11.ai/1.assistant/4.tips.md
Follow these tips to work effectively with AI Assistant and get better results from your conversations.
The more specific you are, the better results you'll get.
Less effective:
"Add a new post"
More effective:
"Create a new article in the articles collection with title 'Getting Started with Directus', status 'draft', and assign it to the 'Tutorials' category"
Break complex requests into smaller, more manageable steps:
Long conversations can lose context. When switching to a different task, clear the conversation and start fresh.
Signs you should start a new conversation:
See Tool Behavior for more details.
Context attachments help the AI understand what you're working with. See Adding Context for setup details.
When to attach context:
Keep in mind:
Visual Editor tips:
File attachment tips:
With Prompts attached:
Use the "Brand Voice" prompt to write a product announcement
Apply the "SEO Description" template to this page
With Items attached:
Compare these two products and highlight the differences
Update this article to match the tone of the attached reference
With Visual Elements attached:
Translate this section to French
Make this paragraph more concise while keeping the key points
Rewrite this heading to be more engaging
With Files attached:
Describe what's in this image
Summarize the key points from this PDF
Transcribe this audio recording
AI Assistant requires API keys from OpenAI or Anthropic — you cannot use a ChatGPT Plus or Claude Pro subscription. API access is billed per token, so costs scale with usage. Be mindful of this, especially with larger models.
::callout{icon="material-symbols:paid" color="warning"} Disable tools you don't use. Disabled tools are not loaded into context, reducing token usage and API costs. If you only work with content, disable schema modification tools. ::
Show me all published articles from this month
Create a new blog post titled "AI in Content Management" with status draft
Update all products in the "Summer Sale" category to have a 20% discount tag
Find articles without a featured image
What fields does the products collection have?
Add a "featured" boolean field to the articles collection
Create a relationship between products and categories (many-to-many)
Show me how the pages collection is structured
List all active flows
Create a flow that sends an email when a new order is placed
Trigger the "Generate Report" flow for all products
How many users signed up last week?
Show me the 10 most recent orders
What's the relationship between articles and authors?
Find all items with status "pending review"
The AI operates with your user permissions. If you're receiving permissions errors in AI Assistant, it's likely the user account doesn't have the necessary permissions to perform the action.
The AI is instructed to ask for confirmation before deleting items. However, LLMs don't always follow instructions perfectly — keep destructive tools on "Ask" approval mode if you want guaranteed confirmation before deletions.
When deleting items that have relationships, consider cascade behavior:
The LLM may not always warn you about potential impacts.
Great for:
Consider other approaches for:
::card-group
:::card{title="Available Tools" icon="material-symbols:construction" to="/guides/ai/assistant/tools"} See what actions the AI can perform. :::
:::card{title="Security" icon="material-symbols:security" to="/guides/ai/assistant/security"} Access control and data protection. :::
::