You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5a9663c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,16 +28,14 @@ Get involved! Join our [discord server](https://discord.gg/KJySXsrSX5).
28
28
29
29
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.
30
30
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.
34
32
35
33
> [!TIP]
36
34
> Get help in relevant file selection using the _Find Relevant Files_ prompt type.
37
35
38
36
## Prompt types
39
37
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.
41
39
42
40
<details>
43
41
<summary><strong>Edit files</strong></summary>
@@ -149,11 +147,11 @@ Install the [browser extension](https://github.com/robertpiosik/CodeWebChat/tree
149
147
> [!NOTE]
150
148
> Use [forwarding](https://code.visualstudio.com/docs/debugtest/port-forwarding) of port _55155_ when using remote machine via SSH.
151
149
152
-
## Built around prompt caching
150
+
## Prompt caching
153
151
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.
155
153
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%!
0 commit comments