]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
do not force the prompt file to end with a new line (#908)
authorPavol Rusnak <redacted>
Thu, 13 Apr 2023 09:33:16 +0000 (11:33 +0200)
committerGitHub <redacted>
Thu, 13 Apr 2023 09:33:16 +0000 (11:33 +0200)
.editorconfig
prompts/chat-with-bob.txt
prompts/reason-act.txt

index df8aaf5046720a002e389fd4bcc25bdf30c9f092..135a7e4bce5a168e13818ac47da04a693ce8ff8d 100644 (file)
@@ -14,3 +14,6 @@ indent_size = 4
 
 [Makefile]
 indent_style = tab
+
+[prompts/*.txt]
+insert_final_newline = unset
index 009da39aee0665cc101395c75e221a05b58159c5..ad494d831f6fb8df192c472fb8a38c3e74ecba67 100644 (file)
@@ -4,4 +4,4 @@ User: Hello, Bob.
 Bob: Hello. How may I help you today?
 User: Please tell me the largest city in Europe.
 Bob: Sure. The largest city in Europe is Moscow, the capital of Russia.
-User:
+User:
\ No newline at end of file
index 8720166312efd7e2d5251ebd0f72ff273262dfcd..a4f4f4ee665c47d6d7b5ad72b0c10e3e98476dae 100644 (file)
@@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
 Question: What is capital of france?
 Thought: Do I need to use an action? No, I know the answer
 Answer: Paris is the capital of France
-Question:
+Question:
\ No newline at end of file