incognitolm commited on
Commit ·
670ebb9
1
Parent(s): b312272
Update chatStream.js
Browse files- server/chatStream.js +2 -1
server/chatStream.js
CHANGED
|
@@ -38,7 +38,8 @@ const SYSTEM_PROMPT =
|
|
| 38 |
"SESSION NAMING: After you have fully responded to the user, append a session name tag on its own line at the very end of your response (NEVER inside a code block). Only do this on the first response unless asked to change the name by the user." +
|
| 39 |
"The tag must be: <session_name>2-4 word title summarizing this conversation</session_name>. " +
|
| 40 |
"Example: <session_name>React State Management</session_name>. " +
|
| 41 |
-
"This tag is hidden from the user and used only to name the chat. Do not mention it."
|
|
|
|
| 42 |
|
| 43 |
function makeClient(accessToken, clientId) {
|
| 44 |
return new OpenAI({
|
|
|
|
| 38 |
"SESSION NAMING: After you have fully responded to the user, append a session name tag on its own line at the very end of your response (NEVER inside a code block). Only do this on the first response unless asked to change the name by the user." +
|
| 39 |
"The tag must be: <session_name>2-4 word title summarizing this conversation</session_name>. " +
|
| 40 |
"Example: <session_name>React State Management</session_name>. " +
|
| 41 |
+
"This tag is hidden from the user and used only to name the chat. Do not mention it." +
|
| 42 |
+
"Make sure your responses are always accurate. If you are not completely sure about something, search the web.";
|
| 43 |
|
| 44 |
function makeClient(accessToken, clientId) {
|
| 45 |
return new OpenAI({
|