-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/solliancenet/foundationallm …
…into skm-19155-2
- Loading branch information
Showing
46 changed files
with
1,296 additions
and
1,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
deploy/common/data/resource-provider/FoundationaLLM.AIModel/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
completion-*model.json | ||
embedding-model.json | ||
embedding-model.json | ||
dall-e-3-model.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ GatewayAdapterAPI.json | |
AzureOpenAI.json | ||
AzureAISearch.json | ||
AzureEventGrid.json | ||
OneDriveFileStoreConnector.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,21 @@ | |
- FoundationaLLM-Core-Portal | ||
- FoundationaLLM-Management-API | ||
- FoundationaLLM-Management-Portal | ||
- FoundationaLLM-Reader | ||
The script will also assign the required permissions to the client apps and the required API permissions to the API apps. | ||
The script will also assign the required permissions to the client apps and the required API permissions to the API apps. | ||
Users can be added as Owners of the app registrations by creating an `admins.json` file in the `deploy/common/config` folder | ||
with the following JSON array content | ||
```json | ||
[ | ||
"[email protected]", | ||
"[email protected]" | ||
] | ||
``` | ||
> Note: Only members of the resident tenant will be able to be imported in this manner. Accounts outside of the tenant will | ||
be ignored. | ||
.REQUIREMENTS | ||
- The user must be a Global Administrator in the Entra ID tenant or have RBAC rights to create App Registrations and Service Principals. | ||
|
@@ -24,6 +37,7 @@ | |
- foundationallm-core-portal.template.json | ||
- foundationallm-management-api.template.json | ||
- foundationallm-management-portal.template.json | ||
- foundationallm-reader.template.json | ||
.PARAMETER appPermissionsId | ||
The GUID of the permission to assign to the client app. | ||
|
@@ -169,7 +183,7 @@ function New-FllmEntraIdApps { | |
## Updates the Client App Registration | ||
Write-Host -ForegroundColor Yellow "Preparing updates for the Client App Registration $($fllmAppRegMetaData.Client.Name)" | ||
$($fllmAppRegMetaData.Client).Uri = @("api://$($fllmAppRegMetaData.Client.Name)") | ||
$apiPermissions = @(@{"resourceAppId" = $($fllmAppRegMetaData.Client.AppId); "resourceAccess" = @(@{"id" = "$($appPermissionsId)"; "type" = "Scope" }) }, @{"resourceAppId" = "00000003-0000-0000-c000-000000000000"; "resourceAccess" = @(@{"id" = "e1fe6dd8-ba31-4d61-89e7-88639da4683d"; "type" = "Scope" }) }) | ||
$apiPermissions = @(@{"resourceAppId" = $($fllmAppRegMetaData.Api.AppId); "resourceAccess" = @(@{"id" = "$($appPermissionsId)"; "type" = "Scope" }) }, @{"resourceAppId" = "00000003-0000-0000-c000-000000000000"; "resourceAccess" = @(@{"id" = "e1fe6dd8-ba31-4d61-89e7-88639da4683d"; "type" = "Scope" }) }) | ||
$appConfig = Get-content $fllmClientConfigPath | ConvertFrom-Json -Depth 20 | ||
$appConfig.identifierUris = @($($fllmAppRegMetaData.Client.Uri)) | ||
$appConfig.requiredResourceAccess = $apiPermissions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.