You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deep-search/index.mdx
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,19 +27,19 @@ The answer is formatted in Markdown and can include links to relevant files, dir
27
27
28
28
## Best practices
29
29
30
-
-Give the agent a starting point for the search: use @-mentions to mention relevant repositories, files, directories, or symbol names. The more specific you are, the faster the search will be.
31
-
-Provide reasonably scoped questions. The agent will perform much better if it does not have to read the entire codebase at once.
32
-
-Check the list of sources. This is extremely useful for debugging and understanding where the answer came from. Ask a follow-up question and mention the missing source if something is missing.
30
+
- Give the agent a starting point for the search: use @-mentions to mention relevant repositories, files, directories, or symbol names. The more specific you are, the faster the search will be.
31
+
- Provide reasonably scoped questions. The agent will perform much better if it does not have to read the entire codebase at once.
32
+
- Check the list of sources. This is extremely useful for debugging and understanding where the answer came from. Ask a follow-up question and mention the missing source if something is missing.
33
33
34
34
For use cases where you're looking for exhaustive answers (for example, "Find all files with the `.XYZ` file extension in `foo' repo that contain the word`bar`), Code Search still excels, while Deep Search will only utilize a sample of the results. Deep Search will perform a Code Search query as a source, which you can use to continue an exhaustive search within the Code Search product.
35
35
36
36
### Examples of prompts
37
37
38
-
-Find examples of logger usage and show examples of the different types of logging we use.
39
-
-I want to know when the indexing queue functionality was last changed in `@zoekt`. Show me the last few commit diffs touching this code and explain the changes.
40
-
-Look at the GraphQL APIs available in `@sourcegraph/sourcegraph`. Are any of them unused? The client code is in the `@cody` repository.
41
-
-Which tools do we use in our build processes defined in `BUILD.bazel` files?
42
-
-Generate a request flow diagram for `src/backend`. Mark the auth and rate limit points.
38
+
- Find examples of logger usage and show examples of the different types of logging we use.
39
+
- I want to know when the indexing queue functionality was last changed in `@zoekt`. Show me the last few commit diffs touching this code and explain the changes.
40
+
- Look at the GraphQL APIs available in `@sourcegraph/sourcegraph`. Are any of them unused? The client code is in the `@cody` repository.
41
+
- Which tools do we use in our build processes defined in `BUILD.bazel` files?
42
+
- Generate a request flow diagram for `src/backend`. Mark the auth and rate limit points.
43
43
44
44
## Conversation sharing
45
45
@@ -79,10 +79,6 @@ Conversation sharing is disabled by default. To enable conversation sharing, ask
79
79
80
80
Deep Search is only available to customers using the [Sourcegraph Model Provider](/model-provider). Customers who configure and access their own models via BYOK cannot use the Deep Search feature.
81
81
82
-
## API access
83
-
84
-
For programmatic access to Deep Search functionality, see the [Deep Search API documentation](/deep-search/api).
85
-
86
82
## Monitoring consumption
87
83
88
84
Customers can request access to [Enterprise Portal](/admin/enterprise-portal#deep-search-usage-monitoring) to monitor Deep Search usage and quota limits..
0 commit comments