Technology

Basic Prompts: Writing Commands for ChatGPT to Get Usable Results

Illustration: Basic Prompts: Writing Commands for ChatGPT to Get Usable Results
Photo: geralt / Pixabay (Pixabay Content License)

Whether ChatGPT answers well or poorly depends largely on how you phrase your request. A sentence like "write an article about the product" usually produces generic text. When you add a role, context and format, the results are much easier to use. This article summarizes how to write basic prompts for beginners.

Four Parts of a Usable Prompt

  1. Role: tell the model what role it plays. For example: "You are an editor for a small store."
  2. Context: the audience, purpose, tone and background information you have.
  3. Requirements: the specific task to do and constraints to follow (length, things not to say).
  4. Format: what form the result should take: a table, bullet list, email or paragraph.

Example: "You are a customer service representative for a household goods store. Write a 120-word email apologizing to a customer for a late delivery, in a polite tone, ending with how the customer can get in touch. Present it as 3 short paragraphs."

Give Examples

OpenAI's guidance recommends providing a few sample input and output pairs so the model recognizes the pattern to follow. For repetitive work such as writing headlines or replying to customers, give 2–3 samples you like and ask it to continue in the same style. The samples should be varied rather than identical.

Break Down Complex Tasks

Instead of asking for a "full-year marketing plan" in one go, go step by step:

  • Step 1: ask it to list the main customer groups.
  • Step 2: for each group, suggest outreach channels.
  • Step 3: compile them into a monthly schedule table.

Working step by step lets you correct direction early and control the results better. You should also separate the instructions from the input data, for example by putting the text to be processed in quotation marks or under its own heading, so the model doesn't confuse commands with content.

Verify Output Before Using It

Language models can write fluently but incorrectly: inventing figures, confusing names, citing sources that don't exist. So:

  • Re-check figures, dates and proper names against reliable sources.
  • Do not put confidential customer or company data into the chat box; set clear internal rules.
  • Re-read the tone and adjust it to your own style.
  • Ask the model to list the points it is unsure about so you can prioritize checking.

Tips for Improving Unsatisfactory Results

  • State clearly what's wrong: "shorter, fewer technical terms, add an example about a small store".
  • Ask for two or three options to compare.
  • Start over with a new prompt if the conversation has drifted off course.

AI is a support tool; you remain ultimately responsible. For offices choosing work tools, you can see the article Microsoft 365 or Google Workspace for small businesses, along with two articles on safe platforms: DMARC in monitoring mode and mandatory e-invoices from July 1, 2022.

Ví dụ trước và sau khi sửa prompt

Hãy lấy một yêu cầu quen thuộc của chủ cửa hàng: “Viết mô tả cho cái ấm đun nước”. Kết quả thường là vài câu quảng cáo chung chung, ai đọc cũng thấy giống nhau.

Bản sửa: “Bạn là người viết nội dung cho cửa hàng đồ gia dụng nhỏ. Viết mô tả sản phẩm cho ấm đun nước inox, khách là người nội trợ 30–45 tuổi mua online. Dùng 3 gạch đầu dòng nêu lợi ích thật (dễ vệ sinh, tự ngắt khi sôi) và một câu kêu gọi liên hệ. Không dùng từ ‘hoàn hảo’, ‘tuyệt vời’.” Chỉ thêm vài câu, nhưng mô hình đã biết ai đọc, đọc ở đâu và điều gì cần tránh.

Mẫu prompt dùng lại cho việc lặp đi lặp lại

Việc nào làm hằng tuần, hãy lưu thành khuôn mẫu có chỗ trống để điền. Ví dụ với email trả lời khách:

  1. Dòng vai trò cố định: “Bạn là nhân viên chăm sóc khách hàng của [tên cửa hàng].”
  2. Chỗ trống cho tình huống: [khách hỏi gì, đơn hàng ở trạng thái nào].
  3. Ràng buộc cố định: giọng lịch sự, không hứa điều chưa chắc chắn, không xin thông tin thẻ.
  4. Định dạng cố định: tối đa 3 đoạn, câu cuối nêu bước tiếp theo.

Lưu khuôn mẫu vào một tệp chung của nhóm. Khi ai đó cải tiến được một chỗ, cả nhóm cùng hưởng và kết quả giữa các nhân viên đồng đều hơn.

Lỗi hay gặp khi viết prompt

  • Yêu cầu mơ hồ: “làm cho hay hơn” không nói hay theo hướng nào. Hãy nêu tiêu chí: ngắn hơn, thân thiện hơn, có ví dụ.
  • Nhồi quá nhiều việc vào một lệnh: dịch, tóm tắt, viết lại và chấm điểm cùng lúc dễ làm mô hình bỏ sót. Tách thành từng lượt.
  • Thiếu dữ kiện thật: nếu không cung cấp giá, chính sách đổi trả, tên sản phẩm, mô hình có xu hướng tự điền cho trôi câu. Hãy đưa dữ kiện vào và dặn “chỉ dùng thông tin tôi cung cấp”.
  • Tin ngay bản nháp đầu tiên: luôn đọc lại, sửa giọng văn và đối chiếu chi tiết trước khi gửi.

Trang tổng quan về kỹ thuật viết prompt của Anthropic cũng bắt đầu từ việc xác định rõ tiêu chí thành công cho trường hợp sử dụng của bạn, rồi mới tinh chỉnh dần. Đó là lý do checklist bên dưới đặt câu hỏi về mục đích và cách kiểm chứng ngay từ đầu; nguồn tra ngày 03/12/2026.

Checklist trước khi bấm gửi prompt

  • Đã nói rõ vai trò, người đọc và mục đích chưa?
  • Đã nêu độ dài, giọng văn, định dạng mong muốn chưa?
  • Có dữ liệu mật hay thông tin cá nhân nào đang nằm trong ô chat không?
  • Đã chuẩn bị cách kiểm chứng kết quả (ai đọc, đối chiếu với đâu) chưa?

If you need help bringing AI into your work, you can contact the AI for Business Owners from HVSC.

2026 update: The ChatGPT interface, model names and usage have changed a lot since early 2023, but the principles of stating requirements clearly, giving examples and verifying output remain useful. See also the article AI office assistants: Copilot, Gemini, ChatGPT and rules for using AI in the company; check the provider's latest guidance.

FAQ

Is a longer prompt always better?

Not necessarily. A prompt should have enough context and clear requirements, but nothing extra. What matters is being specific, not length.

Should I put customer information into ChatGPT?

You should not put confidential data or customers' personal data into public AI tools without a clear internal policy.

How do I know whether the result is correct?

Cross-check figures and important information against reliable sources, and have a qualified person review it before use.

Reference sources

Need advice on websites, software or security?

Describe the problem, and HVSC engineers will discuss the scope and options suited to your business.

FAQ

Is a longer prompt always better?

Not necessarily. A prompt should have enough context and clear requirements, but nothing extra. What matters is being specific, not length.

Should I put customer information into ChatGPT?

You should not put confidential data or customers' personal data into public AI tools without a clear internal policy.

How do I know whether the result is correct?

Cross-check figures and important information against reliable sources, and have a qualified person review it before use.

· Ban biên tập HVSCTổng hợp từ 2 nguồn chính thống, có dẫn nguồnHVSC - Thanh Tuấn thuộc Ban biên tập HVSC, phụ trách mảng web, hosting, tên miền và công nghệ cho doanh nghiệp. Nội dung do HVSC chịu trách nhiệm.Bài khác của HVSC - Thanh Tuấn:Xem tất cả bài của HVSC - Thanh Tuấn →
Was this article helpful to you?Tap a star. Your feedback helps the editorial team write articles that better fit your needs.

📚 Related articles

See more in Technology