File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Infrastructure/BotSharp.Abstraction/Knowledges/Models
Plugins/BotSharp.Plugin.MongoStorage/Models Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public class DocMetaRefData
4848 [ JsonPropertyName ( "url" ) ]
4949 public string Url { get ; set ; }
5050
51- [ JsonPropertyName ( "json_content " ) ]
51+ [ JsonPropertyName ( "data " ) ]
5252 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
53- public string ? JsonContent { get ; set ; }
53+ public IDictionary < string , string > ? Data { get ; set ; }
5454}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class KnowledgeFileMetaRefMongoModel
88 public string Name { get ; set ; }
99 public string Type { get ; set ; }
1010 public string Url { get ; set ; }
11- public string ? JsonContent { get ; set ; }
11+ public IDictionary < string , string > ? Data { get ; set ; }
1212
1313 public static KnowledgeFileMetaRefMongoModel ? ToMongoModel ( DocMetaRefData ? model )
1414 {
@@ -20,7 +20,7 @@ public class KnowledgeFileMetaRefMongoModel
2020 Name = model . Name ,
2121 Type = model . Type ,
2222 Url = model . Url ,
23- JsonContent = model . JsonContent
23+ Data = model . Data
2424 } ;
2525 }
2626
@@ -34,7 +34,7 @@ public class KnowledgeFileMetaRefMongoModel
3434 Name = model . Name ,
3535 Type = model . Type ,
3636 Url = model . Url ,
37- JsonContent = model . JsonContent
37+ Data = model . Data
3838 } ;
3939 }
4040}
You can’t perform that action at this time.
0 commit comments