Company Codebase (RAG)
Last updated
Was this helpful?
Last updated
Was this helpful?
Company Codebase is a feature in Qodo Gen that gives developers the ability to ask complex, code-aware questions about their organization’s codebase, and get accurate, contextual answers.
By integrating your company's source code with Qodo Gen, developers can get help with complicated issues, such as:
“How do I use our auth service to set up authentication for my new app?”
“Where do we already use a function like this?”
“What are our internal best practices for logging?”
This reduces time spent searching through repositories or pinging teammates, and allows teams to work faster and more consistently.
Company Codebase uses Retrieval-Augmented Generation (RAG) to improve the quality and relevance of Qodo Gen responses.
Indexing: Repositories are indexed from supported Git providers.
Retrieval: When a question is asked in Qodo Gen Chat, relevant parts of the codebase are retrieved based on the query.
Generation: The model uses the retrieved context to generate a precise, code-aware response.
Qodo Gen uses RAG to understand your company's codebase better, gain deeper context about your projects and answer more complicated or specific questions.
GitHub
Bitbucket Data Center Note: Bitbucket Cloud (Server) is currently not supported.
To start using Company Codebase:
Open Qodo Gen Chat: From your extensions bar, choose the Qodo logo to open Qodo Gen Chat.
Choose Extra Context: Click on the Extra Context
button located under the chatbox.
Select Company Codebase: From the dropdown menu, select Company Codebase
.
Adding repositories: Admins can learn more on how to add repositories to Company Codebase in our manual.
Using Company Codebase in Qodo Gen Chat, you can get answers to deeper, more complicated questions.
For Example, you can try asking:
"Where in our codebase do we have a function with similar functionality to this one?"
"How do I use our auth service to set up authentication for my new app?"
"What are the best practices for using our logging library?"
"How do I integrate our new API into this project?"
Template Generation: Use RAG to generate templates for common tasks, such as creating a Kotlin class with logging. This can help standardize code across your project.
Avoiding Code Duplication: Use RAG to check for code duplication by selecting the context of the current file and asking relevant questions.
Tag the needed Company Codebase directly from the chat: You can directly from the chat by typing @
followed by the needed Codebase.