Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmalarme/ask-the-code
Ask The Code is demo project to use Azure OpenAI to talk with your source code.
https://github.com/pmalarme/ask-the-code
azure-openai openai openai-example
Last synced: 15 days ago
JSON representation
Ask The Code is demo project to use Azure OpenAI to talk with your source code.
- Host: GitHub
- URL: https://github.com/pmalarme/ask-the-code
- Owner: pmalarme
- License: mit
- Created: 2023-05-31T06:39:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-17T12:40:05.000Z (8 months ago)
- Last Synced: 2024-05-18T11:27:43.959Z (8 months ago)
- Topics: azure-openai, openai, openai-example
- Language: Jupyter Notebook
- Homepage:
- Size: 364 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/ruoccofabrizio/azure-open-ai-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](./media/overview.png)
> **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](processing/README.md) folder.
Then you can start the [backend](backend/README.md) and the [frontend](frontend/README.md).