Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial stabilization of 0.8.0 release #1307

Merged
merged 29 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
80f08e6
Add Essentials to LangChain App Insights connection string
codingbandit Jul 30, 2024
ef72644
Add ManagementAPI Essentials to Management API config load
codingbandit Jul 30, 2024
473689b
Update APIEndpointConfiguration APIKey namespaces
codingbandit Jul 30, 2024
47bef6a
Multiple config loading fixes
codingbandit Jul 30, 2024
61dcfd6
Add StateAPI URL Configuration for Python APIs to read.
codingbandit Jul 31, 2024
19f7498
Vectorization changes for startup.
saimachi Jul 31, 2024
fd0b260
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
saimachi Jul 31, 2024
44ead3a
Changes to support Azure OpenAI Direct.
saimachi Jul 31, 2024
d1b7e9e
Use operationResultPath in polling client
alistar-andrei Jul 31, 2024
195bd7d
Add default values for Optional fields in api_endpoint_configuration
alistar-andrei Jul 31, 2024
dc316ba
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
alistar-andrei Jul 31, 2024
1211a9f
Updated key names in main.parameter.json.
saimachi Jul 30, 2024
477a642
removed a comment
codingbandit Jul 31, 2024
a057525
Added CosmosDB role assignment for State API.
saimachi Jul 31, 2024
7a8b732
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
saimachi Jul 31, 2024
633ee2c
Update config keys to match latest changes
joelhulen Jul 31, 2024
23cfb10
Bicep updates
joelhulen Jul 31, 2024
c4bdc79
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
joelhulen Jul 31, 2024
a6acff8
Updates to polling client and langchain polling interval
codingbandit Jul 31, 2024
d1c64aa
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
codingbandit Jul 31, 2024
1796c34
moved polling to the end of the while loop
codingbandit Jul 31, 2024
e7a585e
Update App Config keys
joelhulen Jul 31, 2024
6a96f3a
Update external orchestration service type
joelhulen Jul 31, 2024
558ff07
Update info page
joelhulen Jul 31, 2024
ee92132
Merge
joelhulen Jul 31, 2024
aab16ef
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
joelhulen Jul 31, 2024
df5b3a4
Remove debug code
codingbandit Jul 31, 2024
b4c429b
Null check
joelhulen Jul 31, 2024
f67b2c2
Merge branch 'cp-080-fixes' of https://github.com/solliancenet/founda…
joelhulen Jul 31, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:APIKey"
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:Essentials:APIKey"
},
"url": "https://eg-mg08-fllmstd-westus-svc.westus3-1.eventgrid.azure.net/",
"url_exceptions": [],
"timeout_seconds": 60,
"retry_strategy_name": "ExponentialBackoff"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureContentSafety:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureContentSafety:Essentials:APIKey",
"api_key_header_name": "Ocp-Apim-Subscription-Key"
},
"url": "${env:AZURE_CONTENT_SAFETY_ENDPOINT}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:APIKey"
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:Essentials:APIKey"
},
"url": "${env:AZURE_EVENT_GRID_ENDPOINT}",
"url_exceptions": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
"cost_center": null,
"category": "General",
"authentication_type": "APIKey",
"api_version": "2023-05-15",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureOpenAI:APIKey"
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureOpenAI:Essentials:APIKey",
"api_key_header_name": "api-key"
},
"operation_type": "chat",
"url": "${env:AZURE_OPENAI_ENDPOINT}",
"url_exceptions": [],
"timeout_seconds": 60,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_GATEKEEPER_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperIntegrationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperIntegrationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_GATEKEEPER_INTEGRATION_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_GATEWAY_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAdapterAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAdapterAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_GATEWAY_ADAPTER_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Orchestration",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:LangChainAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:LangChainAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_LANGCHAIN_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:OrchestrationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:OrchestrationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_ORCHESTRATION_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Orchestration",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:SemanticKernelAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:SemanticKernelAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_SEMANTIC_KERNEL_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:StateAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:StateAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_STATE_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_VECTORIZATION_API_ENDPOINT_URL}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationWorker:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationWorker:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "${env:SERVICE_VECTORIZATION_JOB_ENDPOINT_URL}",
Expand Down
1 change: 1 addition & 0 deletions deploy/quick-start/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ module acaServices './app/acaService.bicep' = [
var cosmosRoleTargets = [
'core-api'
'core-job'
'state-api'
]

module cosmosRoles './shared/sqlRoleAssignments.bicep' = [
Expand Down
22 changes: 11 additions & 11 deletions deploy/quick-start/infra/main.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"hasIngress": false,
"image": "${SERVICE_COREJOB_IMAGE=cropseastus2svinternal.azurecr.io/core-job:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-corejob-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-coreworker-apikey",
"cpu": "${SERVICE_COREJOB_CPU=1.0}",
"memory": "${SERVICE_COREJOB_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_COREJOB_REPLICAS}"
Expand All @@ -171,7 +171,7 @@
"hasIngress": true,
"image": "${SERVICE_GATEKEEPERAPI_IMAGE=cropseastus2svinternal.azurecr.io/gatekeeper-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-gatekeeperapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-gatekeeperapi-apikey",
"cpu": "${SERVICE_GATEKEEPERAPI_CPU=1.0}",
"memory": "${SERVICE_GATEKEEPERAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_GATEKEEPERAPI_REPLICAS}"
Expand All @@ -182,7 +182,7 @@
"hasIngress": true,
"image": "${SERVICE_GATEKEEPERINTEGRATIONAPI_IMAGE=cropseastus2svinternal.azurecr.io/gatekeeper-integration-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FOUNDATIONALLM_APP_CONFIGURATION_URI",
"apiKeySecretName": "foundationallm-apis-gatekeeperintegrationapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-gatekeeperintegrationapi-apikey",
"cpu": "${SERVICE_GATEKEEPERINTEGRATIONAPI_CPU=1.0}",
"memory": "${SERVICE_GATEKEEPERINTEGRATIONAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_GATEKEEPERINTEGRATIONAPI_REPLICAS}"
Expand All @@ -193,7 +193,7 @@
"hasIngress": true,
"image": "${SERVICE_GATEWAYADAPTERAPI_IMAGE=cropseastus2svinternal.azurecr.io/gateway-adapter-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-gatewayadapterapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-gatewayadapterapi-apikey",
"cpu": "${SERVICE_GATEWAYADAPTERAPI_CPU=1.0}",
"memory": "${SERVICE_GATEWAYADAPTERAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_GATEWAYADAPTERAPI_REPLICAS}"
Expand All @@ -204,7 +204,7 @@
"hasIngress": true,
"image": "${SERVICE_GATEWAYAPI_IMAGE=cropseastus2svinternal.azurecr.io/gateway-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-gatewayapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-gatewayapi-apikey",
"cpu": "${SERVICE_GATEWAYAPI_CPU=1.0}",
"memory": "${SERVICE_GATEWAYAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_GATEWAYAPI_REPLICAS}"
Expand All @@ -215,7 +215,7 @@
"hasIngress": true,
"image": "${SERVICE_LANGCHAINAPI_IMAGE=cropseastus2svinternal.azurecr.io/langchain-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FOUNDATIONALLM_APP_CONFIGURATION_URI",
"apiKeySecretName": "foundationallm-apis-langchainapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-langchainapi-apikey",
"cpu": "${SERVICE_LANGCHAINAPI_CPU=1.0}",
"memory": "${SERVICE_LANGCHAINAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_LANGCHAINAPI_REPLICAS}"
Expand Down Expand Up @@ -248,7 +248,7 @@
"hasIngress": true,
"image": "${SERVICE_ORCHESTRATIONAPI_IMAGE=cropseastus2svinternal.azurecr.io/orchestration-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-orchestrationapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-orchestrationapi-apikey",
"cpu": "${SERVICE_ORCHESTRATIONAPI_CPU=1.0}",
"memory": "${SERVICE_ORCHESTRATIONAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_ORCHESTRATIONAPI_REPLICAS}"
Expand All @@ -270,7 +270,7 @@
"hasIngress": true,
"image": "${SERVICE_SEMANTICKERNELAPI_IMAGE=cropseastus2svinternal.azurecr.io/semantic-kernel-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-semantickernelapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-semantickernelapi-apikey",
"cpu": "${SERVICE_SEMANTICKERNELAPI_CPU=1.0}",
"memory": "${SERVICE_SEMANTICKERNELAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_SEMANTICKERNELAPI_REPLICAS}"
Expand All @@ -281,7 +281,7 @@
"hasIngress": true,
"image": "${SERVICE_STATEAPI_IMAGE=cropseastus2svinternal.azurecr.io/state-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-stateapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-stateapi-apikey",
"cpu": "${SERVICE_STATEAPI_CPU=1.0}",
"memory": "${SERVICE_STATEAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_STATEAPI_REPLICAS}"
Expand All @@ -292,7 +292,7 @@
"hasIngress": true,
"image": "${SERVICE_VECTORIZATIONAPI_IMAGE=cropseastus2svinternal.azurecr.io/vectorization-api:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-vectorizationapi-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-vectorizationapi-apikey",
"cpu": "${SERVICE_VECTORIZATIONAPI_CPU=1.0}",
"memory": "${SERVICE_VECTORIZATIONAPI_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_VECTORIZATIONAPI_REPLICAS}"
Expand All @@ -303,7 +303,7 @@
"hasIngress": true,
"image": "${SERVICE_VECTORIZATIONJOB_IMAGE=cropseastus2svinternal.azurecr.io/vectorization-job:${FLLM_VERSION}}",
"appConfigEnvironmentVarName": "FoundationaLLM_AppConfig_ConnectionString",
"apiKeySecretName": "foundationallm-apis-vectorizationworker-apikey",
"apiKeySecretName": "foundationallm-apiendpoints-vectorizationworker-apikey",
"cpu": "${SERVICE_VECTORIZATIONJOB_CPU=1.0}",
"memory": "${SERVICE_VECTORIZATIONJOB_MEMORY=2.0Gi}",
"replicaCount": "${SERVICE_VECTORIZATIONJOB_REPLICAS}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureContentSafety:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureContentSafety:Essentials:APIKey",
"api_key_header_name": "Ocp-Apim-Subscription-Key"
},
"url": "{{contentSafetyEndpointUri}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:APIKey"
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureEventGrid:Essentials:APIKey"
},
"url": "{{eventGridNamespaceEndpoint}}",
"url_exceptions": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
"cost_center": null,
"category": "General",
"authentication_type": "APIKey",
"api_version": "2023-05-15",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureOpenAI:APIKey"
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:AzureOpenAI:Essentials:APIKey",
"api_key_header_name": "api-key"
},
"operation_type": "chat",
"url": "{{openAiEndpointUri}}",
"url_exceptions": [],
"timeout_seconds": 60,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://gatekeeper-api/gatekeeper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Gatekeeper",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperIntegrationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatekeeperIntegrationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://gatekeeper-integration-api/gatekeeperintegration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://gateway-api/gateway",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAdapterAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:GatewayAdapterAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://gateway-adapter-api/gatewayadapter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Orchestration",
"authentication_type": "APIKey",
"authentication_parameters":{
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:LangChainAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:LangChainAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://langchain-api/langchain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:OrchestrationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:OrchestrationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://orchestration-api/orchestration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Orchestration",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:SemanticKernelAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:SemanticKernelAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://semantic-kernel-api/semantickernel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:StateAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:StateAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://state-api/state",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationAPI:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationAPI:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://vectorization-api/vectorization",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "General",
"authentication_type": "APIKey",
"authentication_parameters": {
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationWorker:APIKey",
"api_key_configuration_name": "FoundationaLLM:APIEndpoints:VectorizationWorker:Essentials:APIKey",
"api_key_header_name": "X-API-KEY"
},
"url": "http://vectorization-job/vectorization",
Expand Down
12 changes: 12 additions & 0 deletions deploy/standard/infra/app-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,18 @@ module cosmosRoles './modules/sqlRoleAssignments.bicep' = {
}
}

module stateApiCosmosRoles './modules/sqlRoleAssignments.bicep' = {
scope: resourceGroup(storageResourceGroupName)
name: 'state-api-cosmos-role'
params: {
accountName: cosmosDb.name
principalId: srBackend[indexOf(backendServiceNames, 'state-api')].outputs.servicePrincipalId
roleDefinitionIds: {
'Cosmos DB Built-in Data Contributor': '00000000-0000-0000-0000-000000000002'
}
}
}

module searchIndexDataReaderRole 'modules/utility/roleAssignments.bicep' = {
name: 'searchIndexDataRole-${timestamp}'
scope: resourceGroup(vectorizationResourceGroupName)
Expand Down
Loading
Loading