Skip to content

Commit 61bed98

Browse files
committed
Relocate the prompt adherence note in the README to follow the XML context example, improving documentation flow
1 parent 8070df6 commit 61bed98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ Available in <a href="https://marketplace.visualstudio.com/items?itemName=robert
2323

2424
Select folders and files for context, enter prompt, and pick your favorite chatbot—to continue in the browser, or call a model provider of choice—to stay in the editor.
2525

26-
The extension then constructs an XML-formatted message that consists of your prompt, edit format instructions, and the selected context.
27-
28-
> The prompt and edit format instructions are repeated after the context [for better adherence](https://cookbook.openai.com/examples/gpt4-1_prompting_guide#:~:text=If%20you%20have%20long%20context%20in%20your%20prompt%2C%20ideally%20place%20your%20instructions%20at%20both%20the%20beginning%20and%20end%20of%20the%20provided%20context%2C%20as%20we%20found%20this%20to%20perform%20better%20than%20only%20above%20or%20below.).
26+
The extension then constructs an XML-formatted message that consists of your prompt, edit format instructions, and the selected context:
2927

3028
```
3129
Implement a subtract function.
@@ -45,6 +43,8 @@ Whenever proposing a new or updated file use the Markdown Code Block syntax. Eac
4543
</system>
4644
```
4745

46+
> The prompt and edit format instructions are repeated after the context [for better adherence](https://cookbook.openai.com/examples/gpt4-1_prompting_guide#:~:text=If%20you%20have%20long%20context%20in%20your%20prompt%2C%20ideally%20place%20your%20instructions%20at%20both%20the%20beginning%20and%20end%20of%20the%20provided%20context%2C%20as%20we%20found%20this%20to%20perform%20better%20than%20only%20above%20or%20below.).
47+
4848
Once the response is generated, it can be applied to the codebase in a fully revertible way.
4949

5050
## <span style="background-color: #fbb100; color: black; padding: 0.2em 0.6em; border-radius: 999px">Chatbot initialization</span>

0 commit comments

Comments
 (0)