Skip to content

Commit

Permalink
Merge pull request #2016 from solliancenet/mg-s19671
Browse files Browse the repository at this point in the history
Adding app config settings for 0.9.0
  • Loading branch information
ciprianjichici authored Dec 2, 2024
2 parents 2a44884 + c76f122 commit ffbe582
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 29 deletions.
3 changes: 3 additions & 0 deletions deploy/quick-start/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ module storage './shared/storage.bicep' = {
{
name: 'vectorization-state'
}
{
name: 'external-modules-python'
}
]
files: []
queues: [
Expand Down
96 changes: 69 additions & 27 deletions deploy/standard/config/appconfig.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,17 @@
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:CompletionResponsePollingIntervalSeconds",
"value": "{ \"value\": 5, \"value_exceptions\": [] }",
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:MaxUploadsPerMessage",
"value": "{ \"value\": 10, \"value_exceptions\": []}",
"label": null,
"content_type": "",
"content_type": "application/json",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:MaxUploadsPerMessage",
"value": "{ \"value\": 10, \"value_exceptions\": [] }",
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:CompletionResponsePollingIntervalSeconds",
"value": "{ \"value\": 10, \"value_exceptions\": []}",
"label": null,
"content_type": "",
"content_type": "application/json",
"tags": {}
},
{
Expand Down Expand Up @@ -252,6 +252,20 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:Entra:RequireScopes",
"value": "true",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:Entra:AllowACLAuthorization",
"value": "false",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:CoreAPI:Configuration:CosmosDB:Endpoint",
"value": "{{cosmosEndpoint}}",
Expand Down Expand Up @@ -392,6 +406,34 @@
"content_type": "application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:LangChainAPI:Configuration:ExternalModules:Storage:AccountName",
"value": "{{storageAccountAdlsName}}",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:LangChainAPI:Configuration:ExternalModules:Storage:AuthenticationType",
"value": "AzureIdentity",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:LangChainAPI:Configuration:ExternalModules:RootStorageContainer",
"value": "external-modules-python",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:LangChainAPI:Configuration:ExternalModules:Modules",
"value": "",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:SemanticKernelAPI:Essentials:APIKey",
"value": "{\"uri\":\"{{keyvaultUri}}secrets/foundationallm-apiendpoints-semantickernelapi-apikey\"}",
Expand Down Expand Up @@ -427,13 +469,6 @@
"content_type": "application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:ManagementAPI:Configuration:AllowedUploadFileExtensions",
"value": "c, cpp, cs, css, csv, doc, docx, gif, html, java, jpeg, jpg, js, json, md, pdf, php, png, pptx, py, rb, sh, tar, tex, ts, txt, xlsx, xml, zip",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:ManagementAPI:Configuration:Entra:Instance",
"value": "https://login.microsoftonline.com/",
Expand Down Expand Up @@ -469,6 +504,13 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:ManagementAPI:Configuration:AllowedUploadFileExtensions",
"value": "c, cpp, cs, css, csv, doc, docx, gif, html, java, jpeg, jpg, js, json, md, pdf, php, png, pptx, py, rb, sh, tar, tex, ts, txt, xlsx, xml, zip",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIEndpoints:VectorizationAPI:Essentials:APIKey",
"value": "{\"uri\":\"{{keyvaultUri}}secrets/foundationallm-apiendpoints-vectorizationapi-apikey\"}",
Expand Down Expand Up @@ -665,13 +707,6 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:DefaultAgentWelcomeMessage",
"value": "Start the conversation using the text box below.",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:FavIconUrl",
"value": "favicon.ico",
Expand Down Expand Up @@ -707,13 +742,6 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:NoAgentsMessage",
"value": "No agents available. Please check with your system administrator for assistance.",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:PageTitle",
"value": "FoundationaLLM User Portal",
Expand Down Expand Up @@ -784,6 +812,20 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:NoAgentsMessage",
"value": "No agents available. Please check with your system administrator for assistance.",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:Branding:DefaultAgentWelcomeMessage",
"value": "Start the conversation using the text box below.",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:UserPortal:Authentication:Entra:Instance",
"value": "https://login.microsoftonline.com/",
Expand Down
1 change: 1 addition & 0 deletions deploy/standard/infra/storage-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ module storage 'modules/storageAccount.bicep' = {
'resource-provider'
'vectorization-input'
'vectorization-state'
'external-modules-python'
]
queues: [
'embed'
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet/Common/Constants/Data/AppConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
"name": "RootStorageContainer",
"description": "The name of the root container in the Azure Storage account.",
"secret": "",
"value": "",
"value": "external-modules-python",
"content_type": "",
"first_version": "0.9.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet/Common/Templates/appconfig.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
},
{
"key": "FoundationaLLM:APIEndpoints:LangChainAPI:Configuration:ExternalModules:RootStorageContainer",
"value": "",
"value": "external-modules-python",
"label": null,
"content_type": "",
"tags": {}
Expand Down

0 comments on commit ffbe582

Please sign in to comment.