{"id":20484748,"url":"https://github.com/sap-samples/smart-co2nverter-ai","last_synced_at":"2025-07-19T07:11:15.375Z","repository":{"id":162238104,"uuid":"631871227","full_name":"SAP-samples/smart-co2nverter-ai","owner":"SAP-samples","description":"A mobile application enabling bank customers to be more climate conscious while strengthening their loyalty to the bank. ","archived":false,"fork":false,"pushed_at":"2025-03-07T13:36:30.000Z","size":59468,"stargazers_count":29,"open_issues_count":4,"forks_count":8,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-13T14:53:36.547Z","etag":null,"topics":["4264","ai-core","ai-launchpad","azure","btp-use-case-factory","cap","cloud-foundry","generative-ai","gpt","llm","nodejs","openai","python","react-native","sample","sample-code","sap-btp","sap-cap","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-24T08:33:49.000Z","updated_at":"2025-04-04T03:37:37.000Z","dependencies_parsed_at":"2025-04-13T15:03:04.271Z","dependency_job_id":null,"html_url":"https://github.com/SAP-samples/smart-co2nverter-ai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SAP-samples/smart-co2nverter-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fsmart-co2nverter-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fsmart-co2nverter-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fsmart-co2nverter-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fsmart-co2nverter-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/smart-co2nverter-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fsmart-co2nverter-ai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265899984,"owners_count":23845888,"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":["4264","ai-core","ai-launchpad","azure","btp-use-case-factory","cap","cloud-foundry","generative-ai","gpt","llm","nodejs","openai","python","react-native","sample","sample-code","sap-btp","sap-cap","typescript"],"created_at":"2024-11-15T16:25:23.884Z","updated_at":"2025-07-19T07:11:15.333Z","avatar_url":"https://github.com/SAP-samples.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/smart-co2nverter-ai)](https://api.reuse.software/info/github.com/SAP-samples/smart-co2nverter-ai)\n\n# Reduce your CO2 footprint using a smart Generative AI application on SAP BTP\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"documentation/assets/smart_co2nverter_logo.png\" alt=\"logo\" width=\"350\" /\u003e\n\u003c/p\u003e\n\n## Description\n\nLeverage a generalized approach to applying Generative AI to business challenges with SAP BTP. In this sample, you will deploy an SAP Cloud Application Programming backend that interacts with Azure AI and a React Native mobile app implementing a Smart CO2 Converter App. This samples CAP backend is based on [Consume OpenAI services (GPT) through CAP \u0026 SAP AI Core](https://github.com/SAP-samples/azure-openai-aicore-cap-api) as boilerplate code which implements parts of the [Reference architecture of an SAP BTP CAP application using GPT Models of OpenAI](https://github.com/SAP/sap-btp-reference-architectures/tree/main/hyperscalers/openai).\n\nThis use case can be replicated end to end following the respected [Discovery Center Mission: Reduce your CO2 footprint using a smart Generative AI application on SAP BTP](https://discovery-center.cloud.sap/protected/index.html#/missiondetail/4264/4522/)\n\n\u003e **Note** This repository demonstrates the utilization of Large Language Models (LLMs) like Azure OpenAI services on SAP Business Technology Platform (BTP) with the Reference Architecture, without implying environmental sustainability of LLMs.\n\n## Challenge\n\nHow might we enable banking customers to be more climate conscious while strengthening their loyalty?\n\n## Solution\n\nHelp users understand how their consumption habits are driving their CO2 footprint by showing most impactful expenses and best opportunities for emissions reductions.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"documentation/03-application/assets/architecture.png\" alt=\"architecture\" width=\"1000\" /\u003e\n\u003c/p\u003e\n\n## Outcome\n\nA mobile app built using the reusable architecture principles of SAP Cloud Application Programming (CAP) model and React Native on SAP BTP. An application extension using GPT via the Azure Open AI service that combines business context with the capabilities of large language models on SAP BTP.\n\n\u003cp\u003e\n  \u003cimg src=\"documentation/assets/home.gif\" alt=\"home\" width=\"24%\" /\u003e\n  \u003cimg src=\"documentation/assets/challenges.png\" alt=\"challenges\" width=\"24%\" /\u003e\n  \u003cimg src=\"documentation/assets/suggestions.png\" alt=\"suggestions\" width=\"24%\" /\u003e\n  \u003cimg src=\"documentation/assets/habits.png\" alt=\"habits\" width=\"24%\" /\u003e\n\u003c/p\u003e\n\n## Requirements\n\nYou can find the detailed pre-requisites for running each part of this use case mission in the [Table of Contents](documentation/DC_TOC.md)\n\n\u003c!-- disco-toc-start --\u003e\n\n### Explore and Discover\n\n- [Explore the mission](./documentation/01-explore-the-mission/explore.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [SAP Business Technology Platform](./documentation/01-explore-the-mission/BTP.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [SAP BTP, Cloud Foundry Runtime](./documentation/01-explore-the-mission/cf-runtime.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [SAP HANA Cloud](./documentation/01-explore-the-mission/hana-cloud.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [SAP Destination Service](./documentation/01-explore-the-mission/destination-service.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [Get started with Cloud Application Programming](./documentation/01-explore-the-mission/cap.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [Get started with SAP AI Core \u0026 SAP AI Launchpad](./documentation/01-explore-the-mission/ai-core-launchpad.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n- [Get started with Generative AI Hub in SAP AI Core](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/generative-ai-hub-in-sap-ai-core?q=generative%20ai%20hub)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n- [Get started with React Native](./documentation/01-explore-the-mission/react-native.md)\u003c!-- dc-card: {\"label\":  [\"Basics\"]} dc-card --\u003e\n- [ChatGPT and Large Language Models](./documentation/01-explore-the-mission/GPT-and-LLMs.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n- [Get started with OpenAI Services](./documentation/01-explore-the-mission/azure-openai-services.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n- [Reference Architecture of an SAP BTP CAP application using GPT Models of OpenAI](https://github.com/SAP/sap-btp-reference-architectures/blob/main/hyperscalers/openai/README.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n\n### Technical Setup\n\n- [Setup SAP BTP prerequisites](https://github.com/SAP-samples/azure-openai-aicore-cap-api/blob/main/documentation/00-prerequisites/01-setup-subaccount-cf-aicore.md)\u003c!-- dc-card: {\"label\":  [\"Prerequisites\", \"Hands-On\"]} dc-card --\u003e\n- [Setup Generative AI using the SAP BTP reference application for GenAI and RAG](https://github.com/SAP-samples/btp-cap-genai-rag/blob/main/docs/tutorial/2-setup/4-generativeAIhub.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"AI\"]} dc-card --\u003e\n- [Deploy a Foundation Model on Generative AI Hub](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-generative-ai-model-in-sap-ai-core?q=generative%20ai%20hub)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"AI\"]} dc-card --\u003e\n- [Test and play with deployed service](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/consume-generative-ai-models-using-sap-ai-core?q=generative%20ai%20hub)\u003c!-- dc-card: {\"label\":  [\"Optional\", \"Hands-On\"]} dc-card --\u003e\n- [Expo Go Client \u0026 Expo Account](./documentation/02-technical-setup/07-expo.md)\u003c!-- dc-card: {\"label\":  [\"Optional\", \"Hands-On\"]} dc-card --\u003e\n- [Setup Business Application Studio](https://github.com/SAP-samples/successfactors-extension-calculate-employee-seniority/blob/mission/03-ConfigureSAPBusinessApplicationStudio/README.md)\u003c!-- dc-card: {\"label\":  [\"Prerequisites\", \"Hands-On\"]} dc-card --\u003e\n\n### Application Deployment\n\n- [Application Architecture](./documentation/03-application/01-application-architecture.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"Important\"]} dc-card --\u003e\n- [Data Model and provided Data](./documentation/03-application/02-data-model.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"Important\"]} dc-card --\u003e\n- [Preparatory Steps](./documentation/03-application/03-preparatory.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"Important\"]} dc-card --\u003e\n- [Deploy CAP API to Cloud Foundry](./documentation/03-application/05-cap-deployment.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"Important\"]} dc-card --\u003e\n- [Attach SAP AI Core to CAP API](https://github.com/SAP-samples/azure-openai-aicore-cap-api/blob/main/documentation/02-cap-api/03-attach-aicore.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"AI\"]} dc-card --\u003e\n- [Run the Mobile App (React Native)](./documentation/03-application/07-run-mobile-app.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"Important\"]} dc-card --\u003e\n- [Publishing the Mobile App](./documentation/03-application/08-publish-mobile-app.md)\u003c!-- dc-card: {\"label\":  [\"Hands-On\", \"Optional\"]} dc-card --\u003e\n\n### AI Insights\n\n- [Synthetic Data through Generative AI](./documentation/04-data-setup/AI-data-setup-overview.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n- [AI Application Features (OpenAI Services)](./documentation/05-AI-features/AI-application-features-overview.md)\u003c!-- dc-card: {\"label\":  [\"Basics\", \"AI\"]} dc-card --\u003e\n\n### Completion\n\n- [Retrospective](./documentation/06-complete/retrospective.md)\u003c!-- dc-card: {\"label\":  [\"Summary\"]} dc-card --\u003e\n- [Outlook](./documentation/06-complete/outlook.md)\u003c!-- dc-card: {\"label\":  [\"Summary\"]} dc-card --\u003e\n  \u003c!-- disco-toc-end --\u003e\n\n## Known Issues\n\nNone\n\n## How to obtain support\n\n[Create an issue](https://github.com/SAP-samples/smart-co2nverter-ai/issues) in this repository if you find a bug or have questions about the content.\n\nFor additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html).\n\n## Contributing\n\nThanks to all collaborators to make this app real!\n\n- [Adi Pleyer](https://github.com/AdiPleyer)\n- Armando Aguinaga\n- [Gerd Buchmüller](https://github.com/D022666)\n- Heike van Geel\n- [Iyad Al Hafez](https://github.com/Iyad-Alhafez)\n- [James Rapp](https://github.com/jmsrpp)\n- [Julian Schambeck](https://github.com/julian-schambeck)\n- Karen Detken\n- [Kay Schmitteckert](https://github.com/kay-schmitteckert)\n- Rainer Rodewald\n- Simon Nowack\n- [Sudheer Tammana](https://github.com/sudheer-tammana)\n- Vikas Thimmiaha\n\nIf you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).\n\n## License\n\nCopyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fsmart-co2nverter-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fsmart-co2nverter-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fsmart-co2nverter-ai/lists"}