Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To begin, complete the following steps in your current registrar to transfer you
- [GoDaddy](https://www.godaddy.com/help/transfer-my-domain-away-from-godaddy-3560)
- [Ionos by 1&1](https://www.ionos.com/help/domains/domain-transfers/#acc4514)
- [Namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/258/84/what-should-i-do-to-transfer-a-domain-from-namecheap/)
- [Network Solutions](https://customerservice.networksolutions.com/prweb/PRAuth/webkm/help/article/KC-474/networksolutions)
- [Network Solutions](https://www.networksolutions.com/help/article/domain-transfer-process)
- [Squarespace](https://support.squarespace.com/hc/articles/205812338-Transferring-a-domain-away-from-Squarespace)

### 1. Log in to your registrar account
Expand Down
14 changes: 12 additions & 2 deletions src/content/docs/workers-ai/features/prompting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,18 @@ Typically, the role can be one of three options:
use them to set rules and how you expect the AI to behave.
- <strong>user</strong> - User messages are where you actually query the AI by
providing a question or a conversation.
- <strong>assistant</strong> - Assistant messages hint to the AI about the
desired output format. Not all models support this role.
- **assistant** – Assistant messages can be used to guide the AI toward a desired output format
(for example, enforcing JSON structure or Markdown formatting).

⚠️ **Model support:** Not all Workers AI text-generation models currently support the `assistant` role.
Models based on chat-style templates (such as LLaMA 2 Chat or Mistral-Instruct) are more likely to respect it,
while some base instruct models may ignore these messages.

If you include `assistant` in your prompt with a model that doesn’t support it, the message will simply be ignored.

✅ **Recommendation:** For best results, use **scoped prompts**, which provide a unified interface across models.
This way, your application logic doesn’t depend on which roles each model implements.


OpenAI has a [good explanation](https://platform.openai.com/docs/guides/text-generation#messages-and-roles) of how they use these roles with their GPT models. Even though chat templates are flexible, other text generation models tend to follow the same conventions.

Expand Down