FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implement AI-powered WhatsApp Kundli flow by Theranjanayush · Pull Request #26 · astrobaba-app/backend-server · GitHub

Implement AI-powered WhatsApp Kundli flow - #26

Open
Theranjanayush wants to merge 1 commit into
submainfrom
whatsapp_flow
Open

Theranjanayush wants to merge 1 commit into
submainfrom
whatsapp_flow

Conversation

Copy link
Copy Markdown

Summary

Implemented AI-powered WhatsApp Kundli creation flow with session-based data collection.

Changes

  • Added WhatsApp Kundli session management.
  • Integrated OpenAI-based extraction and normalization of user details from free-form messages.
  • Added support for incremental data collection with missing field tracking.
  • Implemented session persistence and retry handling.
  • Added default birth time (00:00:00) when time of birth is unavailable.
  • Integrated existing Kundli creation flow after successful data extraction.
  • Added WhatsApp API key validation.
  • Added new WhatsApp routes, controllers, models, and helper utilities.

Flow

  1. User submits Kundli details in a single WhatsApp message.
  2. OpenAI extracts and normalizes the data.
  3. Missing fields are tracked and requested from the user.
  4. Session data is updated until all required fields are available.
  5. Kundli is automatically generated using the existing creation flow.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL