Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2.08 KB

File metadata and controls

45 lines (34 loc) · 2.08 KB

GitHub Repo Q&A Bot Sample

!IMPORTANT This learning sample is for educational purposes only and should not be used in any production use case. It is intended to highlight concepts of Semantic Kernel and not any architectural / security design practices to be used.

Running the sample

  1. You will need an Open AI Key or Azure Open AI Service key for this sample.
  2. Ensure the service API is already running http://localhost:7071. If not, learn how to start it here.
  3. Run the following command yarn install (if you have never run the sample before) and/or yarn start from the command line.
  4. A browser will open or you can navigate to http://localhost:3000 to use the sample.

About the GitHub Repo Q&A Bot Sample

The GitHub Repo Q&A Bot sample allows you to pull in data from a public GitHub repo into a local memory store in order to ask questions about the project and to get answers about it. The sample highlights how memory and embeddings work along with the SemanticTextPartitioner when the size of the data is larger than the allowed token limited. Each SK function will call Open AI to perform the tasks you ask about.

In order to reduce costs and improve overall performance, this sample app indexes only content extracted from markdown files.

Caution

Each function will call Open AI which will use tokens that you will be billed for.

Next Steps

Create Skills and SK functions: Check out the documentation for how to create Skills.

Join the community: Join our Discord community to share ideas and get help​.

Contribute: We need your help to make this the best it can be. Learn how you can contribute to this project.​