Commit History

  1. fix ValueError below⁠

    Verified signature
    480beb6
  2. fix to handle error: ValueError: Returned dictionary included some keys as Components. Either all keys must be Components to assign Component values, or return a List of values to assign output values in order.

    Verified signature
    5070fef
  3. fix state propagation issue between process_pdf() and chat_withdoc()

    Verified signature
    f11f97c
  4. add conversation history (MULTI-turn conversation support)

    Verified signature
    22dd68c
  5. adding gr.Info messages during the PDF processing and also improved the error handling to display messages in the UI if something goes wrong.

    Verified signature
    9cc9353

  1. + self-cleaning logic⁠

    Verified signature
    2b5cccc
  2. fix issue of seeing context from previously uploaded doc due to gradio state being shared incorrectly

    Verified signature
    f5dabf5
  3. fix invalid syntax error:

    Verified signature
    965a01e
  4. explicity pass the GOOGle-api key to llm and embedding model to resolve the 503 Illegal metadata and timeout errors

    Verified signature
    9a69935
  5. change chat funcs to be async funcs⁠

    Verified signature
    13931f8
  6. fix to create a uniquely named collection for each PDF upload session, to ensue concurrent user data is properly isolated.

    Verified signature
    8b441cf
  7. remove nest_asyncio to fix deployment issue

    Verified signature
    42c67b1
  8. swicth from BAAI/bge-large-en-v1.5 to google generative model

    Verified signature
    124f540
  9. update to remove specific port binding for app

    Verified signature
    c89d558

  1. find_available_port()

    Verified signature
    c9d2c90
  2. let the app choose os.environ["GRADIO_SERVER_PORT"] = "7861-7870"

    Verified signature
    60bbf45
  3. trying server port: 7861 since 7860 is unavailable

    Verified signature
    95ba3b6
  4. add nest_asyncio

    Verified signature
    5865dab
  5. additional print statements

    Verified signature
    78d7b7f
  6. fix indentation issue

    Verified signature
    d64bbb5
  7. add some debug print statements to debug the state,db being unavaiable in chat_with_pdf()

    Verified signature
    a68a0ec
  8. fix to handle state.db being intied properly in process_pdf function

    Verified signature
    886337d
  9. attempt to fix UI issue⁠

    Verified signature
    fb9812a
  10. attempt 3 to fix UI visbility issue

    Verified signature
    bdb02ff
  11. attempt to fix chatinterface being invisble after file uploaded

    Verified signature
    3aacd49
  12. attempt to fix UI upload file function update

    Verified signature
    2eb2e08
  13. fix for chatinterface not being visible post successful PDF upload

    Verified signature
    054e6c6
  14. fix for The gr.ChatInterface component does not have a visible parameter⁠

    Verified signature
    f6f31a0
  15. attempt to fix keyerror:7 on global state object⁠

    Verified signature
    79ff6ae
  16. attempt to fix keyError:7 for global object:state

    Verified signature
    bc68e2a
  17. fix KeyError: 7 becasue of state object being re-intialised within process_pdf()

    Verified signature
    0215574
  18. attempt to fix AttributeError: 'function' object has no attribute 'is_db_ready' + PDF validation to limit file size <75MB only

    Verified signature
    9dcff61
  19. fix for ValueError below⁠

    Verified signature
    187f700
  20. fix to update keyerror⁠

    Verified signature
    0163219
  21. fix for AttributeError⁠

    Verified signature
    656e456
  22. fix for AttributeError: 'NoneType' object has no attribute 'is_db_ready'⁠

    Verified signature
    e2cd7fd
  23. fix for /home/user/app/app.py:157: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead,

    Verified signature
    76c4d45
  24. update to fix ModuleNotFoundError: No module named 'PyMuPDF'

    Verified signature
    febca85
  25. add GOOGLE_API_KEY key environment variable

    Verified signature
    32f81ad
  26. Application file with Gradio UI to upload PDF and chatbot interface for Q&A on the PDF document⁠

    Verified signature
    1f44a86