@tiledesk/tiledesk-server 2.8.7 → 2.8.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/routes/kb.js +2 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/routes/kb.js
CHANGED
@@ -41,7 +41,8 @@ let default_preview_settings = {
|
|
41
41
|
context: null
|
42
42
|
}
|
43
43
|
|
44
|
-
let default_context = "Answer if and ONLY if the answer is contained in the context provided. If the answer is not contained in the context provided ALWAYS answer with <NOANS>\n{context}"
|
44
|
+
//let default_context = "Answer if and ONLY if the answer is contained in the context provided. If the answer is not contained in the context provided ALWAYS answer with <NOANS>\n{context}"
|
45
|
+
let default_context = "You are an helpful assistant for question-answering tasks.\nUse ONLY the following pieces of retrieved context to answer the question.\nIf you don't know the answer, just say that you don't know.\nIf none of the retrieved context answer the question, add this word to the end <NOANS>\n\n{context}";
|
45
46
|
|
46
47
|
/**
|
47
48
|
* ****************************************
|