Skip to content

Commit e492988

Browse files
committed
Removed usage of deprecated properties
1 parent 0ee3a33 commit e492988

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

LLama.Examples/Examples/KernelMemory.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using LLamaSharp.KernelMemory;
1+
using LLamaSharp.KernelMemory;
22
using Microsoft.KernelMemory;
33
using Microsoft.KernelMemory.Configuration;
44
using System.Diagnostics;
@@ -78,7 +78,6 @@ private static IKernelMemory CreateMemory(string modelPath)
7878
TextPartitioningOptions parseOptions = new()
7979
{
8080
MaxTokensPerParagraph = 300,
81-
MaxTokensPerLine = 100,
8281
OverlappingTokens = 30
8382
};
8483

LLama.Examples/Examples/KernelMemorySaveAndLoad.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ private static IKernelMemory CreateMemoryWithLocalStorage(string modelPath)
7373
TextPartitioningOptions parseOptions = new()
7474
{
7575
MaxTokensPerParagraph = 300,
76-
MaxTokensPerLine = 100,
7776
OverlappingTokens = 30
7877
};
7978

0 commit comments

Comments
 (0)