Skip to content

Not seeing the upload and index documents option in UI #30

Open

Description

@wydnas

Hi,

Using Ubuntu 22.04 and Firefox v135, python 3.10, miniforge3(conda) built following instructions no errors on install. Running app.py launches the web interface but I am unable to access the 'Upload and Index Documents' function as it does not seem to be present in the web page which is very strange! Without this I am a bit stuck! Here is a screen shot of my UI. Any advice/help pointers appreciated. Starting a new chat does not bring it up and it does not appear to be hidden in any of the menu options available.

Image

Activity

  1. wydnas commented on Feb 12, 2025

    @wydnas
    Author

    A-ha - I may have solved it - it seems that the paperclip gives you access to upload and index - although I thought that would be for additional attached files that relate to a specific prompt and not the route to create the main document library. I will give this a go now.

    However can someone still confirm if I am seeing what should be present?

  2. wydnas commented on Feb 12, 2025

    @wydnas
    Author

    Hmm - OK the upload (via the paperclip) failed on the orca.pdf with the following error:
    2025-02-12 13:15:36,630 - INFO - main - File saved: uploaded_documents/32933021-9e5f-4af2-bfce-27709c9b37e7/Orca_paper.pdf
    2025-02-12 13:15:36,631 - INFO - models.indexer - Starting document indexing in folder: uploaded_documents/32933021-9e5f-4af2-bfce-27709c9b37e7
    2025-02-12 13:15:36,631 - ERROR - models.converters - Error converting documents to PDFs:
    2025-02-12 13:15:36,631 - ERROR - models.indexer - Error during indexing:
    2025-02-12 13:15:36,631 - ERROR - main - Error indexing documents:
    127.0.0.1 - - [12/Feb/2025 13:15:36] "POST /chat HTTP/1.1" 200 -

  3. wydnas commented on Feb 12, 2025

    @wydnas
    Author

    I think I have sorted that problem, in my initial batch of upload files there was a .doc file that made the first upload attempt fail. No documents were indexed on that run. So I tried again and the presence of the .doc file in the uploaded documents prevented any indexing even when subsequently only a single pdf was uploaded. However, once the doc file was manually deleted from the uploaded Documents folder then indexing began to run as expected.

    So it would be good if files that fail to be processed could be moved to an 'unprocessed' folder so they do not interfere with future uploads/indexing.

    I have noticed that indexed documents are only available to the chat session where they were uploaded (via the paperclip) - Should I be seeing a more obvious upload and Index function in the UI (my original Question).

    I have now hit some other issues but will raise these separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions