OpenAI 教大家 3 句 Prompt 提示 讓你完全發揮 GPT-4.1 實力

chatgpt

OpenAI 自家的官方 Cookbook 透露, GPT-4.1 優化其 Prompt 時,最好可加入三個提示,這樣已能夠從內部 SWE-bench 測試提升 20% 分數!

OpenAI

Prompt 如下:

You are an agent – please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved.

(你是一個代理人,在問題完全解決之前請持續處理,勿提前結束。)

If you are not sure about file content or codebase structure pertaining to the user’s request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer.

(請優先使用工具確認資訊,勿憑空猜測」的提醒語,可促使 AI 積極調用內建檔案檢閱等功能,以真實資料為依據進行回應,顯著降低幻覺發生率)

You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.

(務必在每次工具使用前後進行詳細規劃與反思)

加入本站 WhatsApp 頻道最新限免情報立即知。

全新本站官方《限時情報王》 iOS 版 登場。限免已完結?不想錯過重大限免應用,可到本站追蹤 Telegram 頻道FacebookIG