├── .devcontainer └── devcontainer.json ├── .gitignore ├── CODE_OF_CONDUCT.md ├── InterestingLinks.md ├── LICENSE ├── Modules └── Intro to ChatGPT │ └── BasicChatGPT.md ├── ProvisionAzureOpenAI.md ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── SemanticKernel ├── Samples │ ├── Samples.sln │ └── SpeechToTextWithSemanticKernel │ │ ├── AudioSelector.cs │ │ ├── Plugins │ │ └── CelebratePlugin.cs │ │ ├── Program.cs │ │ ├── SpeechToTextWithSemanticKernel.csproj │ │ ├── Transcriber.cs │ │ ├── TranscriberSettings.cs │ │ ├── appsettings.json │ │ └── readme.md ├── Tutorial00 │ └── InitialSetup.ipynb ├── Tutorial01 │ └── FirstFunction.ipynb ├── Tutorial02 │ ├── FunctionTypes.ipynb │ └── Plugins │ │ ├── OldeEnglishPlugin.cs │ │ ├── OldeEnglishPlugin2.cs │ │ └── TranslatePlugin │ │ └── ToPigLatin │ │ ├── config.json │ │ └── skprompt.txt ├── Tutorial03 │ └── ContextVariables.ipynb ├── Tutorial04 │ ├── AIConfiguration.ipynb │ └── Plugins │ │ └── AutomationPlugin │ │ └── MakeAListFunction │ │ ├── config.json │ │ └── skprompt.txt ├── Tutorial05 │ ├── Chaining.ipynb │ └── Plugins │ │ ├── ChaosPlugin.cs │ │ ├── MadLibPlugin.cs │ │ └── PuzzlePlugin │ │ └── FillTheBlanks │ │ ├── config.json │ │ └── skprompt.txt ├── Tutorial06 │ ├── Planner.ipynb │ └── Plugins │ │ └── CelebratePlugin.cs ├── Tutorial07 │ └── PromptEngineering.ipynb ├── Tutorial08 │ └── ImageGeneration.ipynb └── config │ ├── SettingsHelper.cs │ └── blank_settings.json ├── Vocabulary.md ├── images ├── intentdetection │ ├── azureopenaisharpoutput.jpg │ ├── openaisharpotpt.jpg │ ├── step1.jpg │ ├── step2azoai.jpg │ ├── step2oai.jpg │ ├── step3azureoaipostman.jpg │ ├── step3oai.jpg │ └── step3oaipostman.jpg └── sentimentanalysis │ ├── deployments.jpg │ ├── openaiSecret.jpg │ ├── openaicsharpoutput.jpg │ ├── openaidropdown.jpg │ ├── openaikeys.jpg │ ├── openaioutput.jpg │ ├── sentimentladeploy.jpg │ ├── step1.jpg │ ├── step2azoai.jpg │ ├── step2oai.jpg │ ├── step3azureoaipostman.jpg │ ├── step3oai.jpg │ └── step3oaipostman.jpg ├── quickstarts ├── CodeGenerator │ ├── CodeGenerator.csproj │ ├── CodeGenerator.sln │ └── Program.cs ├── CustomCopilot │ ├── CC.API │ │ ├── AiHelper.cs │ │ ├── CC.API.csproj │ │ ├── Data │ │ │ ├── Encounters │ │ │ │ ├── Aquaman01.json │ │ │ │ ├── Batman01.json │ │ │ │ ├── Black Panther01.json │ │ │ │ ├── Black Widow01.json │ │ │ │ ├── Captain America01.json │ │ │ │ ├── Deadpool01.json │ │ │ │ ├── Doctor Strange01.json │ │ │ │ ├── Flash01.json │ │ │ │ ├── Green Lantern01.json │ │ │ │ ├── Harley Quinn01.json │ │ │ │ ├── Hawkeye01.json │ │ │ │ ├── Iron Man01.json │ │ │ │ ├── Loki01.json │ │ │ │ ├── Spider-Man01.json │ │ │ │ ├── Superman01.json │ │ │ │ ├── The Hulk01.json │ │ │ │ ├── The Joker01.json │ │ │ │ ├── Thor01.json │ │ │ │ ├── Wolverine01.json │ │ │ │ └── Wonder Woman01.json │ │ │ └── Patients │ │ │ │ ├── Aquaman.json │ │ │ │ ├── Batman.json │ │ │ │ ├── Black Panther.json │ │ │ │ ├── Black Widow.json │ │ │ │ ├── Captain America.json │ │ │ │ ├── Deadpool.json │ │ │ │ ├── Doctor Strange.json │ │ │ │ ├── Flash.json │ │ │ │ ├── Green Lantern.json │ │ │ │ ├── Harley Quinn.json │ │ │ │ ├── Hawkeye.json │ │ │ │ ├── Iron Man.json │ │ │ │ ├── Loki.json │ │ │ │ ├── Spider-Man.json │ │ │ │ ├── Superman.json │ │ │ │ ├── The Hulk.json │ │ │ │ ├── The Joker.json │ │ │ │ ├── Thor.json │ │ │ │ ├── Wolverine.json │ │ │ │ └── Wonder Woman.json │ │ ├── Plugins │ │ │ └── ComicBookPlugin │ │ │ │ ├── GenerateFhirEncounters │ │ │ │ ├── config.json │ │ │ │ └── skprompt.txt │ │ │ │ ├── GenerateFhirPatients │ │ │ │ ├── config.json │ │ │ │ └── skprompt.txt │ │ │ │ └── GetPopularCharacters │ │ │ │ ├── config.json │ │ │ │ └── skprompt.txt │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── appsettings.Development.json │ │ └── appsettings.json │ ├── CC.Shared │ │ ├── AllergyIntoleranceDTO.cs │ │ ├── CC.Shared.csproj │ │ ├── CodeableConceptDTO.cs │ │ ├── CodingDTO.cs │ │ ├── EncounterDTO.cs │ │ ├── HumanNameDTO.cs │ │ ├── PatientDTO.cs │ │ └── SubstanceDTO.cs │ ├── CC.UI │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── AppShell.xaml │ │ ├── AppShell.xaml.cs │ │ ├── CC.UI.csproj │ │ ├── Controls │ │ │ ├── CopilotChat.xaml │ │ │ ├── CopilotChat.xaml.cs │ │ │ ├── NewChatEventArgs.cs │ │ │ ├── PatientList.xaml │ │ │ └── PatientList.xaml.cs │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cs │ │ ├── MauiProgram.cs │ │ ├── Models │ │ │ └── ChatItem.cs │ │ ├── Pages │ │ │ ├── EncounterPage.xaml │ │ │ ├── EncounterPage.xaml.cs │ │ │ ├── PatientDetailPage.xaml │ │ │ ├── PatientDetailPage.xaml.cs │ │ │ ├── SchedulingPage.xaml │ │ │ └── SchedulingPage.xaml.cs │ │ ├── Platforms │ │ │ ├── Android │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── MainActivity.cs │ │ │ │ ├── MainApplication.cs │ │ │ │ └── Resources │ │ │ │ │ └── values │ │ │ │ │ └── colors.xml │ │ │ ├── MacCatalyst │ │ │ │ ├── AppDelegate.cs │ │ │ │ ├── Info.plist │ │ │ │ └── Program.cs │ │ │ ├── Tizen │ │ │ │ ├── Main.cs │ │ │ │ └── tizen-manifest.xml │ │ │ ├── Windows │ │ │ │ ├── App.xaml │ │ │ │ ├── App.xaml.cs │ │ │ │ ├── Package.appxmanifest │ │ │ │ └── app.manifest │ │ │ └── iOS │ │ │ │ ├── AppDelegate.cs │ │ │ │ ├── Info.plist │ │ │ │ └── Program.cs │ │ ├── Plugins │ │ │ ├── ApplicationHelpPlugin │ │ │ │ └── ApplicationHelpPlugin.cs │ │ │ └── MedicalKnowledgePlugin │ │ │ │ ├── MedicalKnowledgePlugin.cs │ │ │ │ ├── SummarizeEncounter │ │ │ │ ├── config.json │ │ │ │ └── skprompt.txt │ │ │ │ └── SummarizeEncounterFunction.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Resources │ │ │ ├── AppIcon │ │ │ │ ├── appicon.svg │ │ │ │ └── appiconfg.svg │ │ │ ├── Fonts │ │ │ │ ├── OpenSans-Regular.ttf │ │ │ │ └── OpenSans-Semibold.ttf │ │ │ ├── Images │ │ │ │ └── dotnet_bot.svg │ │ │ ├── Raw │ │ │ │ └── AboutAssets.txt │ │ │ ├── Splash │ │ │ │ └── splash.svg │ │ │ └── Styles │ │ │ │ ├── Colors.xaml │ │ │ │ └── Styles.xaml │ │ ├── Services │ │ │ ├── AiServices.cs │ │ │ └── RestService.cs │ │ └── ViewModels │ │ │ ├── AppViewModel.cs │ │ │ ├── BaseViewModel.cs │ │ │ ├── CopilotChatViewModel.cs │ │ │ └── MainViewModel.cs │ └── CC.sln ├── IntentDetection │ ├── AzureOpenAICSharp │ │ ├── .vscode │ │ │ ├── launch.json │ │ │ └── tasks.json │ │ ├── AzureOpenAICSharp.csproj │ │ ├── Program.cs │ │ └── README.md │ ├── OpenAICSharp │ │ ├── .vscode │ │ │ ├── launch.json │ │ │ └── tasks.json │ │ ├── OpenAICSharp.csproj │ │ ├── Program.cs │ │ └── README.md │ └── OpenAILogicApp │ │ ├── README.md │ │ └── azuredeploy.json └── SentimentAnalysis │ ├── AzureOpenAICSharp │ ├── .vscode │ │ ├── launch.json │ │ └── tasks.json │ ├── AzureOpenAICSharp.csproj │ ├── Program.cs │ └── README.md │ ├── OpenAICSharp │ ├── .vscode │ │ ├── launch.json │ │ └── tasks.json │ ├── OpenAICSharp.csproj │ ├── Program.cs │ └── README.md │ └── OpenAILogicApp │ ├── README.md │ └── azuredeploy.json └── tutorials ├── data └── bill_sum_data.csv └── embeddings-tutorial.ipynb /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the 2 | // README at: https://github.com/devcontainers/templates/tree/main/src/dotnet 3 | { 4 | "name": "C# (.NET)", 5 | // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 6 | "image": "mcr.microsoft.com/devcontainers/dotnet:0-7.0", 7 | "features": { 8 | "ghcr.io/devcontainers/features/python:1": { 9 | "installTools": true, 10 | "installJupyterlab": true, 11 | "version": "latest" 12 | } 13 | }, 14 | 15 | // Features to add to the dev container. More info: https://containers.dev/features. 16 | // "features": {}, 17 | 18 | // Use 'forwardPorts' to make a list of ports inside the container available locally. 19 | // "forwardPorts": [5000, 5001], 20 | // "portsAttributes": { 21 | // "5001": { 22 | // "protocol": "https" 23 | // } 24 | // } 25 | 26 | // Use 'postCreateCommand' to run commands after the container is created. 27 | // "postCreateCommand": "dotnet restore", 28 | "postCreateCommand": "pip install python-dotenv openai num2words matplotlib plotly scipy scikit-learn pandas tiktoken", 29 | 30 | // Configure tool-specific properties. 31 | "customizations": { 32 | "vscode": { 33 | "extensions": [ 34 | "ms-dotnettools.dotnet-interactive-vscode", 35 | "ms-semantic-kernel.semantic-kernel" 36 | ] 37 | } 38 | } 39 | 40 | // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. 41 | // "remoteUser": "root" 42 | } 43 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /InterestingLinks.md: -------------------------------------------------------------------------------- 1 | #Start here: 2 | [Azure OpenAI Service](https://azure.microsoft.com/en-us/products/cognitive-services/openai-service/?ef_id=_k_a821929ce249149b1848f6fb62a6683b_k_&OCID=AIDcmm5edswduu_SEM__k_a821929ce249149b1848f6fb62a6683b_k_&msclkid=a821929ce249149b1848f6fb62a6683b) 3 | 4 | [Azure OpenAI Service FAQ](https://azure.microsoft.com/en-us/products/cognitive-services/openai-service/?ef_id=_k_a821929ce249149b1848f6fb62a6683b_k_&OCID=AIDcmm5edswduu_SEM__k_a821929ce249149b1848f6fb62a6683b_k_&msclkid=a821929ce249149b1848f6fb62a6683b#faq) 5 | 6 | [Requesting access to Azure OpenAI](https://aka.ms/oai/access) 7 | 8 | [Responsible AI](https://www.microsoft.com/en-us/ai/responsible-ai?activetab=pivot1%3aprimaryr6) 9 | 10 | ----------------------- 11 | 12 | [ChatGPT web page](https://chat.openai.com/) 13 | 14 | [OpenAI web page](https://openai.com/) 15 | 16 | [OpenAI Playground](https://platform.openai.com/playground) 17 | 18 | ----------------------- 19 | 20 | [GitHub Copilot](https://resources.github.com/copilot-for-business/?ef_id=_k_ee1440000a4516c6712424678912de6f_k_&OCID=AIDcmmc3fhtaow_SEM__k_ee1440000a4516c6712424678912de6f_k_&msclkid=ee1440000a4516c6712424678912de6f) 21 | 22 | [Bot Framework](https://dev.botframework.com/) 23 | 24 | [Azure Cognitive Search](https://azure.microsoft.com/en-us/products/search/?ef_id=_k_541be9600e631a96e2b18d07c09c49b2_k_&OCID=AIDcmm5edswduu_SEM__k_541be9600e631a96e2b18d07c09c49b2_k_&msclkid=541be9600e631a96e2b18d07c09c49b2) 25 | 26 | [Azure OpenAI Client Library for .NET](https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.openai-readme?view=azure-dotnet-preview) 27 | 28 | [What is Semantic Kernel?](https://learn.microsoft.com/en-us/semantic-kernel/whatissk) 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /Modules/Intro to ChatGPT/BasicChatGPT.md: -------------------------------------------------------------------------------- 1 | ChatGPT is a product from the OpenAI company and this website allows you to interact with this amazing technology. How amazing is it? This web site has gained more active users faster than any other - faster than Facebook, TikTok, Instagram, or Spotify! 2 | 1. In your browser, navigate to https://chat.openai.com/. You'll have to sign up or login with an existing account. 3 | 2. Enter: what are the historical names of istanbul? 4 | 5 | The question you entered is called a prompt and it is sent to OpenAI's Large Language Model (or LLM). If you want to read about how ChatGPT might use your prompt to further train the LLM or if you want to opt out, check out [this page](https://help.openai.com/en/articles/5722486-how-your-data-is-used-to-improve-model-performance). There is also some content moderation built into the tool so you can ask for a list of curse words, but it won't provide any. 6 | 3. Enter: how do I pronounce it? 7 | 8 | There is a limitation on the length of each conversation you have with ChatGPT, but you can start new conversations at any time - and even return to previous conversations as desired. It's best to keep a single conversation centered on a single topic. 9 | 4. At the top left of the page, click the New Conversation button. Enter: how much wood could 10 | 11 | The value returned by OpenAI is called a completion. OpenAI's LLM isn't sentient or all-knowing. It is "merely" looking at your prompt and returning it's best guess. 12 | 5. Enter: Who won the latest World Cup and when was the final game? 13 | 14 | As you can see by OpenAI's response, the underlying model has only been trained on data up to September 2021. (You can enter the same prompt into Bing's chat feature and get a different response.) 15 | 6. While OpenAI is constantly working to improve their model, it's responses can occasionally be inaccurate. When this happens, ChatGPT will often reply with the same confidence as when it responds accurately. These inaccuracies are often called hallucinations and it's why it's still critical to keep humans "in the loop" to verify any information before acting upon it. 16 | 7. To avoid some of the aforementioned hallucinations and to otherwise improve the response you get from ChatGPT, you can do so using a variety of techniques known as prompt engineering. 17 | -------------------------------------------------------------------------------- /ProvisionAzureOpenAI.md: -------------------------------------------------------------------------------- 1 | #Provision an Azure OpenAI resource in your subscription 2 | 3 | Create a resource and deploy a model using Azure OpenAI(https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Project 2 | 3 | This is a repository to aggregate content to be used if you are running a hackathon event focused on AI solutions. Most of the content is intended to help participants ramp up on various AI capabilities to be best prepared for the actual hackathon which is intended to be "zero content" and 100% focused on accelerating participant's actual use cases. 4 | 5 | ## What is this repository? 6 | This repository is full of sample applications,tutorials, and instructional guidance on a variety of AI capabilities and solutions. 7 | - SemanticKernel tutorials: A standalone set of interactive tutorials intended to teach you about the various capabilities of the Semantic Kernel SDK. Expand the Semantic Kernel folder and then open the *.pynb at the root of each Tutorial0x folder. **IMPORTANT: Be sure to start with Tutorial00 as it will help you create your connection to OpenAI that will be critical to each of the other tutorials.** 8 | - Quickstarts: including quickstarts for code generation, intent detection, and sentiment analysis. 9 | - Unfortunately, we can't host any of our video content here, but you can find our videos [here](https://aka.ms/GlobalAIHackathonVids). 10 | 11 | If you encounter a word or phrase you don't understand, check out our [Vocabulary](Vocabulary.md) page. 12 | 13 | If you aren't finding what you are looking for in this repository, it might be because we didn't want to reproduce data points in our [Interesting Links](InterestingLinks.md). 14 | 15 | ## Contributing 16 | 17 | This project welcomes contributions and suggestions. Most contributions require you to agree to a 18 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us 19 | the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. 20 | 21 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide 22 | a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions 23 | provided by the bot. You will only need to do this once across all repos using our CLA. 24 | 25 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 26 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or 27 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 28 | 29 | ## Trademarks 30 | 31 | This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft 32 | trademarks or logos is subject to and must follow 33 | [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). 34 | Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. 35 | Any use of third-party trademarks or logos are subject to those third-party's policies. 36 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Security 4 | 5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). 6 | 7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. 8 | 9 | ## Reporting Security Issues 10 | 11 | **Please do not report security vulnerabilities through public GitHub issues.** 12 | 13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). 14 | 15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). 16 | 17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). 18 | 19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: 20 | 21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) 22 | * Full paths of source file(s) related to the manifestation of the issue 23 | * The location of the affected source code (tag/branch/commit or direct URL) 24 | * Any special configuration required to reproduce the issue 25 | * Step-by-step instructions to reproduce the issue 26 | * Proof-of-concept or exploit code (if possible) 27 | * Impact of the issue, including how an attacker might exploit the issue 28 | 29 | This information will help us triage your report more quickly. 30 | 31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. 32 | 33 | ## Preferred Languages 34 | 35 | We prefer all communications to be in English. 36 | 37 | ## Policy 38 | 39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). 40 | 41 | 42 | -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- 1 | # TODO: The maintainer of this repo has not yet edited this file 2 | 3 | **REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project? 4 | 5 | - **No CSS support:** Fill out this template with information about how to file issues and get help. 6 | - **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps. 7 | - **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide. 8 | 9 | *Then remove this first heading from this SUPPORT.MD file before publishing your repo.* 10 | 11 | # Support 12 | 13 | ## How to file issues and get help 14 | 15 | This project uses GitHub Issues to track bugs and feature requests. Please search the existing 16 | issues before filing new issues to avoid duplicates. For new issues, file your bug or 17 | feature request as a new Issue. 18 | 19 | For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE 20 | FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER 21 | CHANNEL. WHERE WILL YOU HELP PEOPLE?**. 22 | 23 | ## Microsoft Support Policy 24 | 25 | Support for this **PROJECT or PRODUCT** is limited to the resources listed above. 26 | -------------------------------------------------------------------------------- /SemanticKernel/Samples/Samples.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34031.279 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpeechToTextWithSemanticKernel", "SpeechToTextWithSemanticKernel/SpeechToTextWithSemanticKernel.csproj", "{4E4B80EC-D92A-4BC2-B9E6-F3267A7008A4}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {4E4B80EC-D92A-4BC2-B9E6-F3267A7008A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {4E4B80EC-D92A-4BC2-B9E6-F3267A7008A4}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {4E4B80EC-D92A-4BC2-B9E6-F3267A7008A4}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {4E4B80EC-D92A-4BC2-B9E6-F3267A7008A4}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {B57F42C2-8688-40DF-93C9-9CE13FC6215B} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /SemanticKernel/Samples/SpeechToTextWithSemanticKernel/AudioSelector.cs: -------------------------------------------------------------------------------- 1 | using NAudio.CoreAudioApi; 2 | 3 | internal static class AudioSelector 4 | { 5 | private readonly static List