Skip to content

Commit 805f7a0

Browse files
authored
Merge branch 'main' into docs-chatbot
2 parents 1009ced + 2f05d42 commit 805f7a0

28 files changed

+256
-120
lines changed

baseai/memory/docs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const memoryDocs = (): MemoryI => ({
77
enabled: true,
88
include: ['**/*.mdx'],
99
gitignore: true,
10-
deployedAt: 'dd4e4714696856a7160aded10308b08304ca3739',
10+
deployedAt: '0b12fd694012923f78f6597943db51ed421c8fe4',
1111
embeddedAt: ''
1212
},
1313
documents: {

docs/analytics/index.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ Many of the metrics above are also available for Cody only. However, some user d
7272
| Hours saved | The number of hours saved by Cody users, assuming 2 minutes saved per completion |
7373
| Completions by day | The number of completions suggested by day and by editor. |
7474
| Completion acceptance rate (CAR) | The percent of completions presented to a user for at least 750ms accepted by day, the editor, day, and month. |
75-
| Weighted completion acceptance rate (wCAR) | Similar to CAR, but weighted by the number of characters presented in the completion, and only counting those fully retained by the user for X minutes after accepting the completion, by the editor, day, and month. |
75+
| Weighted completion acceptance rate (wCAR) | Similar to CAR, but weighted by the number of characters presented in the completion, by the editor, day, and month. This assigns more "weight" to accepted completions that provide more code to the user. |
76+
| Completion persistence rate | Percent of completions that are retained or mostly retained (67%+ of inserted text) after various time intervals. |
7677
| Average completion latency (ms) | The average milliseconds of latency before a user is presented with a completion suggestion by an editor. |
7778
| Acceptance rate by language | CAR and total completion suggestions broken down by editor during the selected time |
7879

@@ -85,8 +86,11 @@ Many of the metrics above are also available for Cody only. However, some user d
8586
| Hours saved by chats | Total hours saved through Cody chat interactions during the selected time , assuming 5 minutes saved per chat |
8687
| Cody chats by day | Daily count of chat interactions |
8788
| Cody chat users | Daily count of chat users |
88-
| Prompts created, edited, and deleted by day | Daily count of prompt management activities, including creation, modification, and removal |
89-
| Users creating, editing, and deleting prompts by day | Number of unique users performing prompt management activities each day |
89+
| Lines of code inserted | Lines of code generated by Cody in chat that get applied, inserted, or pasted into the editor. Only VS Code is included in this metric for now |
90+
| Insert rate | Percent of code generated by Cody in chat that gets applied, inserted, or pasted into the editor. Only VS Code is included in this metric for now |
91+
| Chat apply & insert persistence rate | Percent of code inserted by Apply and Insert actions that are retained or mostly retained (67%+ of inserted text) after various time intervals |
92+
| Prompts created, edited, and deleted by day | Daily count of prompt management activities, including creation, modification, and removal |
93+
| Users creating, editing, and deleting prompts by day | Number of unique users performing prompt management activities each day |
9094

9195
### Command metrics (deprecated)
9296

docs/cloud/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ For unsupported private connectivity methods, Sourcegraph offers connectivity vi
112112
### Health monitoring, support, and SLAs
113113

114114
- Instance performance and health [monitored](/admin/observability/) by our team's on-call engineers.
115-
- [Support and SLAs](https://handbook.sourcegraph.com/support#for-customers-with-managed-instances).
115+
- [Support and SLAs](../sla/index.mdx).
116116

117117
### Backup and restore
118118

@@ -198,7 +198,7 @@ Your managed instance will be accessible over HTTPS/TLS, provide storage volumes
198198

199199
For all managed instances, we will provide security capabilities from Cloudflare such as WAF and rate-limiting to protect your instance from malicious traffic.
200200

201-
Your instance will be hosted in isolated Google Cloud infrastructure. See our [employee handbook](https://handbook.sourcegraph.com/departments/cloud/technical-docs/) to learn more about the cloud architecture we use. Both your team and limited Sourcegraph personnel will have application-level administrator access to the instance.
201+
Your instance will be hosted in isolated Google Cloud infrastructure. See our [FAQ](#faq) below to learn more about the cloud architecture. Both your team and limited Sourcegraph personnel will have application-level administrator access to the instance.
202202

203203
Only essential Sourcegraph personnel will have access to the instance, server, code, and any other sensitive materials, such as tokens or keys. The employees or contractors with access are bound by the same terms as Sourcegraph itself. Learn more in our [security policies for Sourcegraph Cloud](https://about.sourcegraph.com/security) or [contact us](https://about.sourcegraph.com/contact/sales) with any questions or concerns. You may also request a copy of our SOC 2 Report on our [security portal](https://security.sourcegraph.com).
204204

docs/cody/capabilities/autocomplete.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The autocompletion model is designed to enhance speed, accuracy, and the overall
1919
First, you'll need the following setup:
2020

2121
- A Free or Pro account via Sourcegraph.com or a Sourcegraph Enterprise instance
22-
- A supported editor extension (VS Code, JetBrains, Visual Studio, Eclipse)
22+
- A supported editor extension (VS Code, JetBrains, Visual Studio)
2323

2424
The autocomplete feature is enabled by default on all IDE extensions, i.e., VS Code and JetBrains. Generally, there's a checkbox in the extension settings that confirms whether the autocomplete feature is enabled or not. In addition, some autocomplete settings are optionally and explicitly supported by some IDEs. For example, JetBrains IDEs have settings that allow you to customize colors and styles of the autocomplete suggestions.
2525

docs/cody/capabilities/chat.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Tab title="Free/Pro">
77
You can **chat** with Cody to ask questions about your code, generate code, and edit code. By default, Cody has the context of your open file and entire repository, and you can use `@` to add context for specific files, symbols, remote repositories, or other non-code artifacts.
88

9-
You can do it from the **chat** panel of the supported editor extensions ([VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), [Visual Studio](/cody/clients/install-visual-studio), [Eclispe](/cody/clients/install-eclipse)) or in the [web](/cody/clients/cody-with-sourcegraph) app.
9+
You can do it from the **chat** panel of the supported editor extensions ([VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), [Visual Studio](/cody/clients/install-visual-studio)) or in the [web](/cody/clients/cody-with-sourcegraph) app.
1010

1111
## Prerequisites
1212

docs/cody/capabilities/supported-models.mdx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@ Cody supports a variety of cutting-edge large language models for use in chat an
88

99
| **Provider** | **Model** | **Free** | **Pro** | **Enterprise** | | | | |
1010
| :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :----------- | :------------- | --- | --- | --- | --- |
11-
| OpenAI | [gpt-4 turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo#:~:text=TRAINING%20DATA-,gpt%2D4%2D0125%2Dpreview,-New%20GPT%2D4) | - ||| | | | |
12-
| OpenAI | [gpt-4o](https://platform.openai.com/docs/models#gpt-4o) | - ||| | | | |
13-
| OpenAI | [gpt-4o-mini](https://platform.openai.com/docs/models#gpt-4o-mini) |||| | | | |
11+
| OpenAI | [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo#:~:text=TRAINING%20DATA-,gpt%2D4%2D0125%2Dpreview,-New%20GPT%2D4) | - ||| | | | |
12+
| OpenAI | [GPT-4o](https://platform.openai.com/docs/models#gpt-4o) | - ||| | | | |
13+
| OpenAI | [GPT-4o-mini](https://platform.openai.com/docs/models#gpt-4o-mini) |||| | | | |
1414
| OpenAI | [o3-mini-medium](https://openai.com/index/openai-o3-mini/) (experimental) |||| | | | |
1515
| OpenAI | [o3-mini-high](https://openai.com/index/openai-o3-mini/) (experimental) | - | - || | | | |
1616
| OpenAI | [o1](https://platform.openai.com/docs/models#o1) | - ||| | | | |
17-
| Anthropic | [claude-3.5 Haiku](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) |||| | | | |
18-
| Anthropic | [claude-3.5 Sonnet](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) |||| | | | |
19-
| Google Gemini | [1.5 Pro](https://deepmind.google/technologies/gemini/pro/) ||| ✅ (beta) | | | | |
20-
| Google Gemini | [2.0 Flash](https://deepmind.google/technologies/gemini/flash/) |||| | | | |
21-
| Google Gemini | [2.0 Flash-Lite Preview](https://deepmind.google/technologies/gemini/flash/) (experimental) |||| | | | |
22-
23-
<Callout type="note">To use Claude 3 Sonnet models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version.</Callout>
17+
| Anthropic | [Claude 3.5 Haiku](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) |||| | | | |
18+
| Anthropic | [Claude 3.5 Sonnet](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) |||| | | | |
19+
| Anthropic | [Claude 3.7 Sonnet](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) | - ||| | | | |
20+
| Google | [Gemini 1.5 Pro](https://deepmind.google/technologies/gemini/pro/) ||| ✅ (beta) | | | | |
21+
| Google | [Gemini 2.0 Flash](https://deepmind.google/technologies/gemini/flash/) |||| | | | |
22+
| Google | [Gemini 2.0 Flash-Lite Preview](https://deepmind.google/technologies/gemini/flash/) (experimental) |||| | | | |
23+
24+
<Callout type="note">To use Claude 3 Sonnet models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version. Claude 3.7 Sonnet with thinking is not supported for BYOK deployments.</Callout>
2425

2526
## Autocomplete
2627

docs/cody/clients/cody-with-sourcegraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p className="subtitle">Learn how to use Cody in the web interface with your Sourcegraph.com instance.</p>
44

5-
In addition to the Cody extensions for [VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), [Visual Studio](/cody/clients/install-visual-studio ), and [Eclispe](/cody/clients/install-eclipse) IDEs, Cody is also available in the Sourcegraph web app. Community users can use Cody for free by logging into their accounts on Sourcegraph.com, and enterprise users can use Cody within their Sourcegraph instance.
5+
In addition to the Cody extensions for [VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), and [Visual Studio](/cody/clients/install-visual-studio ) IDEs, Cody is also available in the Sourcegraph web app. Community users can use Cody for free by logging into their accounts on Sourcegraph.com, and enterprise users can use Cody within their Sourcegraph instance.
66

77
<LinkCards>
88
<LinkCard href="https://sourcegraph.com/cody/chat" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/new-chat-icon.svg" imgAlt="Cody for Web" title="Cody for Web" description="Use Cody in the Sourcegraph Web App." />

docs/cody/clients/feature-reference.mdx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44

55
## Chat
66

7-
| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** | **Eclipse** | **Web** | **CLI** |
8-
| ---------------------------------------- | ----------- | ------------- | ----------------- | ----------- | -------------------- | ------- |
9-
| Chat ||||| ||
10-
| Chat history ||||| ||
11-
| Clear chat history ||||| ||
12-
| Edit sent messages ||||| ||
13-
| SmartApply/Execute ||||| ||
14-
| Show context files ||||| ||
15-
| @-file ||||| ||
16-
| @-symbol ||||| ||
17-
| LLM Selection ||||| ||
18-
| **Context Selection** | | | | | | |
19-
| Single-repo context ||||| ||
20-
| Multi-repo context |||| | ✅ (public code only) ||
21-
| Local context |||| | ||
22-
| OpenCtx context providers (experimental) ||||| ||
23-
| **Prompts** | | | | | | |
24-
| Access to prompts and Prompt library ||||| ||
25-
| Promoted Prompts |||| | ||
7+
| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** | **Web** | **CLI** |
8+
| ---------------------------------------- | ----------- | ------------- | ----------------- | -------------------- | ------- |
9+
| Chat ||||||
10+
| Chat history ||||||
11+
| Clear chat history ||||||
12+
| Edit sent messages ||||||
13+
| SmartApply/Execute ||||||
14+
| Show context files ||||||
15+
| @-file ||||||
16+
| @-symbol ||||||
17+
| LLM Selection ||||||
18+
| **Context Selection** | | | | | |
19+
| Single-repo context ||||||
20+
| Multi-repo context |||| ✅ (public code only) ||
21+
| Local context ||||||
22+
| OpenCtx context providers (experimental) ||||||
23+
| **Prompts** | | | | | |
24+
| Access to prompts and Prompt library ||||||
25+
| Promoted Prompts ||||||
2626

2727
## Code Autocomplete
2828

0 commit comments

Comments
 (0)