Skip to content

Commit ccbe869

Browse files
committed
Add details
1 parent a7b7a28 commit ccbe869

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/cody/capabilities/chat.mdx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Chat
22

3-
<p className="subtitle">Use Cody's chat to get contextually-aware answers to your questions.</p>
3+
<p className="subtitle">Chat directly with AI to ask questions about your code, generate code, and edit code.</p>
44

5-
Cody **chat** allows you to ask coding-related questions about any part of your codebase or specific code snippets. You can do it from the **Chat** panel of the supported editor extensions (VS Code, JetBrains) or in the web app.
5+
You can **chat** with Cody to ask questions about any part of your codebase or specific code snippets. You can do it from the chat panel of the supported editor extensions (VS Code, JetBrains) or from the web app.
66

7-
Key functionalities in the VS Code extension include support for multiple simultaneous chats, enhanced chat context configurability through @-mentions, detailed visibility into the code that Cody read before providing a response, and more.
7+
Cody has context of your open file and repository by default, and you can use '@' to add context on specific files, symbols, remote repositories, or other non-code artifacts.
88

99
You can learn more about the IDE support for these functionalities in the [feature parity reference](/cody/clients/feature-reference#chat).
1010

@@ -17,24 +17,30 @@ To use Cody's chat, you'll need to have the following:
1717

1818
## How does chat work?
1919

20-
Cody answers questions by searching your codebase and retrieving context relevant to your questions. Cody uses several methods to search for context, including keyword search and embeddings search. Finding and using context allows Cody to make informed responses based on your code rather than being limited to general knowledge. When Cody retrieves context to answer a question, it will tell you which code files it read to generate its response.
20+
Cody answers questions by searching your codebase and retrieving context relevant to your questions. Cody uses several methods to search for context like Sourcegraph's native search API and keyword search. Finding and using context allows Cody to make informed responses based on your code rather than being limited to general code knowledge. When Cody retrieves context to answer a question, it will tell you which code files it read to generate its response.
2121

2222
Cody can assist you with various use cases such as:
2323

2424
- Generating an API call: Cody can analyze your API schema to provide context for the code it generates
2525
- Locating a specific component in your codebase: Cody can identify and describe the files where a particular component is defined
2626
- Handling questions that involve multiple files, like understanding data population in a React app: Cody can locate React component definitions, helping you understand how data is passed and where it originates
2727

28+
Let's learn how Cody chat works with the IDE extensions (VS Code, JetBrains) and the web app.
29+
30+
<Tabs>
31+
<Tab title="VS Code">
32+
This is tab for VS Code
33+
</Tab>
34+
</Tabs>
35+
2836
## Ask Cody your first question
2937

30-
Let's use Cody VS Code extension's chat interface to answer your first question.
38+
Let's use Cody chat interface to answer your first question.
3139

3240
- Click the Cody icon in the sidebar to view the detailed panel
3341
- Next, click the icon for **New Chat** to open a new chat window
3442
- Write your question or instruction to Cody and then press **Enter**.
3543

36-
For example, ask Cody "What does this file do?"
37-
3844
Cody will take a few seconds to process your question, providing contextual information about the files it reads and generating the answer.
3945

4046
<video width="1920" height="1080" loop playsInline controls style={{ width: '100%', height: 'auto', aspectRatio: '1920 / 1080' }}>

0 commit comments

Comments
 (0)