Skip to content

Commit 39fb726

Browse files
authored
Merge pull request #31 from geffzhang/master
fix TrainingCorpus
2 parents 1dfb178 + 4c28fb0 commit 39fb726

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

BotSharp.Platform.Models/TrainingCorpus.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ namespace BotSharp.Platform.Models
66
{
77
public class TrainingCorpus
88
{
9+
public TrainingCorpus()
10+
{
11+
UserSays = new List<TrainingIntentExpression<TrainingIntentExpressionPart>>();
12+
Entities = new List<TrainingEntity>();
13+
}
14+
915
public List<TrainingIntentExpression<TrainingIntentExpressionPart>> UserSays { get; set; }
1016

1117
/// <summary>

0 commit comments

Comments
 (0)