# gpt-rag-ui **Repository Path**: mirrors_Azure/gpt-rag-ui ## Basic Information - **Project Name**: gpt-rag-ui - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-20 - **Last Updated**: 2026-03-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GPT-RAG Web UI Part of the [GPT-RAG](https://github.com/Azure/gpt-rag) solution. This repo provides a user interface built with [Chainlit](https://www.chainlit.io/) to interact with GPT-powered retrieval-augmented generation systems. It is designed to work seamlessly with the Orchestrator backend and supports customization and theming. ## Documentation For comprehensive information about GPT-RAG, including architecture details, configuration guides, best practices, troubleshooting resources, deployment guidance, customization options, and advanced usage scenarios, please refer to the [official project documentation](https://azure.github.io/GPT-RAG/). ## Prerequisites Provision the infrastructure first by following the GPT-RAG repository instructions [GPT-RAG](https://github.com/azure/gpt-rag). This ensures all required Azure resources (e.g., Container App, Storage, AI Search) are in place before deploying the web application.
Click to view software prerequisites
The machine used to customize and or deploy the service should have: * Azure CLI: [Install Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) * Azure Developer CLI (optional, if using azd): [Install azd](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd) * Git: [Download Git](https://git-scm.com/downloads) * Python 3.12: [Download Python 3.12](https://www.python.org/downloads/release/python-3120/) * Docker CLI: [Install Docker](https://docs.docker.com/get-docker/) * VS Code (recommended): [Download VS Code](https://code.visualstudio.com/download)
## Deployment steps Make sure you're logged in to Azure before anything else: ```bash az login ``` ### Deploying the app with azd (recommended) Initialize the template: ```shell azd init -t azure/gpt-rag-ui ``` > [!IMPORTANT] > Use the **same environment name** with `azd init` as in the infrastructure deployment to keep components consistent. Update env variables then deploy: ```shell azd env refresh azd deploy ``` > [!IMPORTANT] > Run `azd env refresh` with the **same subscription** and **resource group** used in the infrastructure deployment. ### Deploying the app with a shell script To deploy using a script, first clone the repository, set the App Configuration endpoint, and then run the deployment script. ##### PowerShell (Windows) ```powershell git clone https://github.com/Azure/gpt-rag-ui.git $env:APP_CONFIG_ENDPOINT = "https://.azconfig.io" cd gpt-rag-ui .\scripts\deploy.ps1 ``` ##### Bash (Linux/macOS) ```bash git clone https://github.com/Azure/gpt-rag-ui.git export APP_CONFIG_ENDPOINT="https://.azconfig.io" cd gpt-rag-ui ./scripts/deploy.sh ```` ## 🎨 Customization - Modify theme in `public/theme.json` - Customize layout with `public/custom.css` - Adjust app behavior in `.chainlit/config.toml` ### Release footer The UI can show release versions in a subtle footer at the bottom of the page. - `SHOW_RELEASE_FOOTER` (boolean, default `true`): enables or disables footer display. - `RELEASE` (string): GPT-RAG release value from App Configuration. - `VERSION` file: GPT-RAG UI release value (local file in this repository). Display format: `gpt-rag vX.Y.Z | gpt-rag-ui vA.B.C` Behavior: - If a value does not start with `v`, the prefix is added automatically. - If one value is missing, the footer shows an English fallback message for that side. - The frontend fetches release data from `/version-footer`. ## Found an Issue? Encountered an error or bug? Help us improve the quality of this accelerator by reporting issues or suggesting enhancements on our [GitHub Issues page](https://github.com/Azure/GPT-RAG/issues). Your feedback helps make GPT-RAG better for everyone! ## Previous Releases > [!NOTE] > For earlier versions, use the corresponding release in the GitHub repository (e.g., v1.0.0 for the initial version). ## 🤝 Contributing We appreciate contributions! See [CONTRIBUTING](https://github.com/Azure/gpt-rag/blob/main/CONTRIBUTING.md) for guidelines on submitting pull requests. ## Trademarks This project may contain trademarks or logos. Authorized use of Microsoft trademarks or logos must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Modified versions must not imply sponsorship or cause confusion. Third-party trademarks are subject to their own policies.