Azure / azure-openai-samples

Azure OpenAI Samples is a collection of code samples illustrating how to use Azure Open AI in creating AI solution for various use cases across industries. This repository is mained by a community of volunters. We welcomed your contributions.
MIT License
543 stars 387 forks source link

Train OpenAi on specific public Code Repos in GitHub? #19

Open Gareth064 opened 1 year ago

Gareth064 commented 1 year ago

I was wondering if it was possible to use Azure OpenAI services, and train it on a specific GitHub repo (public and free to use etc) so when you prompt it, it uses the information it knows about that code base to answer you and give you code snippets.

For example, if I was to train it on the source code of a UI Library, then I could ask it to build a Page, using what it knows about that UI library etc. And it would be perfectly accurate because it knows exactly how the UI Library code works etc.