Skip to content

Commit 5a9663c

Browse files
committed
Update README content to improve clarity regarding prompt usage and caching
1 parent da67c97 commit 5a9663c

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@ Get involved! Join our [discord server](https://discord.gg/KJySXsrSX5).
2828

2929
Coding capability in LLMs is trained using techniques like [Inverse-Instruct](https://www.researchgate.net/figure/The-overview-of-INVERSE-INSTRUCT-INVERSE-INSTRUCT-utilizes-the-models-own-capability-in_fig1_382079949) with an existing model acting as a summarizer, looking at the code and writing instructions that could realistically output that exact code block.
3030

31-
By showing the model a complete set of files and task instructions in a single message, CWC taps directly into these snippet-summarization pairs.
32-
33-
Make simple instructions just work and the required reasoning effort lower or even disabled!
31+
CWC is designed to tap directly into these code snippet-summarization training dataset pairs by making file selection for context an essential part of your AI-assisted coding workflow.
3432

3533
> [!TIP]
3634
> Get help in relevant file selection using the _Find Relevant Files_ prompt type.
3735
3836
## Prompt types
3937

40-
At its core, CWC constructs simple, markdown-formatted prompts for common use-cases (click to expand):
38+
At its core, CWC constructs simple, markdown-formatted prompts for common use-cases (click to expand) you can copy and paste into chatbot of choice or send directly from the editor via an API call.
4139

4240
<details>
4341
<summary><strong>Edit files</strong></summary>
@@ -149,11 +147,11 @@ Install the [browser extension](https://github.com/robertpiosik/CodeWebChat/tree
149147
> [!NOTE]
150148
> Use [forwarding](https://code.visualstudio.com/docs/debugtest/port-forwarding) of port _55155_ when using remote machine via SSH.
151149
152-
## Built around prompt caching
150+
## Prompt caching
153151

154-
CWC orders context files by modification and selection recency. This, combined with instructions placement at the message's very end utilizes [prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) across single-turn prompts.
152+
CWC orders context files by modification and selection recency. This, combined with instructions placement at the message's very end effecively utilizes [prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) across tasks.
155153

156-
Make your chatbot quota last longer, lower input token costs by up to 90%, and reduce latency by up to 80%.
154+
Make your chatbot quota last longer, lower input token costs by up to 90%, and reduce latency by up to 80%!
157155

158156
## Commands
159157

0 commit comments

Comments
 (0)