You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot quit figure out how to redeploy the frontend after having deployed rag-gpt.
I deployed rag-gpt as the readme instructed.
Due to a bug where the ingestion function has no write permissions to the cognitive search instance, I have to change some lines in this repo and redeploy.
I cloned the repo and tried to executed
azd auth login
azd env refresh
but I get:
ERROR: getting deployment: error retrieving state: retrieving deployment: no deployments found for environment gptragtmp
WARNING: your version of azd is out of date, you have 1.5.0 and the latest version is 1.5.1
To update to the latest version, visit https://aka.ms/azd/upgrade/windows
So for some reason it does not detect the deployment I already made.
I went back to the directory of the rag-gpt clone and did a azd show which shows:
Environments:
gpt-rag [Current]
I tried to set that environment name in the config.json of the gpt-rag-ingestion directory:
{"version":1,"defaultEnvironment":"gpt-rag"} instead of {"version":1,"defaultEnvironment":"gptragtmp"}
but then it shows me this:
azd env refresh
Environment 'gpt-rag' does not exist, would you like to create it? (Y/n)
The text was updated successfully, but these errors were encountered:
Because you're getting "error retrieving state: retrieving deployment: no deployments found for environment gptragtmp" yo wont be able to do an azd env refresh, it needs a successful deployment (or provisioning) to retrieve env variables.
I cannot quit figure out how to redeploy the frontend after having deployed rag-gpt.
I deployed rag-gpt as the readme instructed.
Due to a bug where the ingestion function has no write permissions to the cognitive search instance, I have to change some lines in this repo and redeploy.
I cloned the repo and tried to executed
but I get:
So for some reason it does not detect the deployment I already made.
I went back to the directory of the rag-gpt clone and did a
azd show
which shows:I tried to set that environment name in the config.json of the gpt-rag-ingestion directory:
but then it shows me this:
The text was updated successfully, but these errors were encountered: