Professional Documents
Culture Documents
ChatGPT Prompt Foundation
ChatGPT Prompt Foundation
Foundation
By Trung Nguyen
Prompt engineering?
Prompt engineering is the process of
structuring text that can be interpreted and
understood by a generative AI model. A
prompt is natural language text describing
the task that an AI should perform.
Contents
01 02 03
Cách viết Fact bạn cần Bonus content
prompt chuẩn hiểu về AI Agents Demo
(9 tips) Action Demo
Quan trọng
40%
Trung có sử dụng tài liệu
training official từ OpenAI
và DeepLearning trong
buổi training này
01: Cách viết prompt chuẩn
Thành phần cơ bản của prompt
Tips 3: Đánh dấu các thông tin rõ ràng, thêm dấu phần cách
Please proofread for spelling, grammar Please proofread for spelling, grammar
this Advanced AI models hold the below text delimited by triple quotes.
promise of tremendous benefits for
humanity, but society needs to “““Advanced AI models hold the promise of
proactively manage the accompanying tremendous benefits for humanity, but
risks. In this paper, we focus on what we society needs to proactively manage the
term “frontier AI” models: highly capable accompanying risks. In this paper, we focus
foundation models that could possess on what we term “frontier AI” models: highly
dangerous capabilities sufficient to pose capable foundation models that could
severe risks to public safety possess dangerous capabilities sufficient to
pose severe risks to public safety“““
1 Write clear instructions
Tips 3: Đánh dấu các thông tin rõ ràng, thêm dấu phần cách
Source: OpenAI
1 Write clear instructions
Write SEO meta tags title and meta description with the information below:
“text”
“””text”””
{text}
“””text”””
1 Write clear instructions
Text:
```{text here}```
Source: Deeplearning
1 Write clear instructions
Write SEO meta tags title and meta description with the information below:
For example:
Viết cho đoạn giới thiệu cho bài viết về {{topic}} với giọng văn giống ví dụ dưới đây:
Source: OpenAI
1 Write clear instructions
Thường là:
Độ dài xx
Đoạn văn xx
xx Bullet points
Markdown format
HTML format
Source: OpenAI Website
1 Write clear instructions
Ví dụ về markdown format
2 Split complex tasks into small task
Dựa vào outline dưới đây, hãy viết chi tiết phần
mở đầu
Việc chia nhỏ task giúp Outline: {{outline}}
AI chỉ giải quyết một tác
vụ nên sẽ xử lý tốt hơn.
Tất nhiên trong nhiều Dựa vào outline dưới đây, hãy viết chi tiết phần
trường hợp AI vẫn làm {{phần 2}}
được một task lớn hiệu Outline: {{outline}}
quả.
2 Split complex tasks into small task
Lần chat 2
Lần chat 3
2 Một số Fact về AI
Không nên sử dụng 1 loop chat để giải quyết nhiều vấn đề khác nhau.
Tốt nhất nên mở 1 loop chat mới nếu bạn cần giải quyết 1 vấn khác.