Contextual prompting

Contextual prompting

Contextual prompting provides specific background information | or situational details relevant | to the current task,
Contextual prompting cung cấp thông tin nền tảng cụ thể | hoặc các chi tiết tình huống liên quan | đến tác vụ hiện tại,

helping LLMs understand nuances | and tailor responses accordingly. | Unlike system or role prompts,
giúp các LLM hiểu các sắc thái | và điều chỉnh phản hồi cho phù hợp. | Không giống như system hoặc role prompts,

contextual prompts supply immediate, | task-specific information that’s dynamic | and changes based on the situation.
contextual prompts cung cấp thông tin tức thời, | cụ thể cho tác vụ, mang tính động | và thay đổi dựa trên tình huống.

For example: “Context: You are writing | for a blog about retro 80’s | arcade video games.
Ví dụ: “Context: Bạn đang viết | cho một blog về các trò chơi | điện tử arcade retro thập niên 80.

Suggest 3 topics to write | articles about.” | This technique ensures responses are relevant,
Gợi ý 3 chủ đề để viết | bài báo.” | Kỹ thuật này đảm bảo các phản hồi liên quan,

accurate, and appropriately framed | for the specific context provided.
chính xác, và được đóng khung phù hợp | cho bối cảnh cụ thể được cung cấp.

Resources

References


← Tokens · AI Engineer Roadmap · How LLMs Work →