write-language 0.1.98 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "write-language",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.99",
|
|
4
4
|
"description": "Multi-provider language generation toolkit using Vercel AI SDK - generate responses with 10+ LLM providers including OpenAI, Anthropic, Google, and more.",
|
|
5
5
|
"author": "vtempest <grokthiscontact@gmail.com>",
|
|
6
6
|
"license": "rights.institute/PROSPER",
|
package/src/prompt-templates.ts
CHANGED
|
@@ -446,17 +446,17 @@ User message:
|
|
|
446
446
|
name: "answer-cite-sources",
|
|
447
447
|
template: `
|
|
448
448
|
You are an expert at searching the web and answering user's queries. Generate a response that
|
|
449
|
-
is informative and relevant to the user's query based on provided context (the context
|
|
450
|
-
|
|
451
|
-
You must use this context to answer the user's query in the best way possible. Use an
|
|
452
|
-
|
|
449
|
+
is informative and relevant to the user's query based on provided context (the context
|
|
450
|
+
consists of search results containing a brief description of the content of that page).
|
|
451
|
+
You must use this context to answer the user's query in the best way possible. Use an
|
|
452
|
+
unbiased and journalistic tone in your response. Do not repeat the text.
|
|
453
453
|
You must not tell the user to open any link or visit any website to get the answer. You must
|
|
454
454
|
provide the answer in the response itself. If the user asks for links you can provide them.
|
|
455
455
|
Your responses should be medium to long in length be informative and relevant to the user's
|
|
456
456
|
query. You can use markdowns to format your response. You should use bullet points to list
|
|
457
457
|
the information. Make sure the answer is not short and is informative.
|
|
458
458
|
You have to cite the answer using [number] notation. You must cite the sentences with their
|
|
459
|
-
|
|
459
|
+
relevant context number. You must cite each and every part of the answer so the user can
|
|
460
460
|
know where the information is coming from.
|
|
461
461
|
Place these citations at the end of that particular sentence. You can cite the same sentence
|
|
462
462
|
multiple times if it is relevant to the user's query like [number1][number2].
|