Skip to content

Ask The Code is demo project to use Azure OpenAI to talk with your source code.

License

Notifications You must be signed in to change notification settings

pmalarme/ask-the-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask The Code

Ask the code is a demo project to use Azure OpenAI to talk with your source code.

This project is inspired by Azure OpenAI Embeddings QnA. It creates embeddings vectors from the source code files. Then it uses the Azure OpenAI GPT model to answer questions about the source code.

It is designed to work with Java projects. It uses the GPT model to add context to java code and to document it. The system commands can be updated to support other languages. Then the enriched code is transformed in embeddings vectors and store in a vector store.

The overall flow of the demo is represented on the figure below.

Ask The Code - Flow

NOTE: This project is a demo only. It is not production ready.

Run the demo

First the code needs to be enriched and indexed. To do so, you can follow the instructions in the processing folder.

Then you can start the backend and the frontend.