Skip to content

Commit

Permalink
Merge pull request #1287 from solliancenet/skm-aimodel-app-config-keys
Browse files Browse the repository at this point in the history
Added AIModel Resource Provider Storage Account Details & Updated Default Agent
  • Loading branch information
ciprianjichici authored Jul 26, 2024
2 parents c2dc5b0 + 315a2cb commit 3ea71e7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
14 changes: 14 additions & 0 deletions deploy/quick-start/config/appconfig.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:AIModel:ResourceProviderService:Storage:AccountName",
"value": "${env:AZURE_STORAGE_ACCOUNT_NAME}",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:AIModel:ResourceProviderService:Storage:AuthenticationType",
"value": "AzureIdentity",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIs:AgentHubAPI:APIKey",
"value": "{\"uri\":\"${env:AZURE_KEY_VAULT_ENDPOINT}secrets/foundationallm-apis-agenthubapi-apikey\"}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,8 @@
},
"orchestration_settings": {
"orchestrator": "LangChain",
"agent_parameters": null,
"endpoint_configuration": {
"auth_type": "key",
"provider": "microsoft",
"endpoint": "${env:AZURE_OPENAI_ENDPOINT}",
"api_key": "FoundationaLLM:AzureOpenAI:API:Key",
"api_version": "2023-05-15"
},
"model_parameters": {
"temperature": 0,
"deployment_name": "completions"
}
"agent_parameters": null
},
"ai_model_object_id": "/instances/${env:FOUNDATIONALLM_INSTANCE_ID}/providers/FoundationaLLM.AIModel/aiModels/DefaultCompletionAIModel",
"prompt_object_id": "/instances/${env:FOUNDATIONALLM_INSTANCE_ID}/providers/FoundationaLLM.Prompt/prompts/FoundationaLLM"
}
14 changes: 14 additions & 0 deletions deploy/standard/config/appconfig.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:AIModel:ResourceProviderService:Storage:AccountName",
"value": "{{storageAccountAdlsName}}",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:AIModel:ResourceProviderService:Storage:AuthenticationType",
"value": "AzureIdentity",
"label": null,
"content_type": "",
"tags": {}
},
{
"key": "FoundationaLLM:APIs:AgentHubAPI:APIKey",
"value": "{\"uri\":\"{{keyvaultUri}}secrets/foundationallm-apis-agenthubapi-apikey\"}",
Expand Down

0 comments on commit 3ea71e7

Please sign in to comment.