beckn / transactional-ai-bap

MIT License
7 stars 4 forks source link

P2P Energy Trading System for Local Businesses Using Beckn Protocol and Gemini AI #91

Open yesrag2309 opened 2 months ago

yesrag2309 commented 2 months ago

Description:

Develop a Peer-to-Peer (P2P) energy trading system that empowers local businesses, such as Anand's wheat grinding mill, to purchase renewable energy from local prosumers. The system uses the Beckn Protocol for seamless P2P transactions and the Gemini AI API for a conversational interface. The system will reduce energy costs, promote sustainability, and enhance the accessibility of renewable energy.

Goals:

Expected Outcome:

  1. Small businesses reduce energy costs by 20% by purchasing surplus renewable energy
  2. Simplified user experience using natural language to discover, negotiate, and track energy trades
  3. Prosumers and buyers engage in decentralized energy trading, promoting local renewable energy

Acceptance Criteria:

  1. The system must allow users to search and buy energy from local prosumers seamlessly
  2. Energy transactions should be processed transparently and recorded immutably on the blockchain
  3. The AI assistant must guide users through the energy purchase process via natural language interaction
  4. Users should be able to track energy consumption and savings in real-time

Mockups / Wireframes:

Product:

P2P Energy Trading Demo (for Google for India 2024)

Domain:

Energy Trading, Renewable Energy

Tech Skills Needed:

Full Stack Development, API Integration, UI Building (Conversational AI), Blockchain (Solana or CORD integration), Beckn Protocol Implementation

Complexity:

Medium

Category:

Development

Sub Category:

Energy Trading Platform, AI Conversational Interface

Project View:

Use Case Document

Document Link

yesrag2309 commented 2 months ago

Based on the initial demo use case discussion with Ravi on September 18th during the Tech Stand-up, followed by a walkthrough call of the WhatsApp AI Agent Twilio Integration Codebase with Mayur, work has officially begun. Please find the details and action items below:

Requested Ravi to provide the WhatsApp phone number and business account details to proceed. Either Ravi or the Tech team will reach out to Naman for Lang Graph integration. Prasad is currently working on the EC2 instance. The Tech team is developing the script document and organizing the required hardware for the event. The event is scheduled for October 3rd, 2024.

@emmayank Please let me know if I've missed anything. Since the work is started changing the flow status to Started.

@viraj89 @ravi-prakash-v @faizmagic @vbabuEM

emmayank commented 2 months ago

Overall Update:

  1. Infrastructure Setup & Setting up the network for P2P Energy Trading demo - done
  2. Example JSONs & Layer2Config - done
  3. Uploading Catalogue - done
  4. Setting up beckn-gemini-action-bot - done
  5. Setting up twllio with "hello world" with beckn-gemini-action-bot - done

Today's Update:

  1. Deploying & Setting up CI/CD for beckn-gemini-action-bot - done
  2. Connecting Gemini Chat bot with the whatsapp number - done [Now you can interact with Gemini using the whatsapp number]
  3. Creating BAP UI for browsing for energy catalogue using UI building block - In progress
  4. Create Endpoints to update prosumer's catalogue, Send Order confirmation -- In progress
  5. Creating Prompt for the consumer story - In progress ( Started today, as we got the clarity from Monojit about not using model training method)

Risk:

  1. We need to lock the scope. It has changed a bit in the last 2 days. conversational changes are ok, as the system should be working in any conversation, but flow should not change. Whatever is there currently, we should not change the flow, else it will definitely impact the delivery.
  2. Considering overall scope, there is high risk of delay for 3rd Oct demo, to mitigate the risk, the team will be working over weekends ( 28th & 29th September'24)
emmayank commented 2 months ago

Today's Update: 1.Creating Prompt for the consumer story - In progress (40+ prompts created)

  1. Maintaining session - In progress
  2. Creating BAP UI for browsing for energy catalogue using UI building block - done
  3. Create Endpoints to update prosumer's catalogue, Send Order confirmation - - done
  4. Integrate Order confirmation and Update prosumer's catalogue endpoint in beckn-gemini-bot - In progress
meenakshi2468 commented 1 month ago

Timeline Oct 3 for demo for the Google AI event Changes /bug fixes done by team till Oct 3: Shreya, Ankit, Abhishek, Rahul, Aniket, Kundan and Omkar

This is done as on Oct 4, 2024 - completed.