Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tokenizers library version to GA version 1.0.0 #922

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
<PackageVersion Include="System.Memory.Data" Version="8.0.1" />
<PackageVersion Include="System.Numerics.Tensors" Version="8.0.0" />
<!-- Tokenizers Data Packages -->
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" Version="1.0.0" />
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.O200kBase" Version="1.0.0" />
<PackageVersion Include="Microsoft.ML.Tokenizers.Data.P50kBase" Version="1.0.0" />
</ItemGroup>
<!-- Security upgrades -->
<ItemGroup>
<PackageVersion Include="System.Runtime.Caching" Version="8.0.1" />
</ItemGroup>
<!-- Pre-release dependencies -->
<ItemGroup>
<PackageVersion Include="Microsoft.ML.Tokenizers" Version="0.22.0-preview.24378.1" />
</ItemGroup>
<!-- Missing Strong Name (CS8002) -->
<ItemGroup>
<PackageVersion Include="ClosedXML" Version="0.104.2" />
Expand Down
6 changes: 4 additions & 2 deletions extensions/OpenAI/OpenAI/OpenAI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RollForward>LatestMajor</RollForward>
<AssemblyName>Microsoft.KernelMemory.AI.OpenAI</AssemblyName>
<RootNamespace>Microsoft.KernelMemory.AI.OpenAI</RootNamespace>
<NoWarn>$(NoWarn);KMEXP00;KMEXP01;CA1724;CA1308;SKEXP0010;SKEXP0011;SKEXP0001;CA2208;NU5104;</NoWarn>
<NoWarn>$(NoWarn);KMEXP00;KMEXP01;CA1724;CA1308;SKEXP0010;SKEXP0011;SKEXP0001;CA2208;</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,7 +15,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.SemanticKernel.Connectors.OpenAI" />
<PackageReference Include="Microsoft.ML.Tokenizers" /> <!-- prerelease dependency (NU5104) -->
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.O200kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.P50kBase" />
dluc marked this conversation as resolved.
Show resolved Hide resolved
</ItemGroup>

<PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions extensions/Tiktoken/Tiktoken/Tiktoken.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
<RollForward>LatestMajor</RollForward>
<AssemblyName>Microsoft.KernelMemory.AI.Tiktoken</AssemblyName>
<RootNamespace>Microsoft.KernelMemory.AI</RootNamespace>
<NoWarn>$(NoWarn);KMEXP00;CA1308;NU5104;</NoWarn>
<NoWarn>$(NoWarn);KMEXP00;CA1308;</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\service\Abstractions\Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ML.Tokenizers" /> <!-- prerelease dependency (NU5104) -->
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.O200kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.P50kBase" />
</ItemGroup>

<PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions service/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RollForward>LatestMajor</RollForward>
<AssemblyName>Microsoft.KernelMemory.Core</AssemblyName>
<RootNamespace>Microsoft.KernelMemory</RootNamespace>
<NoWarn>$(NoWarn);CS1700;KMEXP00;KMEXP01;KMEXP02;KMEXP03;KMEXP04;SKEXP0001;SKEXP0011;CA2208;CA1308;CA1724;NU5104;CS8002;</NoWarn>
<NoWarn>$(NoWarn);CS1700;KMEXP00;KMEXP01;KMEXP02;KMEXP03;KMEXP04;SKEXP0001;SKEXP0011;CA2208;CA1308;CA1724;CS8002;</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand All @@ -19,7 +19,9 @@
<PackageReference Include="HtmlAgilityPack" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Http" />
<PackageReference Include="Microsoft.ML.Tokenizers" /> <!-- prerelease dependency (NU5104) -->
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.O200kBase" />
<PackageReference Include="Microsoft.ML.Tokenizers.Data.P50kBase" />
dluc marked this conversation as resolved.
Show resolved Hide resolved
<PackageReference Include="PdfPig" />
<PackageReference Include="Polly.Core" />
<PackageReference Include="System.Linq.Async" />
Expand Down
Loading