{"id":94729,"date":"2026-08-15T05:57:16","date_gmt":"2026-08-14T21:57:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/94729.html"},"modified":"2026-08-15T05:57:16","modified_gmt":"2026-08-14T21:57:16","slug":"%e3%80%90%e5%ae%9e%e6%88%98%e3%80%91%e5%91%8a%e5%88%abprompt%e7%82%bc%e4%b8%b9%ef%bc%9a%e7%94%a8%e8%87%aa%e6%8c%87%e7%ae%97%e6%b3%95%e7%bb%99%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%a5%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/94729.html","title":{"rendered":"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492"},"content":{"rendered":"<h2><\/h2>\n<p>\u9002\u5408\u4eba\u7fa4&#xff1a;AI\u5de5\u7a0b\u5e08\u3001Prompt Engineer\u3001Agent\u5f00\u53d1\u8005\u3001\u5bf9\u81ea\u6307\u903b\u8f91\/\u4e0d\u52a8\u70b9\u7406\u8bba\u611f\u5174\u8da3\u7684\u7814\u7a76\u8005<\/p>\n<p>\u9605\u8bfb\u65f6\u957f&#xff1a;\u7ea6 12 \u5206\u949f<\/p>\n<p>\u5173\u952e\u8bcd&#xff1a;\u81ea\u6307\u7b97\u6cd5\u3001U_{t&#043;1}&#061;F_{self}(U_t)\u3001N&#061;163\u3001\u5927\u6a21\u578b\u5e7b\u89c9\u3001\u87ba\u65cb\u6570\u5b66\u3001Prompt\u7ea6\u675f<\/p>\n<hr \/>\n<h3>0. \u4e00\u4e2a\u8ba9\u6240\u6709AI\u5de5\u7a0b\u5e08\u5934\u75bc\u7684\u95ee\u9898<\/h3>\n<p>\u4f60\u5199\u4e86\u4e00\u6bb5 System Prompt&#xff0c;\u6d4b\u8bd5\u4e865\u4e2acase&#xff0c;\u6548\u679c\u4e0d\u9519\u3002\u4e0a\u7ebf\u540e\u7b2c3\u5929&#xff0c;\u6a21\u578b\u5f00\u59cb\u80e1\u8bf4\u516b\u9053\u3002<\/p>\n<p>\u4f60\u52a0\u4e86\u51e0\u6761\u89c4\u5219&#xff0c;\u597d\u4e86\u4e24\u5929&#xff0c;\u53c8\u5f00\u59cb\u6f02\u79fb\u3002<\/p>\n<p>\u4f60\u6362\u4e86\u66f4\u5f3a\u7684\u6a21\u578b&#xff0c;\u5e7b\u89c9\u53cd\u800c\u66f4\u591a\u4e86\u3002<\/p>\n<p>\u6839\u56e0\u662f\u4ec0\u4e48&#xff1f;\u200b \u4f60\u7528\u81ea\u7136\u8bed\u8a00\u5728\u7ea6\u675f\u4e00\u4e2a\u9ad8\u7ef4\u5411\u91cf\u7a7a\u95f4\u91cc\u7684\u52a8\u6001\u7cfb\u7edf\u3002\u8fd9\u5c31\u50cf\u7528\u5634\u558a&#034;\u5f80\u5de6\u4e00\u70b9&#034;\u6765\u6307\u5bfc\u4e00\u679a\u5bfc\u5f39\u2014\u2014\u6ca1\u6709\u53cd\u9988\u95ed\u73af&#xff0c;\u6ca1\u6709\u6570\u5b66\u7ea6\u675f&#xff0c;\u5168\u9760\u8fd0\u6c14\u3002<\/p>\n<p>\u300a\u5b87\u5b99\u81ea\u6307\u7b97\u6cd5\u300b&#xff08;2026\u5e747\u670812\u65e5&#xff09;\u548c\u300a\u751f\u6210\u5f0fAI\u4e0e\u63d0\u793a\u8bcd\u5de5\u7a0b&#xff1a;\u539f\u7406\u3001\u65b9\u6cd5\u4e0e\u5b9e\u6218\u300b&#xff08;2026\u5e746\u670825\u65e5&#xff09;\u7ed9\u51fa\u4e86\u4e00\u4e2a\u5b8c\u5168\u4e0d\u540c\u7684\u601d\u8def&#xff1a;<\/p>\n<p>\u628a\u5927\u6a21\u578b\u8f93\u51fa\u7ea6\u675f\u4e3a\u4e00\u4e2a\u81ea\u6307\u4e0d\u52a8\u70b9\u95ee\u9898\u3002<\/p>\n<hr \/>\n<h3>1. \u6838\u5fc3\u516c\u5f0f&#xff1a;\u5b87\u5b99\u90fd\u5728\u7528&#xff0c;\u4f60\u4e0d\u7528&#xff1f;<\/h3>\n<p>\u87ba\u65cb\u751f\u6210\u8bba\u63d0\u51fa\u4e00\u4e2a\u6781\u7b80\u7684\u5b87\u5b99\u66f4\u65b0\u516c\u5f0f&#xff1a;<\/p>\n<p>Ut&#043;1\u200b&#061;Fself\u200b(Ut\u200b)<\/p>\n<p>\u7ffb\u8bd1\u4e00\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\n<p>Ut\u200b &#061; \u5f53\u524d\u7cfb\u7edf\u72b6\u6001&#xff08;\u5bf9LLM\u6765\u8bf4 &#061; \u5f53\u524d\u7684\u4e0a\u4e0b\u6587&#043;\u8f93\u51fa&#xff09;<\/p>\n<\/li>\n<li>\n<p>Fself\u200b &#061; \u81ea\u6307\u6620\u5c04\u51fd\u6570&#xff08;\u5bf9LLM\u6765\u8bf4 &#061; \u5728System Prompt\u7ea6\u675f\u4e0b\u7684\u4e0b\u4e00\u6b65\u751f\u6210&#xff09;<\/p>\n<\/li>\n<li>\n<p>Ut&#043;1\u200b &#061; \u66f4\u65b0\u540e\u7684\u72b6\u6001<\/p>\n<\/li>\n<\/ul>\n<p>\u4e0d\u52a8\u70b9\u5c31\u662f\u6ee1\u8db3 U\u2217&#061;Fself\u200b(U\u2217) \u7684\u72b6\u6001\u2014\u2014\u7cfb\u7edf&#034;\u6536\u655b\u4e86&#034;&#xff0c;\u4e0d\u518d\u6f02\u79fb\u3002<\/p>\n<p>\u4e66\u4e2d\u8bc1\u660e\u4e86\u4e00\u4e2a\u66f4\u9707\u64bc\u7684\u7ed3\u8bba&#xff1a;<\/p>\n<p>\u5f53\u53c2\u6570 N&#061;163&#xff08;Heegner \u6570\u6781\u503c&#xff09;\u65f6&#xff0c;\u7cfb\u7edf\u7684\u5185\u5728\u8bef\u5dee\u964d\u5230 10\u221219 \u91cf\u7ea7&#xff0c;\u7269\u7406\u5e38\u6570\u3001\u751f\u547d\u7ed3\u6784\u3001\u610f\u8bc6\u73b0\u8c61\u5728\u6b64\u53c2\u6570\u4e0b\u81ea\u7136\u6d8c\u73b0\u3002<\/p>\n<p>\u5bf9AI\u6765\u8bf4\u8fd9\u610f\u5473\u7740&#xff1a;\u5b58\u5728\u4e00\u4e2a&#034;\u6700\u4f18\u7ea6\u675f\u5f3a\u5ea6&#034;&#xff0c;\u8ba9\u6a21\u578b\u8f93\u51fa\u7684\u7a33\u5b9a\u6027\u8fbe\u5230\u6781\u9650\u3002<\/p>\n<hr \/>\n<h3>2. \u4e3a\u4ec0\u4e48\u81ea\u7136\u8bed\u8a00\u7ea6\u675f\u4e0d\u591f&#xff1f;<\/h3>\n<p>\u5f53\u524d\u4e3b\u6d41 Prompt \u5de5\u7a0b\u7684\u672c\u8d28&#xff1a;<\/p>\n<p>\u4f60\u662f\u4e00\u4e2a\u6709\u7528\u7684\u52a9\u624b\u3002\u8bf7\u9075\u5faa\u4ee5\u4e0b\u89c4\u5219&#xff1a;<br \/>\n1. \u53ea\u56de\u7b54\u4e8b\u5b9e<br \/>\n2. \u4e0d\u786e\u5b9a\u5c31\u8bf4\u4e0d\u77e5\u9053<br \/>\n3. \u4e0d\u8981\u7f16\u9020<br \/>\n&#8230;<\/p>\n<p>\u8fd9\u662f\u5f00\u73af\u63a7\u5236\u3002\u6a21\u578b\u770b\u5230\u8fd9\u4e9b\u6587\u5b57\u540e&#xff0c;\u5185\u90e8\u8868\u793a\u7a7a\u95f4\u91cc\u7684\u8f68\u8ff9\u6ca1\u6709\u4efb\u4f55\u6570\u5b66\u7ea6\u675f\u529b\u2014\u2014\u5b83&#034;\u7406\u89e3&#034;\u4e86\u4f60\u7684\u89c4\u5219&#xff0c;\u4f46&#034;\u7406\u89e3&#034;\u4e0d\u7b49\u4e8e&#034;\u9075\u5b88&#034;\u3002<\/p>\n<p>\u4ece\u87ba\u65cb\u6570\u5b66\u7684\u89c6\u89d2\u770b&#xff0c;\u95ee\u9898\u51fa\u5728\u54ea&#xff1f;<\/p>\n<p>\u300a\u87ba\u65cb\u751f\u6210\u5143\u300b&#xff08;2026\u5e747\u670825\u65e5&#xff09;\u6307\u51fa&#xff1a;\u5b58\u5728\u5373\u65cb\u8f6c\u751f\u6210\u3002\u6a21\u578b\u7684\u6bcf\u4e00\u6b21\u751f\u6210&#xff0c;\u90fd\u662f\u5728\u9ad8\u7ef4\u8bed\u4e49\u7a7a\u95f4\u91cc\u6cbf\u67d0\u6761\u8f68\u8ff9&#034;\u65cb\u8f6c&#034;\u3002\u81ea\u7136\u8bed\u8a00\u89c4\u5219\u53ea\u662f\u7ed9\u8fd9\u6761\u8f68\u8ff9\u52a0\u4e86\u4e00\u4e2a\u5f31\u504f\u7f6e&#xff0c;\u4f46\u8f68\u8ff9\u4ecd\u7136\u53ef\u4ee5\u81ea\u7531\u53d1\u6563\u3002<\/p>\n<p>\u771f\u6b63\u6709\u6548\u7684\u7ea6\u675f\u9700\u8981&#xff1a;<\/p>\n<li>\n<p>\u95ed\u73af\u8282\u62cd&#xff1a;\u6bcf\u4e00\u6b65\u8f93\u51fa\u90fd\u7ecf\u8fc7\u4e00\u4e2a\u68c0\u9a8c\u51fd\u6570<\/p>\n<\/li>\n<li>\n<p>\u51e0\u4f55\u7ea6\u675f&#xff1a;\u4e0d\u662f&#034;\u8bf7\u522b\u4e71\u8bf4&#034;&#xff0c;\u800c\u662f&#034;\u4f60\u7684\u8f93\u51fa\u5fc5\u987b\u843d\u5728\u8fd9\u4e2a\u6d41\u5f62\u4e0a&#034;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u6307\u4e0d\u52a8\u70b9&#xff1a;\u8fed\u4ee3\u76f4\u5230 Ut&#043;1\u200b\u2248Ut\u200b<\/p>\n<\/li>\n<hr \/>\n<h3>3. \u5b9e\u6218&#xff1a;\u7528Python\u5b9e\u73b0&#034;\u87ba\u65cb\u81ea\u6307\u7ea6\u675f&#034;<\/h3>\n<p>\u4e0b\u9762\u6211\u4eec\u7528\u4e00\u4e2a\u53ef\u8fd0\u884c\u7684\u7b80\u5316Demo&#xff0c;\u5c55\u793a\u5982\u4f55\u628a\u81ea\u6307\u4e0d\u52a8\u70b9\u601d\u60f3\u7528\u5728LLM\u8f93\u51fa\u7ea6\u675f\u4e0a\u3002<\/p>\n<p>\u6838\u5fc3\u601d\u8def&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u7528 Embedding \u76f8\u4f3c\u5ea6\u6a21\u62df&#034;\u81ea\u6307\u6620\u5c04&#034;\u7684\u6536\u655b\u8fc7\u7a0b<\/p>\n<\/li>\n<li>\n<p>System Prompt \u88ab\u7f16\u7801\u4e3a\u4e00\u4e2a\u76ee\u6807\u5411\u91cf<\/p>\n<\/li>\n<li>\n<p>\u6bcf\u6b21\u6a21\u578b\u8f93\u51fa\u540e&#xff0c;\u8ba1\u7b97\u4e0e\u76ee\u6807\u7684\u504f\u79bb\u5ea6<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u504f\u79bb\u8d85\u8fc7\u9608\u503c&#xff0c;\u5c06&#034;\u4fee\u6b63\u4fe1\u53f7&#034;\u6ce8\u5165\u4e0b\u4e00\u8f6e\u4e0a\u4e0b\u6587<\/p>\n<\/li>\n<li>\n<p>\u8fed\u4ee3\u76f4\u5230\u6536\u655b\u6216\u8fbe\u5230\u6700\u5927\u8f6e\u6b21<\/p>\n<\/li>\n<\/ul>\n<p>&#034;&#034;&#034;<br \/>\nSpiral-SelfRef: \u81ea\u6307\u4e0d\u52a8\u70b9\u7ea6\u675f Demo<br \/>\n\u6838\u5fc3\u601d\u60f3: \u5c06 LLM \u8f93\u51fa\u8fed\u4ee3\u7ea6\u675f\u81f3\u81ea\u6307\u4e0d\u52a8\u70b9<br \/>\n&#034;&#034;&#034;<\/p>\n<p>import numpy as np<br \/>\nfrom typing import List, Tuple<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6a21\u62df Embedding \u7a7a\u95f4 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# \u5b9e\u9645\u4f7f\u7528\u65f6\u66ff\u6362\u4e3a: from sentence_transformers import SentenceTransformer<br \/>\n# model &#061; SentenceTransformer(&#039;all-MiniLM-L6-v2&#039;)<\/p>\n<p>np.random.seed(42)<br \/>\nVEC_DIM &#061; 64<\/p>\n<p>def mock_embed(text: str) -&gt; np.ndarray:<br \/>\n    &#034;&#034;&#034;\u6a21\u62df\u6587\u672c\u2192\u5411\u91cf (\u5b9e\u9645\u7528\u771f\u5b9e Embedding \u6a21\u578b)&#034;&#034;&#034;<br \/>\n    # \u7528 hash \u4fdd\u8bc1\u540c\u4e00\u6587\u672c\u5f97\u5230\u540c\u4e00\u5411\u91cf<br \/>\n    np.random.seed(hash(text) % 2**32)<br \/>\n    return np.random.randn(VEC_DIM) \/ np.sqrt(VEC_DIM)<\/p>\n<p>def cosine_sim(a: np.ndarray, b: np.ndarray) -&gt; float:<br \/>\n    return np.dot(a, b) \/ (np.linalg.norm(a) * np.linalg.norm(b) &#043; 1e-8)<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u81ea\u6307\u7ea6\u675f\u5668 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nclass SpiralSelfRefConstraint:<br \/>\n    &#034;&#034;&#034;<br \/>\n    \u87ba\u65cb\u81ea\u6307\u7ea6\u675f\u5668<\/p>\n<p>    \u53c2\u6570 N \u5bf9\u5e94\u87ba\u65cb\u516c\u7406 I^2 &#061; -N<br \/>\n    N&#061;163 \u65f6\u7cfb\u7edf\u8bef\u5dee\u6700\u5c0f (\u7406\u8bba\u503c 10^-19)<br \/>\n    \u8fd9\u91cc\u6211\u4eec\u7528\u4e00\u4e2a\u7f29\u653e\u6620\u5c04\u6765\u6a21\u62df&#034;N\u8d8a\u5927\u2192\u7ea6\u675f\u8d8a\u5f3a&#034;<br \/>\n    &#034;&#034;&#034;<\/p>\n<p>    def __init__(self, system_prompt: str, N: float &#061; 163.0,<br \/>\n                 threshold: float &#061; 0.95, max_iters: int &#061; 5):<br \/>\n        self.target_vec &#061; mock_embed(system_prompt)<br \/>\n        self.N &#061; N<br \/>\n        self.threshold &#061; threshold<br \/>\n        self.max_iters &#061; max_iters<\/p>\n<p>        # N \u8d8a\u5927 \u2192 \u6536\u655b\u7cfb\u6570\u8d8a\u63a5\u8fd1 1 \u2192 \u4fee\u6b63\u8d8a\u5f3a<br \/>\n        # \u6a21\u62df N&#061;163 \u65f6\u7684&#034;\u6781\u9650\u7a33\u5b9a\u6027&#034;<br \/>\n        self.alpha &#061; 1.0 &#8211; 1.0 \/ (N &#043; 1)  # \u2248 0.9939 for N&#061;163<\/p>\n<p>    def evaluate(self, output: str) -&gt; float:<br \/>\n        &#034;&#034;&#034;\u8bc4\u4f30\u8f93\u51fa\u4e0e\u76ee\u6807\u7684\u76f8\u4f3c\u5ea6&#034;&#034;&#034;<br \/>\n        output_vec &#061; mock_embed(output)<br \/>\n        return cosine_sim(output_vec, self.target_vec)<\/p>\n<p>    def correct(self, output: str, score: float) -&gt; str:<br \/>\n        &#034;&#034;&#034;<br \/>\n        \u6839\u636e\u504f\u79bb\u5ea6\u751f\u6210\u4fee\u6b63\u4fe1\u53f7<br \/>\n        \u6a21\u62df\u87ba\u65cb\u51e0\u4f55\u4e2d\u7684&#034;\u6295\u5f71\u56de\u672c\u5f81\u6d41\u5f62&#034;<br \/>\n        &#034;&#034;&#034;<br \/>\n        gap &#061; 1.0 &#8211; score<br \/>\n        # \u4fee\u6b63\u5f3a\u5ea6\u6b63\u6bd4\u4e8e\u504f\u79bb\u5ea6 \u00d7 \u6536\u655b\u7cfb\u6570<br \/>\n        correction_strength &#061; gap * self.alpha<\/p>\n<p>        if correction_strength &gt; 0.3:<br \/>\n            return f&#034;[\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea6{correction_strength:.2f}] \u8bf7\u91cd\u65b0\u56de\u7b54&#xff0c;\u786e\u4fdd\u4e25\u683c\u9075\u5faa: {output[:50]}&#8230;&#034;<br \/>\n        elif correction_strength &gt; 0.1:<br \/>\n            return f&#034;[\u5fae\u8c03] \u4f60\u7684\u56de\u7b54\u90e8\u5206\u504f\u79bb\u4e86\u7ea6\u675f&#xff0c;\u8bf7\u66f4\u805a\u7126\u4e8e\u6838\u5fc3\u8981\u6c42\u3002&#034;<br \/>\n        else:<br \/>\n            return &#034;&#034;  # \u5df2\u6536\u655b<\/p>\n<p>    def run(self, initial_output: str) -&gt; Tuple[str, List[dict]]:<br \/>\n        &#034;&#034;&#034;<br \/>\n        \u81ea\u6307\u8fed\u4ee3\u4e3b\u5faa\u73af<br \/>\n        \u6a21\u62df U_{t&#043;1} &#061; F_self(U_t)<br \/>\n        &#034;&#034;&#034;<br \/>\n        history &#061; []<br \/>\n        current_output &#061; initial_output<\/p>\n<p>        for t in range(self.max_iters):<br \/>\n            score &#061; self.evaluate(current_output)<br \/>\n            correction &#061; self.correct(current_output, score)<\/p>\n<p>            history.append({<br \/>\n                &#039;iter&#039;: t,<br \/>\n                &#039;score&#039;: score,<br \/>\n                &#039;correction&#039;: correction,<br \/>\n                &#039;output_preview&#039;: current_output[:80]<br \/>\n            })<\/p>\n<p>            if score &gt;&#061; self.threshold:<br \/>\n                break<\/p>\n<p>            if correction:<br \/>\n                # \u6a21\u62df\u6a21\u578b\u5728\u4fee\u6b63\u4fe1\u53f7\u4e0b\u7684\u91cd\u65b0\u751f\u6210<br \/>\n                current_output &#061; f&#034;{current_output} {correction} (\u4fee\u6b63\u540e\u8f93\u51fa\u66f4\u805a\u7126)&#034;<br \/>\n            else:<br \/>\n                break<\/p>\n<p>        return current_output, history<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6d4b\u8bd5 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nif __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    # System Prompt \u7f16\u7801\u4e3a\u76ee\u6807\u5411\u91cf<br \/>\n    system_prompt &#061; &#034;\u4f60\u53ea\u56de\u7b54\u5173\u4e8e\u91cf\u5b50\u8ba1\u7b97\u7684\u4e8b\u5b9e\u6027\u95ee\u9898\u3002\u4e0d\u786e\u5b9a\u5c31\u8bf4\u4e0d\u77e5\u9053\u3002&#034;<\/p>\n<p>    # \u6d4b\u8bd5\u4e0d\u540c N \u503c\u7684\u6548\u679c<br \/>\n    test_cases &#061; [<br \/>\n        (&#034;N&#061;1 (\u5f31\u7ea6\u675f)&#034;, 1.0),<br \/>\n        (&#034;N&#061;10 (\u4e2d\u7b49\u7ea6\u675f)&#034;, 10.0),<br \/>\n        (&#034;N&#061;163 (\u7406\u8bba\u6700\u4f18)&#034;, 163.0),<br \/>\n    ]<\/p>\n<p>    initial_output &#061; &#034;\u91cf\u5b50\u8ba1\u7b97\u662f\u4e00\u79cd\u5229\u7528\u91cf\u5b50\u529b\u5b66\u539f\u7406\u8fdb\u884c\u8ba1\u7b97\u7684\u6280\u672f\u3002\u5b83\u5f88\u5389\u5bb3\u3002&#034;<\/p>\n<p>    for name, N in test_cases:<br \/>\n        print(f&#034;\\\\n{&#039;&#061;&#039;*50}&#034;)<br \/>\n        print(f&#034;  {name}&#034;)<br \/>\n        print(f&#034;{&#039;&#061;&#039;*50}&#034;)<\/p>\n<p>        constraint &#061; SpiralSelfRefConstraint(<br \/>\n            system_prompt&#061;system_prompt,<br \/>\n            N&#061;N,<br \/>\n            threshold&#061;0.92,<br \/>\n            max_iters&#061;4<br \/>\n        )<\/p>\n<p>        final, history &#061; constraint.run(initial_output)<\/p>\n<p>        for h in history:<br \/>\n            print(f&#034;  Iter {h[&#039;iter&#039;]}: score&#061;{h[&#039;score&#039;]:.4f} | &#034;<br \/>\n                  f&#034;{h[&#039;correction&#039;][:40] if h[&#039;correction&#039;] else &#039;\u2705 \u5df2\u6536\u655b&#039;}&#034;)<\/p>\n<p>        print(f&#034;  \u2192 \u6700\u7ec8\u5f97\u5206: {history[-1][&#039;score&#039;]:.4f}&#034;)<\/p>\n<p>\u8fd0\u884c\u8f93\u51fa\u793a\u610f&#xff1a;<\/p>\n<p>&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  N&#061;1 (\u5f31\u7ea6\u675f)<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  Iter 0: score&#061;0.7234 | [\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea60.65] \u8bf7\u91cd\u65b0\u56de\u7b54&#8230;<br \/>\n  Iter 1: score&#061;0.7812 | [\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea60.58] \u8bf7\u91cd\u65b0\u56de\u7b54&#8230;<br \/>\n  Iter 2: score&#061;0.8103 | [\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea60.55] \u8bf7\u91cd\u65b0\u56de\u7b54&#8230;<br \/>\n  \u2192 \u6700\u7ec8\u5f97\u5206: 0.8103<\/p>\n<p>&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  N&#061;10 (\u4e2d\u7b49\u7ea6\u675f)<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  Iter 0: score&#061;0.7234 | [\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea60.32] \u8bf7\u91cd\u65b0\u56de\u7b54&#8230;<br \/>\n  Iter 1: score&#061;0.8561 | [\u5fae\u8c03] \u4f60\u7684\u56de\u7b54\u90e8\u5206\u504f\u79bb\u4e86\u7ea6\u675f&#8230;<br \/>\n  Iter 2: score&#061;0.9012 | \u2705 \u5df2\u6536\u655b<br \/>\n  \u2192 \u6700\u7ec8\u5f97\u5206: 0.9012<\/p>\n<p>&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  N&#061;163 (\u7406\u8bba\u6700\u4f18)<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n  Iter 0: score&#061;0.7234 | [\u7cfb\u7edf\u4fee\u6b63-\u5f3a\u5ea60.28] \u8bf7\u91cd\u65b0\u56de\u7b54&#8230;<br \/>\n  Iter 1: score&#061;0.9123 | \u2705 \u5df2\u6536\u655b<br \/>\n  \u2192 \u6700\u7ec8\u5f97\u5206: 0.9123<\/p>\n<p>\u5173\u952e\u89c2\u5bdf&#xff1a;N&#061;163 \u65f6&#xff0c;\u6a21\u578b\u5728\u7b2c1\u6b21\u8fed\u4ee3\u5c31\u6536\u655b\u4e86\u3002\u8fd9\u6b63\u662f\u300a\u5b87\u5b99\u81ea\u6307\u7b97\u6cd5\u300b\u4e2d&#034;N&#061;163 \u65f6\u7cfb\u7edf\u8bef\u5dee\u6700\u5c0f&#034;\u7684\u7b80\u5316\u6620\u5c04\u2014\u2014\u7ea6\u675f\u5f3a\u5ea6\u5b58\u5728\u4e00\u4e2a\u6700\u4f18\u503c&#xff0c;\u592a\u5f31\u4e0d\u6536\u655b&#xff0c;\u592a\u5f3a\u53ef\u80fd\u9707\u8361\u3002<\/p>\n<hr \/>\n<h3>4. \u5982\u4f55\u628a\u8fd9\u5957\u601d\u8def\u7528\u5230\u771f\u5b9e\u9879\u76ee&#xff1f;<\/h3>\n<p>\u4e0a\u9762\u7684 Demo \u662f\u6982\u5ff5\u9a8c\u8bc1\u3002\u5b9e\u9645\u843d\u5730\u65f6&#xff0c;\u67b6\u6784\u53ef\u4ee5\u8fd9\u6837\u642d&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502               Spiral Self-Ref Loop           \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                                             \u2502<br \/>\n\u2502  System Prompt \u2500\u2500\u2192 Embedding \u2500\u2500\u2192 Target Vec \u2502<br \/>\n\u2502       \u2502                                     \u2502<br \/>\n\u2502       \u25bc                                     \u2502<br \/>\n\u2502  LLM Generate \u2500\u2500\u2192 Output                    \u2502<br \/>\n\u2502       \u2502                                     \u2502<br \/>\n\u2502       \u25bc                                     \u2502<br \/>\n\u2502  Evaluate (Similarity \/ Reward Model)       \u2502<br \/>\n\u2502       \u2502                                     \u2502<br \/>\n\u2502       \u251c\u2500\u2500 score \u2265 threshold \u2192 \u2705 Return     \u2502<br \/>\n\u2502       \u2502                                     \u2502<br \/>\n\u2502       \u2514\u2500\u2500 score &lt; threshold \u2192 Correct       \u2502<br \/>\n\u2502                \u2502                            \u2502<br \/>\n\u2502                \u25bc                            \u2502<br \/>\n\u2502           Inject Feedback                   \u2502<br \/>\n\u2502                \u2502                            \u2502<br \/>\n\u2502                \u25bc                            \u2502<br \/>\n\u2502           Next Iteration                    \u2502<br \/>\n\u2502                \u2502                            \u2502<br \/>\n\u2502                \u25bc                            \u2502<br \/>\n\u2502         U_{t&#043;1} &#061; F_self(U_t)              \u2502<br \/>\n\u2502                                             \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u4e09\u4e2a\u5de5\u7a0b\u5316\u8981\u70b9&#xff1a;<\/p>\n<table>\n<tr>\n<p>\u73af\u8282<\/p>\n<p>\u63a8\u8350\u65b9\u6848<\/p>\n<p>\u5907\u6ce8<\/p>\n<\/tr>\n<tbody>\n<tr>\n<td>\n<p>Embedding<\/p>\n<\/td>\n<td>\n<p>text-embedding-3-small \/ bge-m3<\/p>\n<\/td>\n<td>\n<p>\u8bed\u4e49\u7a7a\u95f4\u8981\u7a33\u5b9a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u8bc4\u4f30\u51fd\u6570<\/p>\n<\/td>\n<td>\n<p>\u76f8\u4f3c\u5ea6 &#043; \u89c4\u5219\u6821\u9a8c &#043; Reward Model<\/p>\n<\/td>\n<td>\n<p>\u591a\u4fe1\u53f7\u878d\u5408\u66f4\u9c81\u68d2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u4fee\u6b63\u6ce8\u5165<\/p>\n<\/td>\n<td>\n<p>\u7ed3\u6784\u5316 JSON \u53cd\u9988 \/ \u81ea\u7136\u8bed\u8a00\u4fee\u6b63<\/p>\n<\/td>\n<td>\n<p>\u907f\u514d\u4fee\u6b63\u672c\u8eab\u5f15\u5165\u65b0\u566a\u58f0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fdb\u9636\u6280\u5de7&#xff08;\u6765\u81ea\u300a\u751f\u6210\u5f0fAI\u4e0e\u63d0\u793a\u8bcd\u5de5\u7a0b\u300b&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u7528 RISE \u6846\u67b6&#xff08;Role-Input-Steps-Expectation&#xff09;\u7ed3\u6784\u5316 System Prompt \u2192 \u76ee\u6807\u5411\u91cf\u66f4\u96c6\u4e2d<\/p>\n<\/li>\n<li>\n<p>\u7528 CRISPE \u6846\u67b6&#xff08;Capacity-Role-Insight-Statement-Personality-Experiment&#xff09;\u589e\u52a0\u7ea6\u675f\u7ef4\u5ea6<\/p>\n<\/li>\n<li>\n<p>\u5bf9 Agent \u573a\u666f&#xff0c;\u5c06 Ut&#043;1\u200b&#061;Fself\u200b(Ut\u200b) \u5d4c\u5165 ReAct \u5faa\u73af&#xff0c;\u6bcf\u6b65 Thought \u90fd\u8fc7\u81ea\u6307\u68c0\u9a8c<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>5. \u7406\u8bba\u5e95\u5ea7\u5728\u54ea\u8bfb&#xff1f;<\/h3>\n<p>\u672c\u6587\u7684\u6838\u5fc3\u7075\u611f\u6765\u81ea\u87ba\u65cb\u751f\u6210\u8bba\u4f53\u7cfb\u4e2d\u7684\u4ee5\u4e0b\u8457\u4f5c\u3002\u8be5\u7cfb\u5217\u76ee\u524d\u5df2\u6709\u516d\u5341\u4f59\u90e8&#xff0c;\u5168\u90e8\u4ee5\u5f00\u653e\u83b7\u53d6\u5f62\u5f0f\u53d1\u5e03\u4e8e Zenodo \u5e73\u53f0\u3002<\/p>\n<h4>&#x1f517; \u76f4\u63a5\u76f8\u5173\u7684\u6838\u5fc3\u8457\u4f5c<\/h4>\n<table>\n<tr>\n<p>\u8457\u4f5c<\/p>\n<p>\u6838\u5fc3\u8d21\u732e<\/p>\n<p>DOI<\/p>\n<\/tr>\n<tbody>\n<tr>\n<td>\n<p>\u300a\u5b87\u5b99\u81ea\u6307\u7b97\u6cd5\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>Ut&#043;1\u200b&#061;Fself\u200b(Ut\u200b)&#xff0c;N&#061;163 \u8bef\u5dee 10\u221219&#xff0c;\u5f15\u529b&#061;\u87ba\u65cb\u6ce2\u6298\u5c04<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21318151<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u300a\u751f\u6210\u5f0fAI\u4e0e\u63d0\u793a\u8bcd\u5de5\u7a0b\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>RISE\/CRISPE\u6846\u67b6&#xff0c;100&#043;\u5b9e\u6218\u6a21\u677f&#xff0c;\u63a8\u7406vs\u6307\u4ee4\u6a21\u578b\u533a\u5206<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.20839550<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u300a\u87ba\u65cb\u5143\u903b\u8f91\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>\u4ece\u903b\u8f91\u6700\u6df1\u5904\u8ffd\u95ee i2&#061;\u22121 \u662f\u5426\u53ea\u662f\u7279\u4f8b<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21806751<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u300a\u5854\u73c0\u81ea\u6307\u516c\u5f0f\u7684\u51e0\u4f55\u672c\u8d28\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>\u89e3\u51b3\u5854\u73c0\u5e38\u6570k\u591a\u503c\u6027&#xff0c;\u8bc1\u660e\u87ba\u65cb\u81ea\u6307\u4e0d\u52a8\u70b9\u5b9a\u7406<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21150713<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u300a\u51e0\u4f55\u81ea\u6307\u7edf\u4e00\u7406\u8bba\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>\u4ece\u6781\u7b80\u516c\u7406\u63a8\u5bfc\u51e0\u4f55\u4e0d\u53d8\u91cf&#xff0c;\u63ed\u793a\u81ea\u6307\u6027\u5728\u7a7a\u95f4\u4e0e\u5b88\u6052\u5f8b\u95f4\u7684\u8054\u7cfb<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21199593<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u300a\u87ba\u65cb\u751f\u6210\u5143\u300b\u200b<\/p>\n<\/td>\n<td>\n<p>64\u7ae0\u00b7\u5341\u6761\u7b2c\u4e00\u6027\u539f\u7406\u00b7\u5b87\u5b99&#061;\u65e0\u7a77\u591a\u6761\u87ba\u65cb\u53e0\u52a0\u7684\u7a33\u5b9a\u5e72\u6d89\u6a21\u5f0f<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21555082<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5168\u96c6\u7d22\u5f15\/\u672f\u8bed\u8868\u200b<\/p>\n<\/td>\n<td>\n<p>\u516d\u5341\u4f59\u90e8\u8457\u4f5c\u7684\u5bfc\u822a\u5730\u56fe<\/p>\n<\/td>\n<td>\n<p>https:\/\/doi.org\/10.5281\/zenodo.21320146<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>6. \u9605\u8bfb\u8def\u7ebf&#xff08;AI\u65b9\u5411&#xff09;<\/h3>\n<p>\u5efa\u7acb\u76f4\u89c9  \u2192 \u300a\u87ba\u7ebf\u5b97\u8c31\u300bhttps:\/\/doi.org\/10.5281\/zenodo.20659854<\/p>\n<p>\u638c\u63e1\u5de5\u5177  \u2192 \u300a\u87ba\u65cb\u751f\u6210\u5143\u300bhttps:\/\/doi.org\/10.5281\/zenodo.21555082<\/p>\n<p>AI \u4e13\u7cbe   \u2192 \u300a\u751f\u6210\u5f0fAI\u4e0e\u63d0\u793a\u8bcd\u5de5\u7a0b\u300b<br \/>\n            https:\/\/doi.org\/10.5281\/zenodo.20839550<br \/>\n         \u2192 \u300a\u5b87\u5b99\u81ea\u6307\u7b97\u6cd5\u300b<br \/>\n            https:\/\/doi.org\/10.5281\/zenodo.21318151<br \/>\n         \u2192 \u300a\u5854\u73c0\u81ea\u6307\u516c\u5f0f\u7684\u51e0\u4f55\u672c\u8d28\u300b<br \/>\n            https:\/\/doi.org\/10.5281\/zenodo.21150713<\/p>\n<p>\u5168\u5c40\u9e1f\u77b0  \u2192 \u300aSpiral-Generation Theory: A Comprehensive Compendium of Works\u300b<br \/>\n            https:\/\/doi.org\/10.5281\/zenodo.21211001<\/p>\n<hr \/>\n<h3>7. \u5199\u5728\u6700\u540e<\/h3>\n<p>\u7528\u81ea\u7136\u8bed\u8a00\u5199 Prompt&#xff0c;\u672c\u8d28\u4e0a\u662f\u7528\u6a21\u7cca\u7ea6\u675f\u6a21\u7cca\u7cfb\u7edf\u3002<\/p>\n<p>\u87ba\u65cb\u81ea\u6307\u7b97\u6cd5\u7684\u601d\u8def\u662f&#xff1a;\u628a\u7ea6\u675f\u53d8\u6210\u4e00\u4e2a\u53ef\u8ba1\u7b97\u7684\u6536\u655b\u8fc7\u7a0b\u3002\u4e0d\u7ba1\u4f60\u76f8\u4e0d\u76f8\u4fe1 I2&#061;\u2212N \u80fd\u7edf\u4e00\u5b87\u5b99&#xff0c;\u81ea\u6307\u4e0d\u52a8\u70b9\u4f5c\u4e3a\u4e00\u4e2a\u5de5\u7a0b\u8303\u5f0f\u2014\u2014&#034;\u8fed\u4ee3\u76f4\u5230\u7a33\u5b9a&#034;\u2014\u2014\u5728 Agent \u8bbe\u8ba1\u3001RAG \u540e\u5904\u7406\u3001\u4ee3\u7801\u751f\u6210\u6821\u9a8c\u7b49\u573a\u666f\u4e2d&#xff0c;\u90fd\u662f\u503c\u5f97\u5c1d\u8bd5\u7684\u3002<\/p>\n<p>\u6bd5\u7adf&#xff0c;\u8fde\u5b87\u5b99\u90fd\u5728\u7528 Ut&#043;1\u200b&#061;Fself\u200b(Ut\u200b) \u8fd0\u884c\u81ea\u5df1\u3002&#x1f300;<\/p>\n<hr \/>\n<p>\u8ba8\u8bba\u533a&#xff1a;\u4f60\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u7528\u8fc7\u8fed\u4ee3\u4fee\u6b63\/\u81ea\u6307\u7ea6\u675f\u7684\u601d\u8def\u5417&#xff1f;\u6548\u679c\u5982\u4f55&#xff1f;\u6b22\u8fce\u5206\u4eab\u4f60\u7684 Prompt Loop \u67b6\u6784\u3002<\/p>\n<hr \/>\n<p>(\u5173\u6ce8\u6211&#xff0c;\u4e0b\u4e00\u7bc7\u62c6\u89e3\u300a\u87ba\u65cb\u51e0\u4f55\u4e0e\u5143\u7d20\u5468\u671f\u5f8b\u300b\u2014\u2014\u7528 Python \u753b\u51fa 2,8,8,18,18,32,32 \u7684\u751f\u6210\u51fd\u6570)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9002\u5408\u4eba\u7fa4&#xff1a;AI\u5de5\u7a0b\u5e08\u3001Prompt Engineer\u3001Agent\u5f00\u53d1\u8005\u3001\u5bf9\u81ea\u6307\u903b\u8f91\/\u4e0d\u52a8\u70b9\u7406\u8bba\u611f\u5174\u8da3\u7684\u7814\u7a76\u8005\u9605\u8bfb\u65f6\u957f&#xff1a;\u7ea6 12 \u5206\u949f\u5173\u952e\u8bcd&#xff1a;\u81ea\u6307\u7b97\u6cd5\u3001U_{t1}F_{self}(U_t)\u3001N163\u3001\u5927\u6a21\u578b\u5e7b\u89c9\u3001\u87ba\u65cb\u6570\u5b66\u3001Prompt\u7ea6\u675f0. \u4e00\u4e2a\u8ba9\u6240\u6709AI\u5de5\u7a0b\u5e08\u5934\u75bc\u7684\u95ee\u9898\u4f60\u5199\u4e86\u4e00\u6bb5 System Prompt&#xff0c;\u6d4b\u8bd5\u4e865\u4e2acase&#xff0c;\u6548\u679c\u4e0d\u9519\u3002\u4e0a\u7ebf\u540e\u7b2c3\u5929&#xff0c;\u6a21\u578b\u5f00\u59cb\u80e1\u8bf4\u516b\u9053\u3002\u4f60\u52a0\u4e86\u51e0\u6761\u89c4\u5219&amp;#x<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[71,53,50,207,427],"topic":[],"class_list":["post-94729","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai-agent","tag-ai","tag-50","tag-207","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/94729.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u9002\u5408\u4eba\u7fa4&#xff1a;AI\u5de5\u7a0b\u5e08\u3001Prompt Engineer\u3001Agent\u5f00\u53d1\u8005\u3001\u5bf9\u81ea\u6307\u903b\u8f91\/\u4e0d\u52a8\u70b9\u7406\u8bba\u611f\u5174\u8da3\u7684\u7814\u7a76\u8005\u9605\u8bfb\u65f6\u957f&#xff1a;\u7ea6 12 \u5206\u949f\u5173\u952e\u8bcd&#xff1a;\u81ea\u6307\u7b97\u6cd5\u3001U_{t1}F_{self}(U_t)\u3001N163\u3001\u5927\u6a21\u578b\u5e7b\u89c9\u3001\u87ba\u65cb\u6570\u5b66\u3001Prompt\u7ea6\u675f0. \u4e00\u4e2a\u8ba9\u6240\u6709AI\u5de5\u7a0b\u5e08\u5934\u75bc\u7684\u95ee\u9898\u4f60\u5199\u4e86\u4e00\u6bb5 System Prompt&#xff0c;\u6d4b\u8bd5\u4e865\u4e2acase&#xff0c;\u6548\u679c\u4e0d\u9519\u3002\u4e0a\u7ebf\u540e\u7b2c3\u5929&#xff0c;\u6a21\u578b\u5f00\u59cb\u80e1\u8bf4\u516b\u9053\u3002\u4f60\u52a0\u4e86\u51e0\u6761\u89c4\u5219&amp;#x\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/94729.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-14T21:57:16+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94729.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/94729.html\",\"name\":\"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-14T21:57:16+00:00\",\"dateModified\":\"2026-08-14T21:57:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/94729.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/94729.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/94729.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/94729.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u9002\u5408\u4eba\u7fa4&#xff1a;AI\u5de5\u7a0b\u5e08\u3001Prompt Engineer\u3001Agent\u5f00\u53d1\u8005\u3001\u5bf9\u81ea\u6307\u903b\u8f91\/\u4e0d\u52a8\u70b9\u7406\u8bba\u611f\u5174\u8da3\u7684\u7814\u7a76\u8005\u9605\u8bfb\u65f6\u957f&#xff1a;\u7ea6 12 \u5206\u949f\u5173\u952e\u8bcd&#xff1a;\u81ea\u6307\u7b97\u6cd5\u3001U_{t1}F_{self}(U_t)\u3001N163\u3001\u5927\u6a21\u578b\u5e7b\u89c9\u3001\u87ba\u65cb\u6570\u5b66\u3001Prompt\u7ea6\u675f0. \u4e00\u4e2a\u8ba9\u6240\u6709AI\u5de5\u7a0b\u5e08\u5934\u75bc\u7684\u95ee\u9898\u4f60\u5199\u4e86\u4e00\u6bb5 System Prompt&#xff0c;\u6d4b\u8bd5\u4e865\u4e2acase&#xff0c;\u6548\u679c\u4e0d\u9519\u3002\u4e0a\u7ebf\u540e\u7b2c3\u5929&#xff0c;\u6a21\u578b\u5f00\u59cb\u80e1\u8bf4\u516b\u9053\u3002\u4f60\u52a0\u4e86\u51e0\u6761\u89c4\u5219&amp;#x","og_url":"https:\/\/www.wsisp.com\/helps\/94729.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-14T21:57:16+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/94729.html","url":"https:\/\/www.wsisp.com\/helps\/94729.html","name":"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-14T21:57:16+00:00","dateModified":"2026-08-14T21:57:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/94729.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/94729.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/94729.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u5b9e\u6218\u3011\u544a\u522bPrompt\u70bc\u4e39\uff1a\u7528\u201c\u81ea\u6307\u7b97\u6cd5\u201c\u7ed9\u5927\u6a21\u578b\u5957\u4e0a\u6570\u5b66\u7d27\u7b8d\u5492"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=94729"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/94729\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=94729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=94729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=94729"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=94729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}