mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
18 lines
1.9 KiB
JavaScript
18 lines
1.9 KiB
JavaScript
import{_ as s,c as a,o as e,ae as t}from"./chunks/framework.CBTkueSR.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en/xcode/DocumentAction.md","filePath":"en/xcode/DocumentAction.md","lastUpdated":1760450691000}'),p={name:"en/xcode/DocumentAction.md"};function c(l,n,i,o,d,r){return e(),a("div",null,[...n[0]||(n[0]=[t(`<h2 id="documentaction-txt" tabindex="-1">DocumentAction.txt <a class="header-anchor" href="#documentaction-txt" aria-label="Permalink to "DocumentAction.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_code}}</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 documentation for \`{{selected_code}}\`.</span></span>
|
||
<span class="line"><span></span></span>
|
||
<span class="line"><span>- Respond with a single code block.</span></span>
|
||
<span class="line"><span>- Only include documentation comments. No other Swift code.</span></span></code></pre></div>`,2)])])}const h=s(p,[["render",c]]);export{u as __pageData,h as default};
|