mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
e413c5a285
* Add M365 Agent SDK interop sample * Update dotnet/samples/M365Agent/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Address some comments. * Update dotnet/samples/M365Agent/Agents/WeatherForecastAgent.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/M365Agent/Agents/WeatherForecastAgentResponse.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/M365Agent/Agents/WeatherForecastAgentResponse.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Address PR comments * Refactor code to simplify. * Fix broken link. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
{
|
|
"TokenValidation": {
|
|
"Enabled": false,
|
|
"Audiences": [
|
|
"{{ClientId}}" // this is the Client ID used for the Azure Bot
|
|
],
|
|
"TenantId": "{{TenantId}}"
|
|
},
|
|
|
|
"AgentApplication": {
|
|
"StartTypingTimer": true,
|
|
"RemoveRecipientMention": false,
|
|
"NormalizeMentions": false
|
|
},
|
|
|
|
"Connections": {
|
|
"ServiceConnection": {
|
|
"Settings": {
|
|
// this is the AuthType for the connection, valid values can be found in Microsoft.Agents.Authentication.Msal.Model.AuthTypes. The default is ClientSecret.
|
|
"AuthType": ""
|
|
|
|
// Other properties dependent on the authorization type the Azure Bot uses.
|
|
}
|
|
}
|
|
},
|
|
"ConnectionsMap": [
|
|
{
|
|
"ServiceUrl": "*",
|
|
"Connection": "ServiceConnection"
|
|
}
|
|
],
|
|
|
|
// This is the configuration for the AI services, use environment variables or user secrets to store sensitive information.
|
|
// Do not store sensitive information in this file
|
|
"AIServices": {
|
|
"AzureOpenAI": {
|
|
"DeploymentName": "", // This is the Deployment (as opposed to model) Name of the Azure OpenAI model
|
|
"Endpoint": "", // This is the Endpoint of the Azure OpenAI resource
|
|
"ApiKey": "" // This is the API Key of the Azure OpenAI resource. Optional, uses AzureCliCredential if not provided
|
|
},
|
|
"OpenAI": {
|
|
"ModelId": "", // This is the Model ID of the OpenAI model
|
|
"ApiKey": "" // This is your API Key for the OpenAI service
|
|
},
|
|
"UseAzureOpenAI": false // This is a flag to determine whether to use the Azure OpenAI or the OpenAI service
|
|
},
|
|
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
}
|
|
} |