Combining chat and search in a single input with Sourcegraph 6.0
Sourcegraph combines the world's best LLMs with the most precise and universal index of code, technical knowledge, and integrations into the long tail of enterprise editors, code hosts, context sources, and dev tools. With the release of Sourcegraph 6.0, we are introducing a new:
- unified UI for searching, understanding, and creating code
- underlying engine that combines LLMs with the most complete knowledge graph of code
Sourcegraph 6.0 has a new chat experience that supports search capabilities in addition to LLM-powered responses, enabling multiple workflows from a single entry point. Now, whether you are using chat inside VS Code, JetBrains IDEs, or on the web, you’ll be able to get answers to your questions, context-aware code generated, and perform keyword searches to find exactly the file you are looking for from a single location
In this new chat experience, based on the query you provide, intent detection will determine the right output to display, be it search results or an LLM-generated response. If you disagree, you can switch between the two with the click of a button. Additionally, you can opt to request a code search or LLM response when you write the initial query. If you get a code search response, you can also use those results as context for your follow-up queries.
Adding intent detection and search results capabilities to chat is just the beginning of building an omnibox experience that accompanies you throughout the software development lifecycle. In the coming weeks and months, we will start integrating advanced code-grokking agents, more powerful search capabilities, and other features to ensure that chat becomes your one-stop shop for any needs.
Sourcegraph Enterprise customers who upgrade to Sourcegraph 6.0 will have access to the new intent detection and search capabilities. Enterprise Starter customers will also have access immediately. If you are a current Cody Free or Cody Pro user, you will not have intent detection or see search results as your codebase is not indexed on Sourcegraph, but you will continue to benefit from enhancements to the chat interface.Learn more about this new capability in the docs and connect with us on Discord to provide feedback.