Skip to content

Commit

Permalink
docs: revise examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakusaRinne committed May 11, 2023
1 parent 118d410 commit 648b14f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LLama.Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

if(choice == 0)
{
ChatSession chat = new(@"/home/rinne/downloads/ggml-model-q4_0.bin", $"{AppDomain.CurrentDomain.BaseDirectory}/Assets/chat-with-bob.txt", new string[] { "User:" });
ChatSession chat = new(@"<Your model file path>", "<Your prompt file path>", new string[] { "User:" });
chat.Run();
}
else if(choice == 1)
{
ChatWithLLamaModel chat = new(@"/home/rinne/downloads/ggml-model-q4_0.bin", $"{AppDomain.CurrentDomain.BaseDirectory}/Assets/chat-with-bob.txt", new string[] { "User:" });
ChatWithLLamaModel chat = new(@"<Your model file path>", "<Your prompt file path>", new string[] { "User:" });
chat.Run();
}
else if(choice == 2)
{
ChatWithLLamaModelV1 chat = new(@"/home/rinne/downloads/ggml-model-q4_0.bin");
ChatWithLLamaModelV1 chat = new(@"<Your model file path>");
chat.Run();
}

0 comments on commit 648b14f

Please sign in to comment.