Browse Source

test: remove dumplicated space of example output.

tags/v0.3.0
Yaohui Liu 2 years ago
parent
commit
a545ab7eda
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      LLama.Examples/ChatSession.cs
  2. +1
    -0
      LLama.Examples/ChatWithLLamaModel.cs
  3. +1
    -0
      LLama.Examples/InstructMode.cs

+ 1
- 0
LLama.Examples/ChatSession.cs View File

@@ -24,6 +24,7 @@ namespace LLama.Examples
{
Console.ForegroundColor = ConsoleColor.Green;
var question = Console.ReadLine();
question += "\n";
Console.ForegroundColor = ConsoleColor.White;
var outputs = _session.Chat(question, encoding: "UTF-8");
foreach (var output in outputs)


+ 1
- 0
LLama.Examples/ChatWithLLamaModel.cs View File

@@ -22,6 +22,7 @@ namespace LLama.Examples
{
Console.ForegroundColor = ConsoleColor.Green;
var question = Console.ReadLine();
question += "\n";
Console.ForegroundColor = ConsoleColor.White;
var outputs = _model.Call(question);
foreach (var output in outputs)


+ 1
- 0
LLama.Examples/InstructMode.cs View File

@@ -22,6 +22,7 @@ namespace LLama.Examples
{
Console.ForegroundColor = ConsoleColor.Green;
var question = Console.ReadLine();
question += "\n";
Console.ForegroundColor = ConsoleColor.White;
var outputs = _model.Call(question);
foreach (var output in outputs)


Loading…
Cancel
Save