{"id":19099950,"url":"https://github.com/IEvangelist/blazor-azure-openai","last_synced_at":"2025-04-18T17:32:20.017Z","repository":{"id":158422422,"uuid":"621515388","full_name":"IEvangelist/blazor-azure-openai","owner":"IEvangelist","description":"The Blazor WebAssembly app that inspired the Microsoft //Build 2023 demo app.","archived":false,"fork":false,"pushed_at":"2024-01-19T16:01:48.000Z","size":4348,"stargazers_count":96,"open_issues_count":4,"forks_count":20,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-08T07:39:00.502Z","etag":null,"topics":["azureai","blazor","blazor-webassembly","csharp","dotnet","openai"],"latest_commit_sha":null,"homepage":"https://davidpine.net/blog/dotnet-async-enumerable/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IEvangelist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"IEvangelist","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-03-30T20:25:14.000Z","updated_at":"2024-10-27T12:55:00.000Z","dependencies_parsed_at":"2024-01-19T17:26:48.459Z","dependency_job_id":"d4aefe4a-7274-4633-a907-d8d7e96628c6","html_url":"https://github.com/IEvangelist/blazor-azure-openai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IEvangelist%2Fblazor-azure-openai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IEvangelist%2Fblazor-azure-openai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IEvangelist%2Fblazor-azure-openai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IEvangelist%2Fblazor-azure-openai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IEvangelist","download_url":"https://codeload.github.com/IEvangelist/blazor-azure-openai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783108,"owners_count":17201903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azureai","blazor","blazor-webassembly","csharp","dotnet","openai"],"created_at":"2024-11-09T03:52:24.160Z","updated_at":"2024-11-09T03:52:46.815Z","avatar_url":"https://github.com/IEvangelist.png","language":"C#","funding_links":["https://github.com/sponsors/IEvangelist"],"categories":["dotnet","csharp"],"sub_categories":[],"readme":"# Blazor 💜 OpenAI\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n[![build \u0026 test](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/dotnet.yml/badge.svg)](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/dotnet.yml)\n[![localization](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/localization.yml/badge.svg)](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/localization.yml)\n\n## Getting Started\n\n\u003e **Note** \n\u003e To run this example, you'll need an **Azure subscription with access enabled for the Azure OpenAI service**. You can request access [here](https://aka.ms/oaiapply). You can also visit [here](https://azure.microsoft.com/free/cognitive-search/) to get some free Azure credits to get you started.\n\nThis example relies on three environment variables:\n\n```PowerShell\nsetx AzureOpenAI__ApiKey \"\u003cYour Azure OpenAI API Key\u003e\"\nsetx AzureOpenAI__Endpoint \"\u003cYour Azure OpenAI API endpoint\u003e\"\nsetx AzureOpenAI__DeploymentId \"\u003cYour Azure OpenAI deploymend id\u003e\"\n```\n\n```bash\nexport AzureOpenAI__ApiKey=\"\u003cYour Azure OpenAI API Key\u003e\"\nexport AzureOpenAI__Endpoint=\"\u003cYour Azure OpenAI API endpoint\u003e\"\nexport AzureOpenAI__DeploymentId=\"\u003cYour Azure OpenAI deploymend id\u003e\"\n```\n\n## Home screen\n\n![Home screen](images/home.png)\n\n## Voice chat screen\n\n![Voice chat screen](images/voice-chat.png)\n\n## Voice chat screen with navigation menu collapsed\n\n![Voice chat screen with navigation menu collapsed](images/drawer-closed.png)\n\n## Text-to-speech preferences dialog displayed\n\n![Text-to-speech preferences dialog](images/tts-dialog.png)\n\n## Example response text\n\n![Example response text](images/response.png)\n\n## Example response text continued 2/4\n\n![Example response text continued](images/response-two.png)\n\n## Example response text continued 3/4\n\n![Example response text continued](images/response-three.png)\n\n## Example response text continued 4/4\n\n![Example response text continued](images/response-four.png)\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://www.linkedin.com/in/husseinbeygi/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15180406?v=4?s=100\" width=\"100px;\" alt=\"Hussein Beygi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHussein Beygi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/IEvangelist/blazor-azure-openai/commits?author=Husseinbeygi\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-Husseinbeygi\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/apps/github-actions\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/in/15368?v=4?s=100\" width=\"100px;\" alt=\"github-actions[bot]\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003egithub-actions[bot]\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#translation-github-actions[bot]\" title=\"Translation\"\u003e🌍\u003c/a\u003e \u003ca href=\"https://github.com/IEvangelist/blazor-azure-openai/commits?author=github-actions[bot]\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIEvangelist%2Fblazor-azure-openai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIEvangelist%2Fblazor-azure-openai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIEvangelist%2Fblazor-azure-openai/lists"}