Azure-Samples / chat-with-your-data-solution-accelerator

A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
https://azure.microsoft.com/products/search
MIT License
521 stars 274 forks source link

Bug - Admin site pages for Explore and Delete are broken #763

Closed robth-microsoft closed 2 weeks ago

robth-microsoft commented 3 weeks ago

Describe the bug

The admin site deploys fine, launches, and offers the Ingest data page which works. However the Explore and Delete pages are broken and have no functionality.

Expected behavior

All admin pages working fine.

How does this bug make you feel?

Unhappy that the back-end cannot be administered. Also disappointed that check-ins are happening that allow breaking changes like this. Bummed that Microsoft does not have a QA process for public Github repos to confirm pull requests do not result in breaking changes.


Debugging information

Steps to reproduce

  1. One-click deploy the accelerator
  2. Successful deployment, no errors reported
  3. Launch the admin web site
  4. Ingest some files
  5. Go to Explore or Delete pages in the admin site
  6. Neither works, has a large pink error message that says:

ModuleNotFoundError: No module named 'backend' Traceback: File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/usr/local/src/myscripts/admin/pages/02_Explore_Data.py", line 7, in from batch.utilities.search.IntegratedVectorizationSearchHandler import ( File "/usr/local/src/myscripts/admin/batch/utilities/search/IntegratedVectorizationSearchHandler.py", line 1, in from backend.batch.utilities.search.SearchHandlerBase import SearchHandlerBase

Screenshots

image

Logs

If applicable, add logs to help the engineer debug the problem.


Tasks

To be filled in by the engineer picking up the issue

chriswoj commented 3 weeks ago

It's also after a clean install via the portal and fails with the same error message.

komalg1 commented 2 weeks ago

Hi @robth-microsoft , @chriswoj. Can you please check now?