From 5563ee3ec1381e1eeb52894c49b71fc5399cbd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E6=98=9F=E7=B9=81?= Date: Mon, 12 May 2025 12:31:33 +0800 Subject: [PATCH] chore: upgrade json schema --- src/Cnblogs.DashScope.Core/QWenTokenizer.cs | 2 +- src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj | 2 +- .../Cnblogs.DashScope.Sdk.UnitTests.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cnblogs.DashScope.Core/QWenTokenizer.cs b/src/Cnblogs.DashScope.Core/QWenTokenizer.cs index 3deec09..ebde5a3 100644 --- a/src/Cnblogs.DashScope.Core/QWenTokenizer.cs +++ b/src/Cnblogs.DashScope.Core/QWenTokenizer.cs @@ -70,7 +70,7 @@ public static int CountTokens(string text) /// /// The input text. /// The maximum number of tokens to encode. - /// If the tokenizer's normalization is enabled or is , this will be set to in its normalized form; otherwise, this value will be set to . + /// If the tokenizer's normalization is enabled, this will be set to in its normalized form; otherwise, this value will be set to . /// The token count can be generated which should be smaller than the maximum token count. /// public static int GetIndexByTokenCount(string text, int maxTokenCount, out string? normalizedText, out int tokenCount) diff --git a/src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj b/src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj index 3480ef8..bc613d8 100644 --- a/src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj +++ b/src/Cnblogs.DashScope.Sdk/Cnblogs.DashScope.Sdk.csproj @@ -5,7 +5,7 @@ Cnblogs;Dashscope;AI;Sdk;Embedding; - + diff --git a/test/Cnblogs.DashScope.Sdk.UnitTests/Cnblogs.DashScope.Sdk.UnitTests.csproj b/test/Cnblogs.DashScope.Sdk.UnitTests/Cnblogs.DashScope.Sdk.UnitTests.csproj index 3f82c79..981d700 100644 --- a/test/Cnblogs.DashScope.Sdk.UnitTests/Cnblogs.DashScope.Sdk.UnitTests.csproj +++ b/test/Cnblogs.DashScope.Sdk.UnitTests/Cnblogs.DashScope.Sdk.UnitTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive