Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beckn-Gemini Bot : Complete end to end consumer flow using prompts #108

Open
20 tasks done
emmayank opened this issue Oct 7, 2024 · 1 comment
Open
20 tasks done
Assignees
Labels
beckn transaction AI beckn transaction AI enhancement New feature or request

Comments

@emmayank
Copy link

emmayank commented Oct 7, 2024

Description

Develop and complete the end-to-end consumer flow for P2P Energy Trading using the Beckn-Gemini Bot. The flow starts with detecting the consumer flow, processing their electricity bill, and ends with confirming the trade via UPI transaction. This flow will involve various steps such as bill upload, OTP validation, search, selection, trading confirmation, and generating a QR code for UPI payment.

Goals

  • Detect the consumer flow from the user's interaction with the bot.
  • Implement functionality for uploading and processing the consumer's electricity bill.
  • Confirm signup for P2P Energy Trading with the consumer.
  • Implement OTP generation and validation for secure transactions.(random 6 digit OTP)
  • Provide confirmation for search initiation and handle search responses.
  • Allow the consumer to confirm their selection for energy trading.
  • Generate and process the trading bill for the transaction.
  • Confirm the initiation of the trading process with a generated QR code.
  • Link the generated QR code with UPI for payment.
  • Automatically confirm the transaction upon successful UPI payment.(30 sec default time)
  • Complete the flow with an on_confirm response to finalize the trade.

Expected Outcome

  • A fully functional end-to-end consumer flow for P2P Energy Trading using the Beckn-Gemini Bot, from detecting the consumer to confirming the trade with UPI payment.
  • Seamless interaction for the consumer, guiding them through each step of the energy trading process using prompts.
  • Secure OTP validation and QR code generation linked with UPI for payment.

Acceptance Criteria

  • Consumer flow is detected and initiated correctly by the bot.
  • Electricity bill is successfully uploaded and processed for the consumer.
  • The consumer receives confirmation for P2P Energy Trading signup.
  • OTP is generated, validated, and confirmed for secure transactions.
  • Search for energy trading is initiated, and responses are provided based on consumer queries.
  • Consumer confirms their selection and proceeds with the transaction.
  • Trading bill is generated, and the QR code is linked with UPI for payment.
  • The transaction is automatically confirmed upon successful UPI payment.
  • on_confirm is triggered, finalizing the trading process.

Mockups / Wireframes

NA

Product Name

Beckn-Gemini

Domain

TBD

Tech Skills Needed

  • JavaScript/TypeScript
  • Twilio API Integration (for OTP)
  • Payment Gateway Integration (UPI)
  • Beckn Protocol Understanding
  • Bot Interaction Flows

Complexity

High

Category

Consumer Flow Development

Sub Category

End-to-End Flow

Project View

Beckn-Gemini P2P Energy Trading

Project Name

Beckn-Gemini

@shreyvishal shreyvishal added the enhancement New feature or request label Oct 8, 2024
@shreyvishal
Copy link
Collaborator

Current Status: Development is done and also tested and demoed in the event
Proof Of Completion: Code Base

@emmayank emmayank added the beckn transaction AI beckn transaction AI label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beckn transaction AI beckn transaction AI enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants