Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Context Detection from Open Files for Assistant #341

Open
runjinz opened this issue Apr 16, 2024 · 0 comments
Open

Automatic Context Detection from Open Files for Assistant #341

runjinz opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
enhancement P1 Important but not that urgent

Comments

@runjinz
Copy link

runjinz commented Apr 16, 2024

Feature Description

I propose a feature where the assistant automatically detects and uses the context from files currently being edited. This would greatly reduce the manual effort required by users to provide context for questions or commands they are asking the assistant. The assistant should at least be sensitive to the opened files, considering them as part of the question-and-answer context.

Benefits

  • Reduced Manual Effort: By automatically detecting context from open files, users would not need to manually input context, lowering the barrier to efficient use.

  • Improved Accuracy: The assistant's responses could become more accurate and relevant when it has automatic access to the context in which the question or command is made.

  • Flexibility: In cases where users want to provide additional context manually, this should override the automatically detected context, allowing for greater flexibility and precision in responses.

Implementation Considerations

  • The feature should intelligently discern which open file(s) are most relevant to the current query.

  • Privacy and security measures must be in place to ensure that sensitive information is not inadvertently processed or stored without user consent.

Conclusion

This feature could significantly enhance the usability and effectiveness of the assistant, making it more intuitive and responsive to the users' current working context. It aligns with the goal of reducing manual workload and improving overall user experience.

img_v3_029t_f98e53f4-001b-4d73-a2c8-e2171a16e7eg

@runjinz runjinz added P1 Important but not that urgent enhancement labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement P1 Important but not that urgent
Projects
None yet
Development

No branches or pull requests

2 participants