mail_bot / app.py

Commit History

  1. Fix tuple error - return only formatted_text from app_handle

    Verified signature
    22a4d65

  1. fixed initialization error

    Verified signature
    921230a
  2. updated the output formatting

    Verified signature
    0571312
  3. updated formatting

    Verified signature
    704a8c1
  4. Fix format_response_text indentation - all indentation errors resolved

    Verified signature
    3a636a2
  5. Fix indentation errors - use consistent 4-space indentation

    Verified signature
    848900c
  6. Update app.py

    Verified signature
    a5484dc
  7. Update app.py

    Verified signature
    37ab447
  8. Add formatted response and remove mail type dropdown - let model auto-classify

    Verified signature
    a1745ba
  9. Remove queue parameters from demo launch in app.py for simplified execution.

    1f028c7
  10. Refactor email handling and model inference.

    f814c93

  1. Fix IndentationError: Correct indentation for email conversion code

    Verified signature
    bfdcd02
  2. Fix SyntaxError: Add proper indentation to email conversion code (lines 89-93)

    Verified signature
    1d2cb8b
  3. Fix SyntaxError: Move email conversion code inside try block before return

    Verified signature
    94bddb3
  4. Convert JSON output to email format: Change output from JSON to proper email text format

    Verified signature
    fe42c82

  1. Add comprehensive error handling and debug logging

    Verified signature
    bbeb47e
  2. Update app.py

    Verified signature
    0db9bc6
  3. Add debug logging to print extracted policy number in app.py

    Verified signature
    c809e63
  4. Enhance email processing in app.py by adding policy number extraction and a new database function to fetch client info by policy. Update logic to handle cases where client_id is not available, improving response accuracy.

    2231cf4
  5. Enhance email handling in app.py: classify emails, generate responses with initial model output, and fetch client data from the database for improved response accuracy.

    6788d4b

  1. Fix syntax error: Remove misplaced @spaces.GPU decorator

    Verified signature
    a242754
  2. Add GPU support for model processing in the application.

    9fd2acf
  3. Add initial application structure with email handling and database integration.

    cb51934
  4. initial commit

    Verified signature
    ab9b70c