Skip to content

Commit fbead65

Browse files
committed
Add smart search integration and context-aware responses
- Expand the description of the smart search integration feature to highlight its capabilities, including personalized search results, code snippet previews, and integration with the full Code Search product - Add details on the context-aware responses feature, including search result selection, context chips, and background searches for additional context from files, symbols, remote repos, and web pages
1 parent d5f901d commit fbead65

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/cody/chat/features.mdx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,29 @@ When a user submits a query in Chat, intent detection:
2727

2828
## Smart search integration
2929

30-
Provides lightweight code search capabilities directly within the chat interface.
30+
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. The integration delivers personalized search results ranked by your contribution history, with frequently accessed repositories appearing higher in results. Users can view code snippets with relevant context and open files directly in their editor.
31+
32+
Search results automatically become available as context for follow-up queries, with flexible controls for selecting which results to include. While optimized for keyword-style queries and searching across a few repositories, this integration complements rather than replaces the full [Code Search](/code-search) product, which remains the recommended tool for comprehensive enterprise-wide code search.
3133

3234
## Context-aware responses
3335

3436
Search results can be automatically used as context for follow-up queries.
3537

38+
### Search responses
39+
40+
* Search results can be used directly as context for follow-up queries
41+
* Users can select which search results to include as context using checkboxes
42+
* By default, all search results are added as context
43+
* A context chip shows the number of search results being used (e.g., "10 code search results")
44+
* Users can remove the context chip if they don't want to use it for follow-ups
45+
46+
### Chat responses
47+
48+
* Performs background searches for context
49+
* Retrieves full context from files, symbols, remote repos, web pages
50+
* Can execute terminal commands (with permission) for additional context
51+
* Creates personal notes usable across chat sessions
52+
* Pulls in [OpenCtx](/cody/capabilities/openctx) providers for additional context
3653

3754
## Default context
3855

0 commit comments

Comments
 (0)