Skip to content

Commit 984a645

Browse files
authored
Merge pull request #92 from cnblogs/upgrade-json-schema
chore: upgrade json schema
2 parents e95ef44 + 5563ee3 commit 984a645

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Cnblogs.DashScope.Core/QWenTokenizer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static int CountTokens(string text)
7070
/// </summary>
7171
/// <param name="text">The input text.</param>
7272
/// <param name="maxTokenCount">The maximum number of tokens to encode.</param>
73-
/// <param name="normalizedText">If the tokenizer's normalization is enabled or <paramRef name="considerNormalization" /> is <see langword="false"/>, this will be set to <paramRef name="text" /> in its normalized form; otherwise, this value will be set to <see langword="null"/>.</param>
73+
/// <param name="normalizedText">If the tokenizer's normalization is enabled, this will be set to <paramRef name="text" /> in its normalized form; otherwise, this value will be set to <see langword="null"/>.</param>
7474
/// <param name="tokenCount">The token count can be generated which should be smaller than the maximum token count.</param>
7575
/// <returns></returns>
7676
public static int GetIndexByTokenCount(string text, int maxTokenCount, out string? normalizedText, out int tokenCount)

src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PackageTags>Cnblogs;Dashscope;AI;Sdk;Embedding;</PackageTags>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="JsonSchema.Net.Generation" Version="5.0.0" />
8+
<PackageReference Include="JsonSchema.Net.Generation" Version="5.0.2" />
99
</ItemGroup>
1010
<ItemGroup>
1111
<ProjectReference Include="..\Cnblogs.DashScope.Core\Cnblogs.DashScope.Core.csproj" />

test/Cnblogs.DashScope.Sdk.UnitTests/Cnblogs.DashScope.Sdk.UnitTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageReference Include="NSubstitute" Version="5.3.0" />
1616
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
1717
<PackageReference Include="xunit" Version="2.9.3" />
18-
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
18+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>

0 commit comments

Comments
 (0)