Browse Source

update example

tags/v0.8.0
xbotter 2 years ago
parent
commit
c52e99ac77
No known key found for this signature in database GPG Key ID: A3F32F44E9F160E1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      LLama.Examples/NewVersion/KernelMemory.cs

+ 2
- 2
LLama.Examples/NewVersion/KernelMemory.cs View File

@@ -22,11 +22,11 @@ namespace LLama.Examples.NewVersion
{ {
MaxTokensPerParagraph = 300, MaxTokensPerParagraph = 300,
MaxTokensPerLine = 100, MaxTokensPerLine = 100,
OverlappingTokens = 50
OverlappingTokens = 30
}) })
.BuildServerlessClient(); .BuildServerlessClient();


await memory.ImportDocumentAsync(@"./Assets/sample-SK-Readme.pdf");
await memory.ImportDocumentAsync(@"./Assets/sample-SK-Readme.pdf", steps: Constants.PipelineWithoutSummary);


var question = "What's Semantic Kernel?"; var question = "What's Semantic Kernel?";




Loading…
Cancel
Save