Documentation edits made through Mintlify web editor

This commit is contained in:
mintlify[bot]
2025-08-11 07:33:52 +00:00
committed by GitHub
parent 423a4ffe17
commit 94391d7240
7 changed files with 6 additions and 485 deletions

View File

@@ -140,13 +140,11 @@ The **Code Fix** feature enables **automatic code correction** by leveraging the
1. **Write Repair Prompt**:
In the prompt editor, use the variable insertion menu (`/` or `{`) to insert variables. You may customize a prompt like:
In the prompt editor, use the variable insertion menu (`/` or `{`) to insert variables. You may customize a prompt like:
`Fix the following code based on this error message: Code: {{current_code}} Error: {{error_message}}`
<img
style={{ width:"2874%" }}
/>
![Codefix PN](/images/codefix.PNG)
2. **Using Context Variables (if needed later in workflow)**

View File

@@ -394,9 +394,7 @@ Click the wand icon to launch the Prompt Generator, which pre-fills a repair ins
`The output of this prompt is not as expected: {{last_run}}. You should edit the prompt according to the IDEAL OUTPUT.`
<img
style={{ width:"2644%" }}
/>
![Llm PN](/images/llm.PNG)
2. Customize the Instruction
@@ -410,9 +408,7 @@ _Note: You cannot insert variables into the Ideal Output box. It is for static e
For example, if your task were to rewrite the prompt so that the model outputs a concise summary of a news article in exactly three bullet points, an ideal output could be:
<img
style={{ width:"1092%" }}
/>
![Llm2 PN](/images/llm2.PNG)
4. Generate an Optimized Prompt