Skip to content

Commit ccc7e37

Browse files
fix: Update Conversation Agent and Truncation Strategy for Better Context
2 parents 58fdd82 + 3275ddd commit ccc7e37

File tree

14 files changed

+112
-14
lines changed

14 files changed

+112
-14
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Broken Link Checker
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**/*.md'
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
markdown-link-check:
14+
name: Check Markdown Broken Links
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
# For PR : Get only changed markdown files
24+
- name: Get changed markdown files (PR only)
25+
id: changed-markdown-files
26+
if: github.event_name == 'pull_request'
27+
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
28+
with:
29+
files: |
30+
**/*.md
31+
32+
33+
# For PR: Check broken links only in changed files
34+
- name: Check Broken Links in Changed Markdown Files
35+
id: lychee-check-pr
36+
if: github.event_name == 'pull_request' && steps.changed-markdown-files.outputs.any_changed == 'true'
37+
uses: lycheeverse/[email protected]
38+
with:
39+
args: >
40+
--verbose --exclude-mail --no-progress --exclude ^https?://
41+
${{ steps.changed-markdown-files.outputs.all_changed_files }}
42+
failIfEmpty: false
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
46+
# For manual trigger: Check all markdown files in repo
47+
- name: Check Broken Links in All Markdown Files in Entire Repo (Manual Trigger)
48+
id: lychee-check-manual
49+
if: github.event_name == 'workflow_dispatch'
50+
uses: lycheeverse/[email protected]
51+
with:
52+
args: >
53+
--verbose --exclude-mail --no-progress --exclude ^https?://
54+
'**/*.md'
55+
failIfEmpty: false
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy-KMGeneric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
az deployment group create \
121121
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
122122
--template-file infra/main.bicep \
123-
--parameters environmentName=${{env.SOLUTION_PREFIX}} contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" imageTag=${{ steps.determine_tag.outputs.tagname }} gptDeploymentCapacity=150
123+
--parameters environmentName=${{env.SOLUTION_PREFIX}} contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" imageTag=${{ steps.determine_tag.outputs.tagname }} gptDeploymentCapacity=150 aiDeploymentsLocation="${{ env.AZURE_LOCATION }}"
124124
125125
126126

docs/workshop/docs/workshop/Challenge-1/Deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ We will set up the initial environment for you to build on top of during your Mi
33

44
### **Prerequisites**
55

6-
- To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups and resources**. Follow the steps in [Azure Account Set Up](../../../../docs/AzureAccountSetUp.md)
6+
- To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups and resources**. Follow the steps in [Azure Account Set Up](../../../../../documents/AzureAccountSetUp.md)
77
- [VS Code](https://code.visualstudio.com/download) installed locally
88

99

@@ -15,20 +15,20 @@ Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/g
1515
- Azure AI Content Understanding
1616
- Embedding Deployment Capacity
1717
- GPT Model Capacity
18-
- [Azure Semantic Search](../../../../docs/AzureSemanticSearchRegion.md)
18+
- [Azure Semantic Search](../../../../../documents/AzureSemanticSearchRegion.md)
1919

2020
Here are some example regions where the services are available: East US2
2121

2222
### ⚠️ Important: Check Azure OpenAI Quota Availability
2323

24-
➡️ To ensure sufficient quota is available in your subscription, please follow **[Quota check instructions guide](../../../../docs/QuotaCheck.md)** before you deploy the solution.
24+
➡️ To ensure sufficient quota is available in your subscription, please follow **[Quota check instructions guide](../../../../../documents/QuotaCheck.md)** before you deploy the solution.
2525

2626

2727
### Quota Recommendations
2828
By default, the **GPT model capacity** in deployment is set to **30k tokens**.
2929
> **We recommend increasing the capacity to 120k tokens for optimal performance.**
3030
31-
To adjust quota settings, follow these [steps](../../../../docs/AzureGPTQuotaSettings.md)
31+
To adjust quota settings, follow these [steps](../../../../../documents/AzureGPTQuotaSettings.md)
3232

3333

3434

@@ -84,6 +84,6 @@ Additional Steps
8484

8585
1. **Optional**: Add App Authentication
8686

87-
Follow steps in [App Authentication](../../../../docs/AppAuthentication.md) to configure authenitcation in app service.
87+
Follow steps in [App Authentication](../../../../../documents/AppAuthentication.md) to configure authenitcation in app service.
8888

8989
Note: Authentication changes can take up to 10 minutes

docs/workshop/docs/workshop/Challenge-3-and-4/Challenge-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ One of the easiest and most fun changes you can make to the app is updating the
55
---
66

77
### Step 1: Prepare Your New Logo
8-
1. Create or use a new logo (e.g [Contoso Img logo](../../../../src/App/src/Assets/ContosoImg.png)) in `src/app/src/Assets/`.
8+
1. Create or use a new logo (e.g [Contoso Img logo](../../../../../src/App/src/Assets/ContosoImg.png)) in `src/app/src/Assets/`.
99
2. Save the logo as an image file (e.g., `logo.png`).
1010
3. Ensure the image has a reasonable size (e.g., 100x100 pixels) for better display.
1111
4. Place the logo file in the following folder:

docs/workshop/docs/workshop/Challenge-5/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Content Understanding is an innovative solution designed to analyze and interpre
1010

1111
| File | Description |
1212
| --- | --- |
13-
| [video_chapter_generation.ipynb](video_chapter_generation.ipynb) | Extract semantic descriptions using content understanding API, and then leverage OpenAI to group into video chapters. |
14-
| [video_tag_generation.ipynb](video_tag_generation.ipynb) | Generate video tags based on Azure Content Understanding and Azure OpenAI. |
13+
| [video_chapter_generation.ipynb](../Challenge-5/notebooks/video_chapter_generation.ipynb) | Extract semantic descriptions using content understanding API, and then leverage OpenAI to group into video chapters. |
14+
| [video_tag_generation.ipynb](../Challenge-5/notebooks/video_tag_generation.ipynb) | Generate video tags based on Azure Content Understanding and Azure OpenAI. |
1515

1616
## Getting started
1717

docs/workshop/docs/workshop/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ An analyst managing large volumes of conversational data needs a solution to vis
1010

1111
### Technical key features
1212

13-
![image](../workshop/support-docs/Images/ReadMe/techkeyfeatures.png)
13+
![image](../workshop/img/ReadMe/techkeyfeatures.png)
1414

documents/CustomizingAzdParameters.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ By default this template will use the environment name as the prefix to prevent
2121
| `AZURE_OPENAI_EMBEDDING_MODEL` | string | `text-embedding-ada-002` | Sets the name of the embedding model to use. |
2222
| `AZURE_ENV_IMAGETAG` | string | `latest` | Sets the image tag (`latest`, `dev`, `hotfix`, etc.). |
2323
| `AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY` | integer | `80` | Sets the capacity for the embedding model deployment. |
24-
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | `<Existing Workspace Id>` | Reuses an existing Log Analytics Workspace instead of creating a new one. |
24+
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | Guide to get your [Existing Workspace ID](/documents/re-use-log-analytics.md) | Reuses an existing Log Analytics Workspace instead of creating a new one. |
25+
| `USE_LOCAL_BUILD` | string | `false` | Indicates whether to use a local container build for deployment. |
2526
| `AZURE_EXISTING_AI_PROJECT_RESOURCE_ID` | string | `<Existing AI Project resource Id>` | Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one. |
2627

2728

@@ -38,4 +39,4 @@ azd env set <PARAMETER_NAME> <VALUE>
3839

3940
```bash
4041
azd env set AZURE_LOCATION westus2
41-
```
42+
```

documents/DeploymentGuide.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ Depending on your subscription quota and capacity, you can [adjust quota setting
137137

138138
**⚠️ Warning:** Insufficient quota can cause deployment errors. Please ensure you have the recommended capacity or request additional capacity before deploying this solution.
139139

140+
</details>
141+
<details>
142+
143+
<summary><b>Reusing an Existing Log Analytics Workspace</b></summary>
144+
145+
Guide to get your [Existing Workspace ID](/documents/re-use-log-analytics.md)
146+
140147
</details>
141148

142149
### Deploying with AZD
142 KB
Loading
196 KB
Loading

0 commit comments

Comments
 (0)