Open haggbart opened 1 year ago
Hi
Context-aware chat experience is the new feature on which I am currently working. Currently, the initial plan is to allow users to index their entire codebase (or single files only), which will be considered when asking questions.
As far as I see it, context-awareness regarding the codebase does not entirely cover the use case.
There might be company-wide or project-wide policies or language preferences that need to be applied for prompts. Or perhaps we have custom prompts per project (e.g. "Create code documentation" which also needs to be in the language of preference within the company).
So I think project-wide settings that can be checked into a git-repository make a lot of sense. It can be seen as a supplementary feature to the context-awareness for files in the project.
To make the prompts more contextually aware and relevant, it would be beneficial to enable project-level settings that inject vital information about the project into the GPT model.
For instance, these settings might include information such as the project utilizing Vue.js and Vite. In fact, we could take it a step further by enabling the plugin to parse and understand the project's package.json file. This would provide the GPT model with a more comprehensive understanding of the project's dependencies and scripts.
These project-specific settings would ideally be saved at the project level and automatically loaded whenever the project is reopened.