Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions docs/AVMPostDeploymentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,24 @@ Ensure you have a **Deployed Infrastructure** - A successful Chat with your data

## Post Deployment Steps

### Step 1: Configure App Authentication
### Step 1: Run the Post-Deployment Setup Script

Run the post-deployment setup script to configure the Function App client key and create PostgreSQL tables (if applicable). Open [Azure Cloud Shell](https://shell.azure.com) (Bash) and run:

```bash
az login
git clone https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator.git
cd chat-with-your-data-solution-accelerator
bash scripts/post_deployment_setup.sh "<your-resource-group-name>"
```

### Step 2: Configure App Authentication

1. After deployment is complete, navigate to your Azure App Service in the Azure portal
2. Follow the detailed instructions in [Set Up Authentication in Azure App Service](./azure_app_service_auth_setup.md) to add authentication to your web app
3. This will ensure only authorized users can access your application

### Step 2: Access and Configure the Admin Site
### Step 3: Access and Configure the Admin Site

1. **Navigate to the admin site** using the following URL pattern:
```
Expand All @@ -36,7 +47,7 @@ Ensure you have a **Deployed Infrastructure** - A successful Chat with your data
- Wait for the documents to be processed and indexed
- Verify successful ingestion through the admin interface

### Step 3: Access the Chat Application
### Step 4: Access the Chat Application

1. **Navigate to the main chat application** using this URL pattern:
```
Expand Down
6 changes: 3 additions & 3 deletions docs/postgreSQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ LIMIT $2;

---

### 4. **Automated Table Creation**
The PostgreSQL deployment process automatically creates the necessary tables for chat history and vector storage, including table indexes. The script `create_postgres_tables.py` is executed as part of the infrastructure deployment, ensuring the database is ready for use immediately after setup.
### 4. **Table Creation**
The necessary PostgreSQL tables for chat history and vector storage, including table indexes, are created as part of the post-deployment steps. The `setup_postgres_tables.py` script is executed during post-deployment, and once complete, the database will be ready for use.

---

Expand All @@ -78,7 +78,7 @@ All PostgreSQL connections use secure configurations:
## Benefits of PostgreSQL Integration
1. **Scalability**: PostgreSQL offers robust data storage and table indexing capabilities suitable for large-scale deployments
2. **Flexibility**: Dynamic database switching allows users to choose between PostgreSQL and CosmosDB based on their requirements.
3. **Ease of Use**: Automated table creation and environment configuration simplify deployment and management.
3. **Ease of Use**: A single post-deployment script handles table creation and environment configuration, simplifying deployment and management.
4. **Security**: SSL-enabled connections and secure credential handling ensure data protection.


Expand Down
48 changes: 0 additions & 48 deletions scripts/data_scripts/azure_credential_utils.py

This file was deleted.

91 changes: 0 additions & 91 deletions scripts/data_scripts/create_postgres_tables.py

This file was deleted.

35 changes: 0 additions & 35 deletions scripts/run_create_table_script.sh

This file was deleted.

Loading