Skip to main content

Prompts

A prompt is the message or instruction you send to a model. The model works only from your prompt, the conversation so far and what the assistant retrieves, so a clear prompt gets a more useful answer than a vague one.

Write a good prompt​

  • Say exactly what you want. Name the task, the subject and the reader: "a 150-word summary for the sales team", not "a summary".
  • Give the context. Say who it's for, what it's for and what you already know. The model can't guess your situation.
  • Say the format. A table, five bullet points, an email under 100 words, a reply in Italian.
  • Point to your sources. Attach a file, or name the Knowledge to use, and say "use only the attached contract" when it matters.
  • Correct in the next message. If the first answer misses, say what to change ("shorter", "add the delivery dates") instead of starting over.

Before and after​

Summarize a document

  • Before: "Summarize this."
  • After: "Summarize the attached supplier contract in five bullet points for the purchasing team: prices, delivery times, penalties, renewal, and termination."

Draft a reply

  • Before: "Write an email to the customer."
  • After: "Write a reply to a customer whose order of M8 bolts arrived three days late. Apologize, confirm the new delivery date of March 12, and offer free shipping on the next order. Under 120 words, friendly but formal."

Ask about your own data

  • Before: "What's our return policy?"
  • After: "According to our returns policy, can a business customer return custom-cut parts? Quote the passage you're relying on."

Prompts and system prompts​

A prompt is what you write in one message. A touchpoint's system prompt is the standing instruction set once in the touchpoint's settings: its role, tone, and rules. The model reads it before every conversation, and the people chatting don't see it.

Put what applies to every conversation in the system prompt, such as "Answer in the customer's language" or "If the Knowledge doesn't cover a question, say so". Put what applies to one request in the prompt.

In Rational AI​

  • In Chat, the tools menu (+) has Add files and photos to attach a file and Knowledge bases to see or choose the Knowledge the assistant searches. Type / to start a message with a skill. See Shape your request in the composer.
  • The system prompt is the System prompt field on a touchpoint's Models tab. See Edit the system prompt.