Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Fix Build Server errors #1163

Merged
merged 2 commits into from
Apr 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -14,51 +14,81 @@ public class BotSettingsBase
/// <summary>
/// Gets or sets the Microsoft Application Id.
/// </summary>
/// <value>
/// The Microsoft Application Id.
/// </value>
public string MicrosoftAppId { get; set; }

/// <summary>
/// Gets or sets the Microsoft Application Password.
/// </summary>
/// <value>
/// The Microsoft Application Password.
/// </value>
public string MicrosoftAppPassword { get; set; }

/// <summary>
/// Gets or sets the default locale of the bot.
/// </summary>
/// <value>
/// The default locale of the bot.
/// </value>
public string DefaultLocale { get; set; }

/// <summary>
/// Gets or sets the OAuth Connections for the bot.
/// </summary>
/// <value>
/// The OAuth Connections for the bot.
/// </value>
public List<OAuthConnection> OAuthConnections { get; set; }

/// <summary>
/// Gets or sets the CosmosDB Configuration for the bot.
/// </summary>
/// <value>
/// The CosmosDB Configuration for the bot.
/// </value>
public CosmosDbStorageOptions CosmosDb { get; set; }

/// <summary>
/// Gets or sets the Application Insights configuration for the bot.
/// </summary>
/// <value>
/// The Application Insights configuration for the bot.
/// </value>
public TelemetryConfiguration AppInsights { get; set; }

/// <summary>
/// Gets or sets the Azure Blob Storage configuration for the bot.
/// </summary>
/// <value>
/// The Azure Blob Storage configuration for the bot.
/// </value>
public BlobStorageConfiguration BlobStorage { get; set; }

/// <summary>
/// Gets or sets the Azure Content Moderator configuration for the bot.
/// </summary>
/// <value>
/// The Azure Content Moderator configuration for the bot.
/// </value>
public ContentModeratorConfiguration ContentModerator { get; set; }

/// <summary>
/// Gets or sets the dictionary of cognitive model configurations by locale for the bot.
/// </summary>
/// <value>
/// The dictionary of cognitive model configurations by locale for the bot.
/// </value>
public Dictionary<string, CognitiveModelConfiguration> CognitiveModels { get; set; } = new Dictionary<string, CognitiveModelConfiguration>();

/// <summary>
/// Gets or sets the Properties dictionary.
/// </summary>
/// <value>
/// The Properties dictionary.
/// </value>
public Dictionary<string, string> Properties { get; set; } = new Dictionary<string, string>();

/// <summary>
Expand All @@ -69,11 +99,17 @@ public class BlobStorageConfiguration
/// <summary>
/// Gets or sets the connection string for the Azure Blob Storage service.
/// </summary>
/// <value>
/// The connection string for the Azure Blob Storage service.
/// </value>
public string ConnectionString { get; set; }

/// <summary>
/// Gets or sets the blob container for the Azure Blob Storage service.
/// </summary>
/// <value>
/// The blob container for the Azure Blob Storage service.
/// </value>
public string Container { get; set; }
}

Expand All @@ -85,6 +121,9 @@ public class ContentModeratorConfiguration
/// <summary>
/// Gets or sets the subscription key for the Content Moderator service.
/// </summary>
/// <value>
/// The subscription key for the Content Moderator service.
/// </value>
public string Key { get; set; }
}

Expand All @@ -96,16 +135,25 @@ public class CognitiveModelConfiguration
/// <summary>
/// Gets or sets the Dispatch service for the set of cognitive models.
/// </summary>
/// <value>
/// The Dispatch service for the set of cognitive models.
/// </value>
public DispatchService DispatchModel { get; set; }

/// <summary>
/// Gets or sets the collection of LUIS models.
/// </summary>
/// <value>
/// The collection of LUIS models.
/// </value>
public List<LuisService> LanguageModels { get; set; }

/// <summary>
/// Gets or sets the collection of QnA Maker knowledgebases.
/// </summary>
/// <value>
/// The collection of QnA Maker knowledgebases.
/// </value>
public List<QnAMakerService> Knowledgebases { get; set; }
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ public class Reply
public string Speak { get; set; }

/// <summary>
/// Gets or sets the <see cref="Activity.Text"/> property of an <see cref="Activity"/>.
/// Gets or sets the Reply Text.
/// </summary>
/// <value>
/// The <see cref="Activity.Text"/> property of an <see cref="Activity"/>.
/// </value>
[JsonProperty("text")]
public string Text { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public ResponseTemplate()
/// <summary>
/// Initializes a new instance of the <see cref="ResponseTemplate"/> class.
/// </summary>
/// <param name="text"></param>
/// <param name="speak"></param>
/// <param name="inputHint"></param>
/// <param name="text">Response Text.</param>
/// <param name="speak">Response Speak Variant.</param>
/// <param name="inputHint">Input Hint.</param>
public ResponseTemplate(string text, string speak, string inputHint = InputHints.AcceptingInput)
{
this.Replies = new Reply[1];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ namespace Microsoft.Bot.Builder.Solutions.Telemetry
/// TelemetryQnaRecognizer invokes the Qna Maker and logs some results into Application Insights.
/// Logs the score, and (optionally) question
/// Along with Conversation and ActivityID.
/// The Custom Event name this logs is "QnaMessage"
/// See <seealso cref="QnaMaker"/> for additional information.
/// The Custom Event name this logs is "QnaMessage".
/// </summary>
public class TelemetryQnAMaker : QnAMaker, ITelemetryQnAMaker
{
Expand Down