Skip to content

Commit 85ebbab

Browse files
authored
Merge branch 'sg-next-feb-2025' into deprecated-models
2 parents 2c8417b + a54b356 commit 85ebbab

File tree

6 files changed

+32
-43
lines changed

6 files changed

+32
-43
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sourcegraph Docs
22

3-
<!-- Working branch for JAN 2025 Release -->
3+
<!-- Working branch for FEB 2025 Release -->
44

55
Welcome to the Sourcegraph documentation! We're excited to have you contribute to our docs. We've recently rearchitectured our docs tech stack — powered by Next.js, TailwindCSS and deployed on Vercel. This guide will walk you through the process of contributing to our documentation using the new tech stack.
66

docs/cody/capabilities/chat.mdx

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -123,29 +123,6 @@ To use Cody's chat, you'll need the following:
123123

124124
The enhanced chat experience includes everything in the Free plan, plus the following:
125125

126-
## Intent detection
127-
128-
Intent detection automatically analyzes user queries and determines whether to provide an AI chat or code search response. This functionality helps simplify developer workflows by providing the most appropriate type of response without requiring explicit mode switching.
129-
130-
### How it works
131-
132-
When a user submits a query in the chat panel, the intent detection component:
133-
134-
- Analyzes the query content and structure
135-
- Determines the most appropriate response type (search or chat)
136-
- Returns results in the optimal format
137-
- Provides the ability to toggle between response types manually
138-
139-
Let's look at an example of how this might work:
140-
141-
#### Search-based response
142-
143-
![Intent detection code search response](https://storage.googleapis.com/sourcegraph-assets/Docs/intent-detection-code-search-response-01242025.jpg)
144-
145-
#### Chat-based response
146-
147-
![Intent detection chat response](https://storage.googleapis.com/sourcegraph-assets/Docs/intent-detection-chat-response-01242025.jpg)
148-
149126
## Smart search integration
150127

151128
The smart search integration enhances Sourcegraph's chat experience by providing lightweight code search capabilities directly within the chat interface. This feature simplifies developer workflows by offering quick access to code search without leaving the chat environment.
@@ -181,15 +158,16 @@ Search results generated through smart search integration can be automatically u
181158
The following is a general walkthrough of the chat experience:
182159

183160
1. The user enters a query in the chat interface
184-
2. The system analyzes the query through intent detection
185-
3. If it's a search query:
161+
2. By default a user gets a chat response for the query
162+
3. To get integrated search results, toggle to **Run as search** from the drop-down selector or alternatively use `Cmd+Opt+Enter` (macOS)
163+
4. For search:
186164
- Displays ranked results with code snippets
187165
- Shows personalized repository ordering
188166
- Provides checkboxes to select context for follow-ups
189-
4. If it's a chat query:
167+
5. For chat:
190168
- Delivers AI-powered responses
191169
- Can incorporate previous search results as context
192-
5. Users can:
170+
6. Users can:
193171
- Switch between search and chat modes
194172
- Click on results to open files in their editor
195173
- Ask follow-up questions using selected context

docs/cody/clients/feature-reference.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** | **Eclipse** | **Web** | **CLI** |
88
| ---------------------------------------- | ----------- | ------------- | ----------------- | ----------- | -------------------- | ------- |
9-
| Chat |||||||
9+
| Chat |||||||
1010
| Chat history |||||||
1111
| Clear chat history |||||||
1212
| Edit sent messages |||||||
@@ -27,12 +27,13 @@
2727

2828
## Code Autocomplete
2929

30-
| **Feature** | **VS Code** | **JetBrains** |
31-
| --------------------------------------------- | ----------- | ------------- |
32-
| Single and multi-line autocompletion |||
33-
| Cycle through multiple completion suggestions |||
34-
| Accept suggestions word-by-word |||
35-
| Ollama support (experimental) |||
30+
| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** |
31+
| --------------------------------------------- | ----------- | ------------- | ----------------- |
32+
| Single and multi-line autocompletion ||||
33+
| Cycle through multiple completion suggestions ||||
34+
| Accept suggestions word-by-word ||||
35+
| Ollama support (experimental) ||||
36+
3637

3738
Few exceptions that apply to Cody Pro and Cody Enterprise users:
3839

docs/cody/clients/install-visual-studio.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,13 @@ To help you get started, there are a few prompts that are available by default.
7878
- Generate unit tests
7979

8080
![cody-vs-prompts](https://storage.googleapis.com/sourcegraph-assets/Docs/cody-vs-prompts-102024-2.png)
81+
82+
## Autocomplete
83+
84+
Cody for Visual Studio supports single and multi-line autocompletions. The autocomplete feature is available for the extension `v0.2.0` and above. It's enabled by default, with settings to turn it off.
85+
86+
<video width="1920" height="1080" loop playsInline controls style={{ width: '100%', height: 'auto' }}>
87+
<source src="https://storage.googleapis.com/sourcegraph-assets/Docs/visual-studio-autocomplete.mp4" type="video/mp4"/>
88+
</video>
89+
90+
Advanced features like [auto-edit](/cody/capabilities/auto-edit) are not yet supported. To disable the autocomplete feature, you can do it from your Cody settings section.

docs/pricing/enterprise-starter.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p className="subtitle">Learn about the Enterprise Starter plan tailored for individuals and teams wanting private code indexing and search to leverage the Sourcegraph platform better.</p>
44

5-
The Enterprise Starter plan offers a multi-tenant Sourcegraph instance designed for individuals and teams. It provides the core features of a traditional Sourcegraph instance but with a simplified management experience. This plan provides a fully managed version of Sourcegraph (AI + code search + intent detection with integrated search results, with privately indexed code) through a self-serve flow.
5+
The Enterprise Starter plan offers a multi-tenant Sourcegraph instance designed for individuals and teams. It provides the core features of a traditional Sourcegraph instance but with a simplified management experience. This plan provides a fully managed version of Sourcegraph (AI + code search with integrated search results, with privately indexed code) through a self-serve flow.
66

77
## Team seats
88

@@ -27,12 +27,12 @@ Please also see [Billing FAQs](billing-faqs.mdx).
2727

2828
The Enterprise Starter plan supports a variety of AI and search-based features like:
2929

30-
| **AI features** | **Code Search** | **Management** | **Support** |
31-
| ------------------------------------------------ | ------------------------------ | --------------------------------------------------------- | ------------------------- |
32-
| Code autocompletions and chat messages | Indexed Code Search | Simplified admin experience with UI-based repo-management | Support with limited SLAs |
33-
| Powerful LLM models for chat | Indexed Symbol Search | User management | - |
34-
| Intent detection with integrated search results | Searched based code-navigation | GitHub code host integration | - |
35-
| Cody integration | - | - | - |
30+
| **AI features** | **Code Search** | **Management** | **Support** |
31+
| -------------------------------------- | ------------------------------ | --------------------------------------------------------- | ------------------------- |
32+
| Code autocompletions and chat messages | Indexed Code Search | Simplified admin experience with UI-based repo-management | Support with limited SLAs |
33+
| Powerful LLM models for chat | Indexed Symbol Search | User management | - |
34+
| Integrated search results | Searched based code-navigation | GitHub code host integration | - |
35+
| Cody integration | - | - | - |
3636

3737
## Limits
3838

docs/pricing/free.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The Enterprise Starter plan provides extended usage limits and advanced features
2727
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
2828
| **Description** | - AI editor assistant for hobbyists or light usage | - AI and search for growing organizations hosted on our cloud |
2929
| **Price** | - $0/month <br /> - 1 user | - $19/user/month <br /> - Up to 50 devs |
30-
| **AI features** | - Autocompletions <br /> - 200 chat messages and prompts per month <br /> - Multiple LLM choices for chat <br /> - Connect to local Ollama models | - Code autocomplete and chat <br /> - More powerful LLMs for chat (GPT-4o) <br /> - Intent detection and integrated search results |
30+
| **AI features** | - Autocompletions <br /> - 200 chat messages and prompts per month <br /> - Multiple LLM choices for chat <br /> - Connect to local Ollama models | - Code autocomplete and chat <br /> - More powerful LLMs for chat (GPT-4o, Claude 3 Opus) <br /> - Integrated search results |
3131
| **Code Search features** | N/A | - Code Search <br /> - Symbol Search |
3232
| **Deployment types** | - Multi-tenant Coud | - Multi-tenant Cloud <br /> - Private Workspace <br /> - Privately indexed code (100 repos) |
3333
| **Compatibility** | - VS Code, JetBrains IDEs, Visual Studio, and Eclipse <br /> - All popular coding languages <br /> Natural language search <br /> - All major code hosts | - VS Code, JetBrains IDEs, Visual Studio, and Eclipse <br /> - All popular coding languages <br /> Natural language search <br /> - Code hosted on GitHub |

0 commit comments

Comments
 (0)