Semantic Kernel Embeddings and Memories: Explore GitHub Repos with Chat UI

Evan Chaki

Have you ever wanted to Ask questions to a GitHub repo? How many files are there, what languages are used, who contributed to it, what topics are covered, and so on? If you are a developer, researcher, or curious learner, you probably have. And you probably know that finding these answers can be tedious and time-consuming. You must clone the repo, browse through the folders and files, open and read the code or documentation, run some commands or scripts, and hope that everything works as expected.

But what if there was a better way? A way that lets you explore any GitHub repo with just a few natural language questions? A way that uses the power of embeddings and memories to create a rich representation of the repo’s content and structure.

That’s exactly what we have created with our new sample app: GitHub Repo Q&A Bot. This sample shows how you can use a SK function to download any GitHub repo, store it in memories (collections of embeddings), and query it with a chat UI. You don’t need to clone the repo or install any dependencies. You just need to provide the URL of the repo and let the sample app do the rest.

Image Embedding SK Picture











Use this sample as a guide for storing and querying items like:

  • Large internal procedure manuals
  • Educational materials for students
  • Corporate contracts
  • Product documentation


Check out the video for this sample:


Next steps:

Explore the sample in GitHub:

Read the documentation about the sample:

Join the community and let us know what you think:


Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon