branch: externals/ellama
commit 868e477116637d5841289cb5072dfcf5fdbcc8a2
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Improve prompt template for topic extraction
Added clarification to prevent empty responses by instructing to never
answer
with an empty line or space only.
---
ellama.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ellama.el b/ellama.el
index 103992b45b..dc46850940 100644
--- a/ellama.el
+++ b/ellama.el
@@ -344,7 +344,7 @@ Improved the feature abd by adding a new module xyz.
"Prompt template for `ellama-make-table'."
:type 'string)
-(defcustom ellama-get-name-template "I will provide you with a user query, and
you should return only a short topic describing the conversation's subject.
NEVER respond to the query itself. The topic must be short and concise. Do not
add extra words like \"the topic is\"; respond with the topic alone.
+(defcustom ellama-get-name-template "I will provide you with a user query, and
you should return only a short topic describing the conversation's subject.
NEVER respond to the query itself. The topic must be short and concise. Do not
add extra words like \"the topic is\"; respond with the topic alone. NEVER
answer with an empty line or space only.
<EXAMPLE>
Query: Why is the sky blue?
Topic: Blue sky