Using code context in AI chat
Once a repository is connected and indexed, the AI assistant draws on your project's code as context — so it can answer questions about the implementation, too.
Prerequisites
- A connected repository whose indexing has finished.
- The AI assistant is enabled for your organisation.
- AI features are enabled for your organisation.
Using it in chat
- Open the Chat in your project.
- Ask a question about the code, e.g. "Where is the invoice number generated?".
- The answer points to the code it drew on, so you can look it up in the repository.
Current after every change
The index updates on every push when a webhook is set up — otherwise you trigger a re-index manually. Only indexed states are available in the chat.
Learn more
For chat basics, see Personal assistant.