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 fd7a658
Browse filesBrowse the repository at this point in the historyBrowse files
Large language models (LLMs) are trained on vastdatasets targeting many use cases. For code generation, a model's training involves analyzing millions of simulated problem-solving flows, such as arriving at the accepted answer from a given StackOverflow question. For the purpose of agentic coding, models are trained on an additional layer of data that simulates gathering context and planning its next steps.
24
+
Large language models are trained on vast, curated datasets targeting many use cases. For code generation, model's training involves analyzing millions of simulated problem-solving flows, such as arriving at the accepted answer from a given StackOverflow question. For the purpose of agentic coding, models are trained on an additional layer of data that simulates gathering context and planning its next steps.
24
25
25
-
Because the model is only as smart as examples it has seen in its pre-training stage, the possible coverage of real-world problems when approached at a high level is fundamentally limited.
26
+
Because the model is only as smart as examples it has seen in its training, and all it does is mindless pattern matching—letting it face big, real-world, noisy codebases all by itself could be above its true capabilities, severly huriting accuracy and cost-efficiency.
26
27
27
-
Therefore, CWC is designed to align with LLMs' true capabilities—that is, code generation in a controlled signal-to-noise ratio environment. Controlled by you, the engineer.
28
+
**Context-first approach**
28
29
29
-
🧠 **Guide the model with context**
30
-
31
-
Unlike coding agents that require detailed instructions to understand your intent and locate relevant files, with CWC you provide fine-grained context up front, allowing simple, even vague instructions.
30
+
Meet a non-agentic workflow—select files that make an environment for the task, enter instructions, and send message with your favorite chatbot or a model provider of choice.
32
31
33
32
> [!TIP]
34
-
> LLMs are pattern matchers—they love examples! Include some you believe will help the model understand the goal better.
35
-
36
-
Meet the CWC's non-agentic workflow—select folders and files, enter instructions, and send message in a new web chat or with an API provider of choice.
33
+
> LLMs are pattern matchers—they love examples! Steer the model to higher quality outputs, like no coding agent can.
37
34
38
-
Constructed message is simple and focuses the model's whole attention on the task:
35
+
Constructed messages, in their simple form, free from the tool-calling noise focus the model's whole attention on the task. Example:
39
36
40
37
```
41
38
Implement a subtract function.
@@ -58,11 +55,11 @@ Implement a subtract function.
58
55
> [!NOTE]
59
56
> The prompt and edit format instructions are repeated after the context [for better accuracy](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.).
60
57
61
-
Once the response is generated, sophisticated parser extracts code blocks with suggested edits for one-click multi-file changes integration.
58
+
Once the response is generated, a sophisticated parser extracts code blocks with file edits for one-click changes integration.
62
59
63
-
## Chatbot initialization
60
+
## Browser integration
64
61
65
-
Install the [open-source](https://github.com/robertpiosik/CodeWebChat/blob/dev/packages/browser)Connector in your browser and never copy & paste again.
62
+
Install CWC's Connector extension in your favorite browser to place messages, use projects feature, set model, incognito mode, and more. Like all of Code Web Chat, the extension is [open-source](https://github.com/robertpiosik/CodeWebChat/blob/dev/packages/browser)and works with minimal permissions for your absolute security and privacy.
66
63
67
64
-[Chrome Web Store](https://chromewebstore.google.com/detail/code-web-chat-connector/ljookipcanaglfaocjbgdicfbdhhjffp)
@@ -101,7 +98,7 @@ Install the [open-source](https://github.com/robertpiosik/CodeWebChat/blob/dev/p
101
98
Anything CWC can do in chatbots, it can do calling model providers directly from the editor.
102
99
103
100
> [!TIP]
104
-
> Get started with generous free tiers from[Google](https://aistudio.google.com/api-keys), [Mistral](https://console.mistral.ai/api-keys) or [Cerebras](https://cloud.cerebras.ai/).
101
+
> Get started with model providers like[Google](https://aistudio.google.com/api-keys), [Mistral](https://console.mistral.ai/api-keys) or [Cerebras](https://cloud.cerebras.ai/).
105
102
106
103
**🛠️ Edit Context**\
107
104
Modify, create or delete files based on natural language instructions.
0 commit comments