mirror of
				https://github.com/Azure-Samples/graphrag-accelerator.git
				synced 2025-11-04 04:29:17 +00:00 
			
		
		
		
	Launch Instructions
- 
Deploy the GraphRAG solution accelerator. Follow instructions from the deployment guide to deploy a full instance of the solution accelerator.
 - 
Create a
.envfile with the following environment variables defined: 
| Variable Name | Description | 
|---|---|
| DEPLOYMENT_URL | Base url of the deployed graphrag API. Also referred to as the APIM Gateway URL. | 
| APIM_SUBSCRIPTION_KEY | A subscription key generated by APIM. | 
| DEPLOYER_EMAIL | (optional) The email address of the person/organization that deployed the solution accelerator. Will default to deployer@email.com. | 
The frontend application is a simple streamlit app meant to demonstrate how to build a UI on top of the solution accelerator API. It can run as a docker container locally:
# cd to the root directory of the repo
> docker build -t graphrag:frontend -f docker/Dockerfile-frontend .
> docker run --env-file <env_file> -p 8080:8080 graphrag:frontend
To access the app , visit localhost:8080 in your browser.
This UI application can also be hosted in Azure as a Web App for example.