AI Interfaces with Vue, Nuxt, and the AI SDK

Text vs System vs Message Prompts

In this lesson, learn the difference between:

  1. text prompts
  2. system prompts
  3. and message prompts

Text prompts are great for one off generation needs while system prompts are meant as weightier, more important rules to constrain the LLM output and steer it despite what a user prompt might instruct. Message prompts are great for use with chat interfaces. They pass multiple messages within a conversation so that the LLM can respond naturally in the context of the whole conversation.

Links