Browse Source

Add a missing }

Add a missing } in the readme session example
tags/v0.2.2
weiajr GitHub 3 years ago
parent
commit
b5eda7a2df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@@ -49,7 +49,7 @@ Besides, `ChatSession` makes it easier to wrap your own chat bot. The code below

var model = new LLamaModel(new LLamaParams(model: "<Your path>", n_ctx: 512, repeat_penalty: 1.0f));
var session = new ChatSession<LLamaModel>(model).WithPromptFile("<Your prompt file path>")
.WithAntiprompt(new string[] { "User:" );
.WithAntiprompt(new string[] { "User:" });
Console.Write("\nUser:");
while (true)
{


Loading…
Cancel
Save