Advanced
Chat with GitHub Issues
Ask questions about open GitHub issues
Adding GitHub issues to your chat experience enables you to get a high-level understanding of the work that needs to be done. An indirect benefit is that, when asking code-related questions, the LLM has more context on bugs and features that don’t exist yet (and is less likely to hallucinate them).
Requirements
Set up a vector store
In order to chat with GitHub issues, you will need to use advanced retrieval, which requires a vector store to be set up.
- To index your codebase locally, set up Marqo.
- Alternatively, for a managed vector store, set up Pinecone.
Private GitHub token
In order to call GitHub’s API, we need a personal access token. Once you’ve created the token, export it to an environment variable:
Index issues
To index GitHub issues without comments:
To index GitHub issues with comments:
To index GitHub issues, but not the codebase: