Commit Graph
63 Commits
Author SHA1 Message Date
KCaverly 77ba43fdf7 moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant 2023-11-02 10:08:47 -04:00
KCaverly 04b7f427e8 authenticate with completion provider on new inline assists 2023-11-02 09:34:18 -04:00
Kyle Caverly eb26a3eb3d added parsing support for <|S| |E|> spans (#3184)
added parsing support for <|S| and |E|> spans for inline generation
2023-11-01 10:26:01 -04:00
KCaverly d861749e52 added parsing support for <|S| |E|> spans 2023-10-30 13:32:47 -04:00
KCaverly 760a96677d Merge branch 'main' of github.com:zed-industries/zed into model_cleanup 2023-10-30 11:07:29 -04:00
KCaverly 540806057a clean up warnings and fix tests in the ai crate 2023-10-30 11:07:24 -04:00
KCaverly 0a4b9cc4c3 moved authentication for the semantic index into the EmbeddingProvider 2023-10-30 10:02:27 -04:00
KCaverly f8890718e0 replace api_key with ProviderCredential throughout the AssistantPanel 2023-10-28 18:16:45 -04:00
KCaverly 7711979af8 added credential provider to completion provider 2023-10-28 16:35:43 -04:00
KCaverly 3e6c21e568 moved TestCompletionProvider into ai 2023-10-27 12:26:01 +02:00
KCaverly d7c77dda20 add concept of LanguageModel to CompletionProvider 2023-10-27 08:51:30 +02:00
KCaverly 4eb4f0b878 updated authentication for embedding provider 2023-10-26 11:18:16 +02:00
Piotr Osiewicz d1c8772592 Extract multi_buffer module out of editor (#3170)
Release Notes:

- N/A
2023-10-25 19:31:47 +02:00
KCaverly ca16c6d7d1 replace OpenAIRequest with more generalized Box<dyn CompletionRequest> 2023-10-22 14:33:19 +02:00
KCaverly c90c5279f9 move OpenAICompletionProvider to providers location 2023-10-22 13:57:13 +02:00
KCaverly 49009911fe move OpenAILanguageModel to providers folder 2023-10-22 13:47:28 +02:00
KCaverly 6d25d70456 rename templates to prompts in ai crate 2023-10-22 13:46:49 +02:00
KCaverly 3b022137e4 decrease temperature for inline assist on code content 2023-10-19 15:44:49 -04:00
KCaverly 7dc5c92f6d outlined when truncation is taking place in the prompt 2023-10-19 14:33:52 -04:00
KCaverly aa2df626a7 progress on smarter truncation strategy for file context 2023-10-18 17:56:59 -04:00
KCaverly b6e471b9df update PromptPriority to accomodate for both Mandatory and Ordered prompts 2023-10-18 15:56:39 -04:00
KCaverly fb774eba24 update the assistant panel to use new prompt templates 2023-10-18 14:20:12 -04:00
KCaverly aad3f7f9e8 Merge branch 'main' of github.com:zed-industries/zed into prompt_template 2023-10-18 10:42:16 -04:00
KCaverly d268fb71f5 revert change to return only the text and inside return all text inside markdown blocks 2023-10-18 10:35:11 -04:00
KCaverly 778cda21bc added prompt template for repository context 2023-10-17 17:29:07 -04:00
Nate ButlerandKyle Caverly 281d4266c3 Update indexing icon
Co-Authored-By: Kyle Caverly <22121886+KCaverly@users.noreply.github.com>
2023-10-16 15:53:29 -04:00
KCaverly d82855948f clean up warnings 2023-10-16 10:02:11 -04:00
KCaverly 0b914ab1db remove print from prompts 2023-10-16 09:55:45 -04:00
KCaverly 5cba986cee catchup with main 2023-10-16 09:47:07 -04:00
Antonio Scandurra f9d695fa98 Don't include start of a line when selection ends at start of line 2023-10-10 19:11:13 +02:00
Antonio ScandurraandNathan Sobo bce1a18cac Revert summarizing file content until we can be more intelligent about what we send
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-10-10 17:51:17 +02:00
KCaverly 34d148dd2d clean up redundancies in prompts and ensure tokens are being reserved for generation when filling semantic context 2023-10-06 16:43:19 +02:00
KCaverly e30c75f1a9 catchup with main 2023-10-06 16:30:31 +02:00
KCaverly c18f0b9e26 ensure indexing is only done when permissioned 2023-10-06 16:08:36 +02:00
KCaverly 6faa4b675b add indexing on inline assistant opening 2023-10-06 08:46:40 +03:00
KCaverly 76cb056b90 fix spawn bug from calling 2023-10-06 08:30:54 +03:00
KCaverly 133450eeb9 moved status to icon with additional information in tooltip 2023-10-05 16:49:25 +03:00
KCaverly 4506756333 added initial working status in inline assistant prompt 2023-10-05 13:01:11 +03:00
Max Brunsfeld 6f6460a858 Merge branch 'main' into channel-changes 2023-10-03 17:52:28 -07:00
Max BrunsfeldandMikayla a6eaeed919 Specify uuid crate in the root Cargo.toml
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-03 17:39:24 -07:00
KCaverly 91f867f653 add initial (non updating status) toast 2023-10-03 16:53:57 +03:00
KCaverly 205cf24268 add user prompt for permission to index the project, for context retrieval 2023-10-03 16:26:08 +03:00
KCaverly c0c0763f5d start greedily indexing when inline assistant is started, if project has been previously indexed 2023-10-03 14:07:42 +03:00
KCaverly 63f923a4a4 only render retrieve context button if semantic index is enabled 2023-10-03 12:09:35 +03:00
KCaverly c77509e25b catching up with main 2023-10-03 12:05:00 +03:00
KCaverly e5e1c9e2c7 add retrieve context button to inline assistant 2023-10-03 11:19:54 +03:00
KCaverly 7219206f35 add placeholder button for retrieving additional context 2023-10-02 19:50:57 +03:00
KCaverly 2ff420c7f6 searching the semantic index, and passing returned snippets to prompt generation 2023-10-02 19:15:59 +03:00
Antonio Scandurra 70fca360bb Sort matches before processing them 2023-10-02 17:50:52 +02:00
Antonio Scandurra 0029a1e25f Summarize file in the background 2023-10-02 15:36:10 +02:00