Skip to content

Commit 4a12ddf

Browse files
Merge pull request #315 from microsoft/dev
chore: merging dev changes to main
2 parents c05d7d2 + 19027cd commit 4a12ddf

9 files changed

Lines changed: 1121 additions & 142 deletions

docs/DeploymentGuide.md

Lines changed: 373 additions & 142 deletions
Large diffs are not rendered by default.

docs/LocalDevelopmentSetup.md

Lines changed: 703 additions & 0 deletions
Large diffs are not rendered by default.
331 KB
Loading
113 KB
Loading
85.7 KB
Loading
94.9 KB
Loading
196 KB
Loading

docs/re-use-foundry-project.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[← Back to *DEPLOYMENT* guide](/docs/DeploymentGuide.md#deployment-steps)
2+
3+
# Reusing an Existing Azure AI Foundry Project
4+
To configure your environment to use an existing Azure AI Foundry Project, follow these steps:
5+
---
6+
### 1. Go to Azure Portal
7+
Go to https://portal.azure.com
8+
9+
### 2. Search for Azure AI Foundry
10+
In the search bar at the top, type "Azure AI Foundry" and click on it. Then select the Foundry service instance where your project exists.
11+
12+
![alt text](../docs/images/azure_ai_foundry_list.png)
13+
14+
### 3. Navigate to Projects under Resource Management
15+
On the left sidebar of the Foundry service blade:
16+
17+
- Expand the Resource Management section
18+
- Click on Projects (this refers to the active Foundry project tied to the service)
19+
20+
### 4. Click on the Project
21+
From the Projects view: Click on the project name to open its details
22+
23+
Note: You will see only one project listed here, as each Foundry service maps to a single project in this accelerator
24+
25+
![alt text](../docs/images/navigate_to_projects.png)
26+
27+
### 5. Copy Resource ID
28+
In the left-hand menu of the project blade:
29+
30+
- Click on Properties under Resource Management
31+
- Locate the Resource ID field
32+
- Click on the copy icon next to the Resource ID value
33+
34+
![alt text](../docs/images/project_resource_id.png)
35+
36+
### 6. Set the Foundry Project Resource ID in Your Environment
37+
Run the following command in your terminal
38+
```bash
39+
azd env set AZURE_EXISTING_AI_PROJECT_RESOURCE_ID '<Existing Foundry Project Resource ID>'
40+
```
41+
Replace `<Existing Foundry Project Resource ID>` with the value obtained from Step 5.
42+
43+
### 7. Continue Deployment
44+
Proceed with the next steps in the [deployment guide](/docs/DeploymentGuide.md#deployment-steps).

src/frontend/src/pages/batchView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const BatchStoryPage = () => {
7373
const [selectedFileId, setSelectedFileId] = useState<string>("");
7474
const [expandedSections, setExpandedSections] = useState(["errors"]);
7575
const [batchSummary, setBatchSummary] = useState<BatchSummary | null>(null);
76+
const [selectedFileContent, setSelectedFileContent] = useState<string>("");
7677
const [selectedFileTranslatedContent, setSelectedFileTranslatedContent] = useState<string>("");
7778

7879

0 commit comments

Comments
 (0)