Gabriel Nieves-Ponce a0f0b78b91
Gnievesponce/remove verbose exceptions (#32)
Co-authored-by: Gabriel Nieves-Ponce <gnievesponce@microsoft.com>
2024-06-27 16:05:12 -04:00
..
2024-06-26 15:45:06 -04:00
2024-06-26 15:45:06 -04:00
2024-06-26 15:45:06 -04:00
2024-06-26 15:45:06 -04:00
2024-06-26 15:45:06 -04:00

Launch Instructions

  1. Deploy the GraphRAG solution accelerator. Follow instructions from the deployment guide to deploy a full instance of the solution accelerator.

  2. Create a .env file 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.