Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 5 additions & 27 deletions docs/cody/capabilities/chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,29 +123,6 @@ To use Cody's chat, you'll need the following:

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

## Intent detection

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.

### How it works

When a user submits a query in the chat panel, the intent detection component:

- Analyzes the query content and structure
- Determines the most appropriate response type (search or chat)
- Returns results in the optimal format
- Provides the ability to toggle between response types manually

Let's look at an example of how this might work:

#### Search-based response

![Intent detection code search response](https://storage.googleapis.com/sourcegraph-assets/Docs/intent-detection-code-search-response-01242025.jpg)

#### Chat-based response

![Intent detection chat response](https://storage.googleapis.com/sourcegraph-assets/Docs/intent-detection-chat-response-01242025.jpg)

## Smart search integration

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.
Expand Down Expand Up @@ -181,15 +158,16 @@ Search results generated through smart search integration can be automatically u
The following is a general walkthrough of the chat experience:

1. The user enters a query in the chat interface
2. The system analyzes the query through intent detection
3. If it's a search query:
2. By default a user gets a chat response for the query
3. To get integrated search results, toggle to **Run as search** from the drop-down selector or alternatively use `Cmd+Opt+Enter` (macOS)
4. For search:
- Displays ranked results with code snippets
- Shows personalized repository ordering
- Provides checkboxes to select context for follow-ups
4. If it's a chat query:
5. For chat:
- Delivers AI-powered responses
- Can incorporate previous search results as context
5. Users can:
6. Users can:
- Switch between search and chat modes
- Click on results to open files in their editor
- Ask follow-up questions using selected context
Expand Down
14 changes: 7 additions & 7 deletions docs/pricing/enterprise-starter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<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>

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.
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.

## Team seats

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

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

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

## Limits

Expand Down
2 changes: 1 addition & 1 deletion docs/pricing/free.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The Enterprise Starter plan provides extended usage limits and advanced features
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Description** | - AI editor assistant for hobbyists or light usage | - AI and search for growing organizations hosted on our cloud |
| **Price** | - $0/month <br /> - 1 user | - $19/user/month <br /> - Up to 50 devs |
| **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 /> - Intent detection and integrated search results |
| **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 |
| **Code Search features** | N/A | - Code Search <br /> - Symbol Search |
| **Deployment types** | - Multi-tenant Coud | - Multi-tenant Cloud <br /> - Private Workspace <br /> - Privately indexed code (100 repos) |
| **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 |
Expand Down