File tree Expand file tree Collapse file tree
DifySharp.Test/Apis/KnowledgeBaseApiTest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 1000
5757 ) ,
5858 "paragraph" ,
59- new SubChunkSegmentation (
59+ new SubchunkSegmentation (
6060 "\n \n " ,
6161 1000 ,
6262 200
114114 1000
115115 ) ,
116116 "paragraph" ,
117- new SubChunkSegmentation (
117+ new SubchunkSegmentation (
118118 "\n \n " ,
119119 1000 ,
120120 200
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public ChunkApiTestFixture()
5757 1000
5858 ) ,
5959 "paragraph" ,
60- new SubChunkSegmentation (
60+ new SubchunkSegmentation (
6161 "\n \n " ,
6262 1000 ,
6363 200
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ ILogger<DocumentApiTest> logger
6363 1000
6464 ) ,
6565 "paragraph" ,
66- new SubChunkSegmentation (
66+ new SubchunkSegmentation (
6767 "\n \n " ,
6868 1000 ,
6969 200
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ Rules Rules
2121/// <item>paragraph : paragraph retrieval</item>
2222/// </list>
2323/// </param>
24- /// <param name="SubChunkSegmentation ">(object) Child chunk rules</param>
24+ /// <param name="SubchunkSegmentation ">(object) Child chunk rules</param>
2525public record Rules (
2626 ICollection < PreProcessingRule > PreProcessingRules ,
2727 Segmentation Segmentation ,
2828 string ParentMode ,
29- SubChunkSegmentation SubChunkSegmentation
29+ SubchunkSegmentation SubchunkSegmentation
3030) ;
3131
3232/// <summary>
@@ -60,7 +60,7 @@ int MaxTokens
6060/// <param name="Separator">Segmentation identifier. Currently, only one delimiter is allowed. The default is ***</param>
6161/// <param name="MaxTokens">The maximum length (tokens) must be validated to be shorter than the length of the parent chunk</param>
6262/// <param name="ChunkOverlap">Define the overlap between adjacent chunks (optional)</param>
63- public record SubChunkSegmentation (
63+ public record SubchunkSegmentation (
6464 string Separator ,
6565 int MaxTokens ,
6666 int ? ChunkOverlap
Original file line number Diff line number Diff line change 44 <TargetFramework >net8.0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
7- <Version >0.0.3-alpha4 </Version >
7+ <Version >0.0.3-alpha5 </Version >
88 <Authors >fengb3</Authors >
99 <RepositoryUrl >https://github.com/fengb3/DifySharp.git</RepositoryUrl >
1010 <PackageProjectUrl >https://github.com/fengb3/DifySharp</PackageProjectUrl >
You can’t perform that action at this time.
0 commit comments