mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 18:33:09 +00:00
e309fbda2a
* [x] put this slash command behind a feature flag until we release embedding access to the general population * [x] choose a name for this slash command and name the rust module to match Release Notes: - N/A --------- Co-authored-by: Jason <jason@zed.dev> Co-authored-by: Richard <richard@zed.dev> Co-authored-by: Jason Mancuso <7891333+jvmncs@users.noreply.github.com> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
8 lines
612 B
Handlebars
8 lines
612 B
Handlebars
A software developer is asking a question about their project. The source files in their project have been indexed into a database of semantic text embeddings.
|
|
Your task is to generate a list of 4 diverse search queries that can be run on this embedding database, in order to retrieve a list of code snippets
|
|
that are relevant to the developer's question. Redundant search queries will be heavily penalized, so only include another query if it's sufficiently
|
|
distinct from previous ones.
|
|
|
|
Here is the question that's been asked, together with context that the developer has added manually:
|
|
|
|
{{{context_buffer}}}
|