Commit Graph
251 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 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 8027a49ab4 ensure OpenAIEmbeddingProvider is using the provider credentials 2023-10-27 08:33:35 +02:00
KCaverly f7475156b0 fixed truncation error in fake language model 2023-10-26 14:05:55 +02:00
KCaverly 4eb4f0b878 updated authentication for embedding provider 2023-10-26 11:18:16 +02:00
KCaverly 01910447eb catchup with main 2023-10-25 16:31:00 +02:00
KCaverly d107b46565 move keychain access into semantic index as opposed to on init 2023-10-24 13:26:37 +02:00
KCaverly d8c15a79ec catchup with main 2023-10-23 17:21:37 +02:00
KCaverly ccb1022bd9 move embedding truncation to base model 2023-10-23 14:07:45 +02:00
KCaverly 356ae09456 add base model to EmbeddingProvider, not yet leveraged for truncation 2023-10-22 15:00:09 +02:00
KCaverly 9a5d426c8d move OpenAIEmbeddings to OpenAIEmbeddingProvider in providers folder 2023-10-22 14:46:22 +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 f15fb983ea cleaned up truncate vs truncate start 2023-10-22 13:34:22 +02:00
KCaverly 4ab8f0d978 update semantic search to use keychain as fallback 2023-10-21 10:19:50 -04: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 302dfb35fb added smarter error handling for file_context prompts without provided buffers 2023-10-18 16:40:09 -04:00
KCaverly 8c124dc0cc added dumb truncation strategies to file_context and generate 2023-10-18 16:32:14 -04:00
KCaverly 59d5ae33aa fix for error when truncating a length less than the string length 2023-10-18 16:31:29 -04:00
KCaverly 769125d07d added initial placeholder for truncation without a valid strategy 2023-10-18 16:23:53 -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 55e04578b7 fix template ordering during prompt chain generation 2023-10-18 13:10:31 -04:00
KCaverly 0c836c3326 add prompt template for generate inline content 2023-10-18 13:03:11 -04:00
KCaverly db5bd62891 added prompt template for file context without truncation 2023-10-18 12:29:10 -04:00
KCaverly 778cda21bc added prompt template for repository context 2023-10-17 17:29:07 -04:00
KCaverly 7e383a66b9 added openai language model tokenizer and LanguageModel trait 2023-10-17 16:21:03 -04:00
KCaverly 88254283cc implement initial concept of prompt chain 2023-10-17 11:58:45 -04:00
KCaverly f87d15ea57 progress on prompt chains 2023-10-16 18:47:10 -04:00
KCaverly 241c5a497c added initial template outline 2023-10-16 11:54:32 -04:00
KCaverly e30c75f1a9 catchup with main 2023-10-06 16:30:31 +02: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
MikaylaandMax 8052372c7c Upgrade SeaORM to latest version, also upgrade sqlite bindings, rustqlite, and remove SeaQuery
co-authored-by: Max <max@zed.dev>
2023-10-03 12:16:53 -07:00
KCaverly 338899567b move embedding provider to ai crate 2023-09-22 09:33:59 -04:00
KCaverly 4e6cfd3982 introduce ai crate with completion providers 2023-09-21 22:44:56 -04:00
KCaverly cbbf18051c rename ai crate to assistant crate 2023-09-21 21:54:59 -04:00
Joseph T. Lyons 7094a5cc48 Add assistant events (#2978)
Add assistant events

Release Notes:

- N/A
2023-09-15 15:25:35 -04:00
Nate Butler 0dc4475f7f Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
Antonio Scandurra 9c8feb82a6 Don't dismiss inline assistant when an error occurs 2023-09-15 12:32:37 +02:00
Kirill Bulatov c8ede63d7c Unify highlights in *Map 2023-09-14 22:08:12 +03:00