A collaborative decision-making engine where users can log in, enter what they are struggling to decide on, propose options, receive AI-generated suggestions, and vote on their preferences of all of the options each individual user entered. The top options are then displayed in real-time on each user's screen, helping groups quickly come to a decision after seeing the best choices.
- User logs in.
- User creates or joins a decision-making session.
- Users input options; backend combines lists and broadcasts them to all devices.
- AI (OpenAI API) suggests additional options.
- Users allocate points (3, 2, 1) to their top choices.
- Results are tallied and displayed in real time.
sequenceDiagram
actor User
actor AI
participant Backend
participant Database
User->>Backend: Login
Backend->>Database: Authenticate User
Database-->>Backend: Success/Failure
Backend-->>User: Login Confirmation
User->>Backend: Create/Join Decision Session
Backend-->>User: Session Created/Joined
User->>Backend: Submit Options
Backend->>Database: Save Options
Backend-->>User: Confirm Options Saved
Backend-->>All Users: Broadcast Combined Options
Backend->>AI: Request Suggestions
AI-->>Backend: Return Additional Options
Backend-->>All Users: Broadcast Updated Options
User->>Backend: Allocate Points (3, 2, 1)
Backend->>Database: Save Votes
Backend->>All Users: Broadcast Real-time Results
Backend->>Database: Tally Results
Database-->>Backend: Final Results
Backend-->>All Users: Display Final Results
- Secure login and session management
- Ability to enter the question to decide
- Option input and AI-generated suggestions
- Real-time synchronization of options across devices
- Voting system with weighted points (3, 2, 1)
- Totals from all users displayed in realtime
- Results and user entered lists stored
-Uses correct HTML structure for application. Five HTML pages. A page for login, a page for creating a session or joining a session, entering options, voting, and for results. -Responsive, visually appealing design that adapts to various screen sizes. -Provides login, display for entering ideas, displays AI generated ideas, applying votes, display total users votes, and use of React for navigation. -REST API endpoints could be used for login, option submission, voting, and result retrieval. OpenAI API will be used to generate options related to what users entered as their option ideas. -Database will store user sessions, decision topics, entered lists, and result retrieval. It will login users and keep sessions between authorized users. Authentication ensures only authorized users participate. Potentially may create a login system using JSON Web Tokens (JWT) -Enables real-time updates for synchronization and vote tallying.




