Copilot RAG for Business DocsLoad external content to feed GitHub Copilot with relevant context from external agents or flows. This extension expands GitHub Copilot's capabilities to work with private business documents in the RAG (Retrieval-Augmented Generation) model. Simply type Commands
Extension Settings
About the ProjectImplementing a RAG architecture in VS Code, language models (LLMs), while impressively advanced, are language processing models and therefore need to be fed with up-to-date textual contexts to provide relevant suggestions. For example, in early 2024, GPT-4 might not correctly write a route handler for Next.js's App Router and might use outdated syntax, as shown below: Incorrect LLM Response The solution: provide the model with the appropriate context. This idea is often incorporated into the "RAG" architecture. RAG DefinitionAccording to IBM's definition:
The Copilot RAG for Business Docs extension aims to implement a basic RAG architecture. RoadmapLoading a web page is often not enough to create a suitable prompt. This initial version does not analyze text, so do not expect significant improvements in GitHub Copilot suggestions after loading a web page. Potential improvements on our roadmap:
AlternativesThe Copilot RAG aims to mimic Cursor's context-loading features, such as Cline is another powerful alternative with contextualization features. Despite the existing competition, this extension is targeted at GitHub Copilot as it is provided free of charge to open-source developers. To keep the experience as simple as possible, the Copilot RAG for Business Docs does not require any API key and uses basic retrieval patterns that do not rely on a model. Note: we do not use embeddings and vector search. ContributeWe use a standard VS Code extension development workflow. The debugger allows you to test the extension live. Copilot RAG is developed by Tadeu Luis Pires Gaudio, a Brazilian developer. This extension is not affiliated with GitHub Copilot or Microsoft Copilot. Release Notes0.0.1
0.0.2
|