mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
20 lines
2.0 KiB
JavaScript
20 lines
2.0 KiB
JavaScript
import{_ as s,c as a,o as e,ae as p}from"./chunks/framework.CBTkueSR.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en/xcode/PlaygroundAction.md","filePath":"en/xcode/PlaygroundAction.md"}'),t={name:"en/xcode/PlaygroundAction.md"};function l(i,n,o,c,d,r){return e(),a("div",null,[...n[0]||(n[0]=[p(`<h2 id="playgroundaction-txt" tabindex="-1">PlaygroundAction.txt <a class="header-anchor" href="#playgroundaction-txt" aria-label="Permalink to "PlaygroundAction.txt""></a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>The user is curently inside this file: {{filename}}</span></span>
|
||
<span class="line"><span>The contents are below:</span></span>
|
||
<span class="line"><span>\`\`\`swift:{{filename}}</span></span>
|
||
<span class="line"><span>{{filecontent}}</span></span>
|
||
<span class="line"><span>\`\`\`</span></span>
|
||
<span class="line"><span></span></span>
|
||
<span class="line"><span>The user has selected the following code from that file:</span></span>
|
||
<span class="line"><span>\`\`\`swift</span></span>
|
||
<span class="line"><span>{{selected}}</span></span>
|
||
<span class="line"><span>\`\`\`</span></span>
|
||
<span class="line"><span></span></span>
|
||
<span class="line"><span>The user has asked:</span></span>
|
||
<span class="line"><span></span></span>
|
||
<span class="line"><span>Provide a brief example on how to use \`{{selected}}\`.</span></span>
|
||
<span class="line"><span></span></span>
|
||
<span class="line"><span>- Respond only with a single code block.</span></span>
|
||
<span class="line"><span>- Don't use comments. </span></span>
|
||
<span class="line"><span>- Don't use print statements. </span></span>
|
||
<span class="line"><span>- Don't import any additional modules.</span></span></code></pre></div>`,2)])])}const m=s(t,[["render",l]]);export{h as __pageData,m as default};
|