{"id":18602074,"url":"https://github.com/build-on-aws/dotnet-fm-playground","last_synced_at":"2025-04-10T19:30:54.956Z","repository":{"id":198577476,"uuid":"697961510","full_name":"build-on-aws/dotnet-fm-playground","owner":"build-on-aws","description":".NET FM Playground is a .NET MAUI Blazor sample application showcasing how to leverage Amazon Bedrock from C# code. Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies like AI21 Labs, Anthropic, Cohere, Meta, Stability AI, and Amazon via a single API.","archived":false,"fork":false,"pushed_at":"2024-05-23T15:30:49.000Z","size":1443,"stargazers_count":46,"open_issues_count":0,"forks_count":9,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-03-25T03:02:16.619Z","etag":null,"topics":["amazon-bedrock","csharp","dotnet","dotnet-maui","dotnet-maui-blazor","generative-ai"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/build-on-aws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-28T20:49:44.000Z","updated_at":"2025-02-04T17:16:58.000Z","dependencies_parsed_at":"2024-05-13T12:27:59.882Z","dependency_job_id":"bb9f11c5-ae26-400b-bccd-b5cfe345fb1a","html_url":"https://github.com/build-on-aws/dotnet-fm-playground","commit_stats":null,"previous_names":["build-on-aws/dotnet-fm-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Fdotnet-fm-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Fdotnet-fm-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Fdotnet-fm-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Fdotnet-fm-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/build-on-aws","download_url":"https://codeload.github.com/build-on-aws/dotnet-fm-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281395,"owners_count":21077423,"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":["amazon-bedrock","csharp","dotnet","dotnet-maui","dotnet-maui-blazor","generative-ai"],"created_at":"2024-11-07T02:10:15.376Z","updated_at":"2025-04-10T19:30:54.417Z","avatar_url":"https://github.com/build-on-aws.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET FM Playground\n\n.NET FM Playground is a .NET MAUI Blazor sample application showcasing \nhow to leverage Amazon Bedrock from C# code. As any sample application, it is not production-ready.\nIt is provided for the sole purpose of illustrating of .NET and C# developers can leverage Amazon Bedrock\nto build generative AI enabled applications.\n\nAmazon Bedrock is a fully managed \nservice that offers a choice of high-performing foundation models (FMs) \nfrom leading AI companies like AI21 Labs, Anthropic, Cohere, Meta, Stability AI, Mistral AI\nand Amazon via a single API.\n\nIt also offers Knowledge Bases and Agents for Amazon Bedrock to speed up the implementation of Retrieval Augmented Generation pattern and execute complex tasks.\n\nIn order to let you test and interact with the different foundation models and advanced features, the .NET FM Playground offers you five playgrounds:\n* A text playground\n* A chat playground\n* A voice chat playground\n* An embedding playground\n* An image playground \n* An agent playground\n\nIn addition, it also lists and displays the foundation models you have access to and their characteristics.\n\n![Screenshot of the chat playground](/doc/img/ChatPlayground.png \"Screenshot of the chat playground\")\n\n![Screenshot of the image playground](/doc/img/ImagePlayground.png \"Screenshot of the image playground\")\n\n## Dev Environment Prerequisite\n\nThis sample has been developed using:\n* .NET 8.0\n* .NET MAUI 8.0\n\nYou need to install .NET 8.0 SDK. \n\nFor .NET MAUI 8.0:\n* if you use Visual Studio 2022, install the .NET Multi-platform App UI development\nworkload from the Visual Studio Installer\n* otherwise, you can install maui-windows and maui-maccatalyst workload running the \nfollowing commands\n\t```\n\tdotnet workload install maui-windows\n\tdotnet workload install maui-maccatalyst\n\t```\n\nThis sample has been developed using Visual Studio 2022 17.7.3 on Windows 11. While \nit should work on MacOS and in other IDEs supporting .NET MAUI development, we can't \nguarantee.\n\n## AWS Account prerequisite\n\n### Identity \u0026 Access Management\n\nFor now, the .NET FM Playground requires you to configure your default AWS profile with \ncredentials giving you access to Amazon Bedrock.\n\nTo learn more about granting programmatic access and setting up permissions, read the following\ndocumentations:\n* https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html\n* https://docs.aws.amazon.com/bedrock/latest/userguide/security-iam.html\n\n### Model Access\n\nAn AWS Account does not have access to models by default. An Admin user with IAM access permissions\ncan add access to specific models using the model access page.\n\nTo learn more about managing model access, read the following documentation:\n* https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html \n\n### Model Access\n\nTo use the agent playground, you first need to create an agent in your AWS account.\n\nTo learn more about creating and managing agents for Amazon Bedrock, read the following documentation:\n* https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html\n\n## Repository Structure\n\nThe repository has the following structure\n* **src:** contains the solution\n\t* **DonetFMPlayground.Core:** contains a library adding method extensions to the \n\tAmazonBedrockRuntimeClient object from the AWS SDK for .NET\n\t* **DotnetFMPlayground.App:** contains the .NET MAUI Blazor application\n* **doc:** contains documentation\n\t* **img:** contains screenshots and images\n\n\n## Security\n\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n## License\n\nThis library is licensed under the MIT-0 License. See the LICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuild-on-aws%2Fdotnet-fm-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuild-on-aws%2Fdotnet-fm-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuild-on-aws%2Fdotnet-fm-playground/lists"}