Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.96k stars 4.09k forks source link

Customization issues #979

Open AdainRos opened 10 months ago

AdainRos commented 10 months ago

Issues:

additional info:

Any Solutions?

AdainRos commented 10 months ago

2023-11-21T07:15:15.530777699Z / /_\ \ / | \ _/ \ 2023-11-21T07:15:15.530782099Z / | \/ /| | /| | \/\ _/ 2023-11-21T07:15:15.530786100Z _| / __/ |_| \ > 2023-11-21T07:15:15.530790500Z \/ \/ \/ 2023-11-21T07:15:15.530794400Z A P P S E R V I C E O N L I N U X 2023-11-21T07:15:15.530798300Z 2023-11-21T07:15:15.530810100Z Documentation: http://aka.ms/webapp-linux 2023-11-21T07:15:15.530814000Z Python 3.11.4 2023-11-21T07:15:15.530818000Z Note: Any data outside '/home' is not persisted 2023-11-21T07:15:19.264073616Z Starting OpenBSD Secure Shell server: sshd. 2023-11-21T07:15:19.563102363Z Site's appCommandLine: python3 -m gunicorn main:app 2023-11-21T07:15:19.575775473Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite -userStartupCommand 'python3 -m gunicorn main:app' 2023-11-21T07:15:19.792632960Z Found build manifest file at '/home/site/wwwroot/oryx-manifest.toml'. Deserializing it... 2023-11-21T07:15:19.820881727Z Build Operation ID: f4fc46527bf97648 2023-11-21T07:15:19.820910828Z Oryx Version: 0.2.20230707.1, Commit: 0bd28e69919b5e8beba451e8677e3345f0be8361, ReleaseTagName: 20230707.1 2023-11-21T07:15:19.824049280Z Output is compressed. Extracting it... 2023-11-21T07:15:19.824136281Z Extracting '/home/site/wwwroot/output.tar.gz' to directory '/tmp/8dbea6101e8f100'... 2023-11-21T07:15:40.613211562Z App path is set to '/tmp/8dbea6101e8f100' 2023-11-21T07:15:40.662029384Z Writing output script to '/opt/startup/startup.sh' 2023-11-21T07:15:40.848360584Z Using packages from virtual environment antenv located at /tmp/8dbea6101e8f100/antenv. 2023-11-21T07:15:40.848505987Z Updated PYTHONPATH to '/opt/startup/app_logs:/tmp/8dbea6101e8f100/antenv/lib/python3.11/site-packages' 2023-11-21T07:15:42.727769302Z [2023-11-21 07:15:42 +0000] [71] [INFO] Starting gunicorn 20.1.0 2023-11-21T07:15:42.731411983Z [2023-11-21 07:15:42 +0000] [71] [INFO] Listening at: http://0.0.0.0:8000 (71) 2023-11-21T07:15:42.741609210Z [2023-11-21 07:15:42 +0000] [71] [INFO] Using worker: uvicorn.workers.UvicornWorker 2023-11-21T07:15:42.774692544Z [2023-11-21 07:15:42 +0000] [72] [INFO] Booting worker with pid: 72 2023-11-21T07:15:42.813295502Z [2023-11-21 07:15:42 +0000] [73] [INFO] Booting worker with pid: 73 2023-11-21T07:15:42.892824869Z [2023-11-21 07:15:42 +0000] [74] [INFO] Booting worker with pid: 74 2023-11-21T07:16:24.324553400Z [2023-11-21 07:16:24 +0000] [74] [INFO] Started server process [74] 2023-11-21T07:16:24.325159213Z [2023-11-21 07:16:24 +0000] [74] [INFO] Waiting for application startup. 2023-11-21T07:16:24.325171413Z [2023-11-21 07:16:24 +0000] [72] [INFO] Started server process [72] 2023-11-21T07:16:24.325186814Z [2023-11-21 07:16:24 +0000] [72] [INFO] Waiting for application startup. 2023-11-21T07:16:24.325192114Z [2023-11-21 07:16:24 +0000] [73] [INFO] Started server process [73] 2023-11-21T07:16:24.325197014Z [2023-11-21 07:16:24 +0000] [73] [INFO] Waiting for application startup. 2023-11-21T07:16:29.521479259Z [2023-11-21 07:16:29 +0000] [74] [INFO] Application startup complete. 2023-11-21T07:16:29.529469814Z [2023-11-21 07:16:29 +0000] [73] [INFO] Application startup complete. 2023-11-21T07:16:29.530166828Z [2023-11-21 07:16:29 +0000] [72] [INFO] Application startup complete.

AdainRos commented 10 months ago

@pamelafox I know you're overwhelmed with other more important issues. This may have been resolved in a close issue, but I still don't know what I'm doing wrong.

pamelafox commented 10 months ago

@AdainRos Hm, the azd deploy should have packaged up your changed javscript, copied that into app/backend/static, and then re-uploaded the zipped code to App Service.

Here are things to check:

You could also share your logs from "azd deploy" so we can see if it mentions any issues with the packaging stage.