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

Provide LLM With Language Server Types #127

Open
mathewpareles opened this issue Oct 28, 2024 · 0 comments
Open

Provide LLM With Language Server Types #127

mathewpareles opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
medium priority Medium priority issue roadmap-planned We will implement this

Comments

@mathewpareles
Copy link
Contributor

mathewpareles commented Oct 28, 2024

When we send messages to an LLM, we want to provide context about relevant types the user can access (including variable and function types). For example, if the user imports the React package, we should give the LLM context about the various attributes in the React object, like React.useContext, React.useState, etc.
image

We're open to any solutions that inject useful type information into LLM prompts. This will involve accessing vscode's internal language server, and modifying the sendLLMMessage function to include types in the context.

@andrewpareles andrewpareles added the roadmap-under consideration New feature or request label Nov 2, 2024
@mathewpareles mathewpareles self-assigned this Nov 4, 2024
@mathewpareles mathewpareles added roadmap-planned We will implement this medium priority Medium priority issue and removed backlog roadmap-under consideration New feature or request labels Jan 10, 2025
@mathewpareles mathewpareles moved this to 🔮 Planned in 🚙 Void Roadmap Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium priority Medium priority issue roadmap-planned We will implement this
Projects
Status: 🔮 Planned
Development

No branches or pull requests

2 participants