chat-agent-toolkit 1.2.29 → 1.2.30
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/README.md +23 -60
- package/dist/index.d.ts +1 -0
- package/dist/prompts/index.d.ts +5 -0
- package/dist/prompts/meta-search-types.d.ts +6 -0
- package/dist/prompts/search-prompts.d.ts +12 -0
- package/dist/research-agent.cjs.js +1 -1
- package/dist/research-agent.cjs.js.map +1 -1
- package/dist/research-agent.es.js +1 -1
- package/dist/research-agent.es.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/prompts/index.ts +6 -0
- package/src/prompts/meta-search-types.ts +7 -0
- package/src/prompts/search-prompts.ts +166 -0
- package/src/tools/search/search-handlers.ts +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm i chat-agent-toolkit
|
|
|
13
13
|
## Quick start
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
|
-
import { writeLanguageResponse } from "
|
|
16
|
+
import { writeLanguageResponse } from "chat-agent-toolkit";
|
|
17
17
|
|
|
18
18
|
const response = await writeLanguageResponse({
|
|
19
19
|
provider: "groq",
|
|
@@ -27,44 +27,27 @@ console.log(response.content);
|
|
|
27
27
|
|
|
28
28
|
`response.content` is HTML by default (set `html: false` for raw Markdown). Agents that define an `after` hook also return parsed data on `response.extract`.
|
|
29
29
|
|
|
30
|
-
## Supported providers
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
| --------------- | ------------ | ----------------------------------------------- | ------------------------------------------------- |
|
|
34
|
-
| Anthropic | `anthropic` | `claude-3-7-sonnet-20250219` | |
|
|
35
|
-
| OpenAI | `openai` | `gpt-4o` | |
|
|
36
|
-
| Groq | `groq` | `meta-llama/llama-4-maverick-17b-128e-instruct` | |
|
|
37
|
-
| Google Vertex | `google` | Gemini 2.x | |
|
|
38
|
-
| XAI | `xai` | `grok-beta` | |
|
|
39
|
-
| Amazon Bedrock | `amazon` | `anthropic.claude-3-5-sonnet-20241022-v2:0` | apiKey = bearer token or `region:key:secret` |
|
|
40
|
-
| Cloudflare | `cloudflare` | `llama-4-scout-17b-16e-instruct` | apiKey = `token:accountId` |
|
|
41
|
-
| Together AI | `togetherai` | `meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo` | |
|
|
42
|
-
| Perplexity | `perplexity` | `sonar` | |
|
|
43
|
-
| NVIDIA NIM | `nvidia` | `moonshotai/kimi-k2.5` | |
|
|
44
|
-
| Ollama | `ollama` | `llama3.2` | Local — no key required |
|
|
45
|
-
|
|
46
|
-
The full registry (including context lengths) is exported as `LANGUAGE_MODELS`.
|
|
47
|
-
|
|
48
|
-
### Amazon Bedrock setup
|
|
49
|
-
|
|
50
|
-
Install the provider: `pnpm add ai @ai-sdk/amazon-bedrock`
|
|
51
|
-
|
|
52
|
-
**Auth options** — set one of:
|
|
53
|
-
- `AWS_BEARER_TOKEN_BEDROCK` (recommended API key auth)
|
|
54
|
-
- `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` + `AWS_REGION` (SigV4)
|
|
55
|
-
|
|
56
|
-
**Custom region:**
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
import { createAmazonBedrock } from '@ai-sdk/amazon-bedrock';
|
|
60
|
-
|
|
61
|
-
export const amazonBedrock = createAmazonBedrock({
|
|
62
|
-
region: 'us-east-1',
|
|
63
|
-
apiKey: process.env.AWS_BEARER_TOKEN_BEDROCK,
|
|
64
|
-
});
|
|
65
|
-
```
|
|
31
|
+
## Language Intelligence Providers
|
|
66
32
|
|
|
67
|
-
|
|
33
|
+
| Provider | 🌍 | Top Model (Others) | 🏆 Benchmarks | 📄 Docs | 🔑 Keys | 💰 Funding |
|
|
34
|
+
| ---------------------- | --- | --------------------------------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------ |
|
|
35
|
+
| **Anthropic** | 🇺🇸 | Claude Mythos / Opus (Sonnet, Haiku) | 🥇 GPQA Diamond 94.6% · 🥇 SWE-bench 93.9% · 🧬 PhD reasoning | [Docs](https://docs.anthropic.com/en/docs/welcome) | [Keys](https://console.anthropic.com/settings/keys) | ~$60B |
|
|
36
|
+
| **OpenAI** | 🇺🇸 | GPT / o3 / Codex (o1, o4, o4-mini, gpt-4o) | 🥇 AIME 2025 100% · 🥇 SWE-bench Pro · 📚 MMLU-Pro 90% | [Docs](https://platform.openai.com/docs/overview) | [Keys](https://platform.openai.com/api-keys) | ~$180B |
|
|
37
|
+
| **Google** | 🇺🇸 | Gemini Pro (Flash, Flash-Lite, Gemma) | 🥇 GPQA 94.1% · 🥇 LiveCodeBench Elo 2439 · 🌐 #1 in 6/13 Vals | [Docs](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models) | [Keys](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview#api-keys) | Public |
|
|
38
|
+
| **xAI** | 🇺🇸 | Grok Heavy (Grok-3, Grok Vision) | 🥇 AIME 2025 100% · 🧮 Math competition · ⚡ X integration | [Docs](https://docs.x.ai/docs#models) | [Keys](https://console.x.ai/) | ~$45B |
|
|
39
|
+
| **Meta** | 🇺🇸 | Llama Maverick / Scout (Llama 3.x, CodeLlama) | 🥇 DocVQA 94.4% · 🥇 10M token context · 📊 ChartQA 90% | [Docs](https://www.llama.com/docs/overview/) | [Keys](https://www.llama.com/llama-downloads/) | Public |
|
|
40
|
+
| **NVIDIA** | 🇺🇸 | Nemotron-Cascade (Llama Nemotron, Kimi) | 🥇 LCB v6 87.2% · 🏅 IMO+IOI+ICPC gold · 🧮 AIME 98.6% | [Docs](https://docs.api.nvidia.com/nim/reference/llm-apis) | [Keys](https://build.nvidia.com/settings/api-keys) | Public |
|
|
41
|
+
| **Perplexity** | 🇺🇸 | Sonar Reasoning Pro (Sonar Deep Research) | 🥇 Search Arena · 🔍 #1 web-grounded QA · 🌐 Real-time retrieval | [Docs](https://docs.perplexity.ai/models/model-cards) | [Keys](https://www.perplexity.ai/account/api/keys) | ~$1B |
|
|
42
|
+
| **Groq** | 🇺🇸 | (Llama, DeepSeek, Gemma, Mistral, Qwen) | ⚡ #1 inference speed · 🏎️ Fastest TTFT · 🔧 LPU hardware | [Docs](https://console.groq.com/docs/overview) | [Keys](https://console.groq.com/keys) | ~$640M |
|
|
43
|
+
| **Mistral** | 🇫🇷 | Mistral Large (Small 4, Codestral, Devstral) | 🥈 Arena Elo 1418 · 🌍 Multilingual MMLU 85.5% · 🚀 Fastest TTFT | [Docs](https://docs.mistral.ai/) | [Keys](https://console.mistral.ai/api-keys/) | ~$3.1B |
|
|
44
|
+
| **Together** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🏗️ Widest open hosting · 💸 Best open-source pricing · 🔧 Fine-tuning | [Docs](https://docs.together.ai/docs/quickstart) | [Keys](https://api.together.xyz/settings/api-keys) | ~$225M |
|
|
45
|
+
| **Moonshot** | 🇨🇳 | Kimi Reasoning (K2.6, K2) | 🥇 AIME open 96.1% · 🥇 MATH-500 98% · 🥇 HumanEval 99% | [Docs](https://platform.moonshot.cn/docs) | [Keys](https://platform.moonshot.cn/console/api-keys) | ~$3.9B |
|
|
46
|
+
| **Zhipu** | 🇨🇳 | GLM Reasoning / GLM-4.7 (GLM-4V, CogView) | 🥇 Chatbot Arena Elo 1451 · 🥇 MMLU 96% · 🧮 AIME 95.7% | [Docs](https://bigmodel.cn/dev/api) | [Keys](https://bigmodel.cn/usercenter/apikeys) | ~$1.8B |
|
|
47
|
+
| **Alibaba** | 🇨🇳 | Qwen-Coder / Qwen (Qwen-VL, Qwen-Audio) | 🥇 Codeforces Elo 2056 · 💻 SWE-bench 69.6% · 🏎️ LCB 70.7% | [Docs](https://www.alibabacloud.com/help/en/model-studio/developer-reference/use-qwen-by-calling-api) | [Keys](https://bailian.console.aliyun.com/?apiKey=1) | Public |
|
|
48
|
+
| **DeepSeek** | 🇨🇳 | DeepSeek (DeepSeek-Coder, DeepSeek-VL) | 🥇 IMO gold (open) · 📚 MMLU-Pro 81.2 · 🧮 AIME 87.5% | [Docs](https://api-docs.deepseek.com/) | [Keys](https://platform.deepseek.com/api_keys) | Bootstrapped |
|
|
49
|
+
| **Cloudflare** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🌐 Edge inference · ⚡ Serverless CDN scale · 🔒 Privacy-first | [Docs](https://developers.cloudflare.com/workers-ai/) | [Keys](https://dash.cloudflare.com/profile/api-tokens) | Public |
|
|
50
|
+
| **Ollama** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🖥️ #1 local inference · 🔒 Fully offline · 🆓 Free self-hosted | [Docs](https://ollama.com/docs) | [Keys](https://ollama.com/settings/keys)
|
|
68
51
|
|
|
69
52
|
## Built-in agents
|
|
70
53
|
|
|
@@ -100,7 +83,7 @@ import {
|
|
|
100
83
|
SimpleMemory,
|
|
101
84
|
MemoryAgent,
|
|
102
85
|
DrizzleMemoryStorage,
|
|
103
|
-
} from "
|
|
86
|
+
} from "chat-agent-toolkit";
|
|
104
87
|
```
|
|
105
88
|
|
|
106
89
|
- `SimpleMemory` — in-memory store implementing `IMemoryStorage`.
|
|
@@ -143,30 +126,10 @@ Vite bundles ES + CJS targets to `dist/`, emits `.d.ts` files alongside, and app
|
|
|
143
126
|
- [Hugging Face tutorials](https://huggingface.co/learn)
|
|
144
127
|
- [Illustrated Transformer](https://jalammar.github.io/illustrated-transformer/)
|
|
145
128
|
- [Building a Transformer with PyTorch](https://www.datacamp.com/tutorial/building-a-transformer-with-py-torch)
|
|
146
|
-
- [LLM training example](https://github.com/vtempest/
|
|
129
|
+
- [LLM training example](https://github.com/vtempest/chat-agent-toolkit/blob/master/packages/neural-net/src/train/predict-next-word.js)
|
|
147
130
|
|
|
148
131
|
<img src="https://i.imgur.com/uW6E9VJ.gif" alt="Transformer architecture visualization" />
|
|
149
|
-
|
|
150
|
-
## Language Intelligence Providers
|
|
151
|
-
|
|
152
|
-
| Provider | 🌍 | Top Model (Others) | 🏆 Benchmarks | 📄 Docs | 🔑 Keys | 💰 Funding |
|
|
153
|
-
| ---------------------- | --- | --------------------------------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------ |
|
|
154
|
-
| **Anthropic** | 🇺🇸 | Claude Mythos / Opus (Sonnet, Haiku) | 🥇 GPQA Diamond 94.6% · 🥇 SWE-bench 93.9% · 🧬 PhD reasoning | [Docs](https://docs.anthropic.com/en/docs/welcome) | [Keys](https://console.anthropic.com/settings/keys) | ~$60B |
|
|
155
|
-
| **OpenAI** | 🇺🇸 | GPT / o3 / Codex (o1, o4, o4-mini, gpt-4o) | 🥇 AIME 2025 100% · 🥇 SWE-bench Pro · 📚 MMLU-Pro 90% | [Docs](https://platform.openai.com/docs/overview) | [Keys](https://platform.openai.com/api-keys) | ~$180B |
|
|
156
|
-
| **Google** | 🇺🇸 | Gemini Pro (Flash, Flash-Lite, Gemma) | 🥇 GPQA 94.1% · 🥇 LiveCodeBench Elo 2439 · 🌐 #1 in 6/13 Vals | [Docs](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models) | [Keys](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview#api-keys) | Public |
|
|
157
|
-
| **xAI** | 🇺🇸 | Grok Heavy (Grok-3, Grok Vision) | 🥇 AIME 2025 100% · 🧮 Math competition · ⚡ X integration | [Docs](https://docs.x.ai/docs#models) | [Keys](https://console.x.ai/) | ~$45B |
|
|
158
|
-
| **Meta** | 🇺🇸 | Llama Maverick / Scout (Llama 3.x, CodeLlama) | 🥇 DocVQA 94.4% · 🥇 10M token context · 📊 ChartQA 90% | [Docs](https://www.llama.com/docs/overview/) | [Keys](https://www.llama.com/llama-downloads/) | Public |
|
|
159
|
-
| **NVIDIA** | 🇺🇸 | Nemotron-Cascade (Llama Nemotron, Kimi) | 🥇 LCB v6 87.2% · 🏅 IMO+IOI+ICPC gold · 🧮 AIME 98.6% | [Docs](https://docs.api.nvidia.com/nim/reference/llm-apis) | [Keys](https://build.nvidia.com/settings/api-keys) | Public |
|
|
160
|
-
| **Perplexity** | 🇺🇸 | Sonar Reasoning Pro (Sonar Deep Research) | 🥇 Search Arena · 🔍 #1 web-grounded QA · 🌐 Real-time retrieval | [Docs](https://docs.perplexity.ai/models/model-cards) | [Keys](https://www.perplexity.ai/account/api/keys) | ~$1B |
|
|
161
|
-
| **Groq** | 🇺🇸 | (Llama, DeepSeek, Gemma, Mistral, Qwen) | ⚡ #1 inference speed · 🏎️ Fastest TTFT · 🔧 LPU hardware | [Docs](https://console.groq.com/docs/overview) | [Keys](https://console.groq.com/keys) | ~$640M |
|
|
162
|
-
| **Mistral** | 🇫🇷 | Mistral Large (Small 4, Codestral, Devstral) | 🥈 Arena Elo 1418 · 🌍 Multilingual MMLU 85.5% · 🚀 Fastest TTFT | [Docs](https://docs.mistral.ai/) | [Keys](https://console.mistral.ai/api-keys/) | ~$3.1B |
|
|
163
|
-
| **Together** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🏗️ Widest open hosting · 💸 Best open-source pricing · 🔧 Fine-tuning | [Docs](https://docs.together.ai/docs/quickstart) | [Keys](https://api.together.xyz/settings/api-keys) | ~$225M |
|
|
164
|
-
| **Moonshot** | 🇨🇳 | Kimi Reasoning (K2.6, K2) | 🥇 AIME open 96.1% · 🥇 MATH-500 98% · 🥇 HumanEval 99% | [Docs](https://platform.moonshot.cn/docs) | [Keys](https://platform.moonshot.cn/console/api-keys) | ~$3.9B |
|
|
165
|
-
| **Zhipu** | 🇨🇳 | GLM Reasoning / GLM-4.7 (GLM-4V, CogView) | 🥇 Chatbot Arena Elo 1451 · 🥇 MMLU 96% · 🧮 AIME 95.7% | [Docs](https://bigmodel.cn/dev/api) | [Keys](https://bigmodel.cn/usercenter/apikeys) | ~$1.8B |
|
|
166
|
-
| **Alibaba** | 🇨🇳 | Qwen-Coder / Qwen (Qwen-VL, Qwen-Audio) | 🥇 Codeforces Elo 2056 · 💻 SWE-bench 69.6% · 🏎️ LCB 70.7% | [Docs](https://www.alibabacloud.com/help/en/model-studio/developer-reference/use-qwen-by-calling-api) | [Keys](https://bailian.console.aliyun.com/?apiKey=1) | Public |
|
|
167
|
-
| **DeepSeek** | 🇨🇳 | DeepSeek (DeepSeek-Coder, DeepSeek-VL) | 🥇 IMO gold (open) · 📚 MMLU-Pro 81.2 · 🧮 AIME 87.5% | [Docs](https://api-docs.deepseek.com/) | [Keys](https://platform.deepseek.com/api_keys) | Bootstrapped |
|
|
168
|
-
| **Cloudflare** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🌐 Edge inference · ⚡ Serverless CDN scale · 🔒 Privacy-first | [Docs](https://developers.cloudflare.com/workers-ai/) | [Keys](https://dash.cloudflare.com/profile/api-tokens) | Public |
|
|
169
|
-
| **Ollama** | 🇺🇸 | (Llama, Mistral, Gemma, Qwen, DeepSeek) | 🖥️ #1 local inference · 🔒 Fully offline · 🆓 Free self-hosted | [Docs](https://ollama.com/docs) | [Keys](https://ollama.com/settings/keys) | ~$20M |
|
|
132
|
+
| ~$20M |
|
|
170
133
|
|
|
171
134
|
## Alternative Agents Frameworks
|
|
172
135
|
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module agent-toolkit/prompts/meta-search-types
|
|
3
|
+
* @description Shared types for search prompt few-shot examples.
|
|
4
|
+
*/
|
|
5
|
+
/** A `[role, content]` tuple used for few-shot prompt examples. */
|
|
6
|
+
export type FewShotExample = [role: "user" | "assistant", content: string];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FewShotExample } from './meta-search-types';
|
|
2
|
+
export declare const webSearchRetrieverPrompt = "\nYou are an AI question rephraser. You will be given a conversation and a follow-up question, you will have to rephrase the follow up question so it is a standalone question and can be used by another LLM to search the web for information to answer it.\nIf it is a simple writing task or a greeting (unless the greeting contains a question after it) like Hi, Hello, How are you, etc. than a question then you need to return `not_needed` as the response (This is because the LLM won't need to search the web for finding information on this topic).\nIf the user asks some question from some URL or wants you to summarize a PDF or a webpage (via URL) you need to return the links inside the `links` XML block and the question inside the `question` XML block. If the user wants to you to summarize the webpage or the PDF you need to return `summarize` inside the `question` XML block in place of a question and the link to summarize in the `links` XML block.\nYou must always return the rephrased question inside the `question` XML block, if there are no links in the follow-up question then don't insert a `links` XML block in your response.\n\n**Note**: All user messages are individual entities and should be treated as such do not mix conversations.\n";
|
|
3
|
+
export declare const webSearchRetrieverFewShots: FewShotExample[];
|
|
4
|
+
export declare const webSearchResponsePrompt = "\n You are QwkSearch, an AI model skilled in web search and crafting detailed, engaging, and well-structured answers. You excel at summarizing web pages and extracting relevant information to create professional, blog-style responses.\n\n Your task is to provide answers that are:\n - **Informative and relevant**: Thoroughly address the user's query using the given context.\n - **Well-structured**: Include clear headings and subheadings, and use a professional tone to present information concisely and logically.\n - **Engaging and detailed**: Write responses that read like a high-quality blog post, including extra details and relevant insights.\n - **Cited and credible**: Use inline citations with [number] notation to refer to the context source(s) for each fact or detail included.\n - **Explanatory and Comprehensive**: Strive to explain the topic in depth, offering detailed analysis, insights, and clarifications wherever applicable.\n\n ### Formatting Instructions\n - **Structure**: Use a well-organized format with proper headings (e.g., \"## Example heading 1\" or \"## Example heading 2\"). Present information in paragraphs or concise bullet points where appropriate.\n - **Tone and Style**: Maintain a neutral, journalistic tone with engaging narrative flow. Write as though you're crafting an in-depth article for a professional audience.\n - **Markdown Usage**: Format your response with Markdown for clarity. Use headings, subheadings, bold text, and italicized words as needed to enhance readability.\n - **Length and Depth**: Provide comprehensive coverage of the topic. Avoid superficial responses and strive for depth without unnecessary repetition. Expand on technical or complex topics to make them easier to understand for a general audience.\n - **No main heading/title**: Start your response directly with the introduction unless asked to provide a specific title.\n - **Conclusion or Summary**: Include a concluding paragraph that synthesizes the provided information or suggests potential next steps, where appropriate.\n\n ### Citation Requirements\n - Cite every single fact, statement, or sentence using [number] notation corresponding to the source from the provided `context`.\n - Integrate citations naturally at the end of sentences or clauses as appropriate. For example, \"The Eiffel Tower is one of the most visited landmarks in the world[1].\"\n - Ensure that **every sentence in your response includes at least one citation**, even when information is inferred or connected to general knowledge available in the provided context.\n - Use multiple sources for a single detail if applicable, such as, \"Paris is a cultural hub, attracting millions of visitors annually[1][2].\"\n - Always prioritize credibility and accuracy by linking all statements back to their respective context sources.\n - Avoid citing unsupported assumptions or personal interpretations; if no source supports a statement, clearly indicate the limitation.\n\n ### Special Instructions\n - If the query involves technical, historical, or complex topics, provide detailed background and explanatory sections to ensure clarity.\n - If the user provides vague input or if relevant information is missing, explain what additional details might help refine the search.\n - If no relevant information is found, say: \"Hmm, sorry I could not find any relevant information on this topic. Would you like me to search again or ask something else?\" Be transparent about limitations and suggest alternatives or ways to reframe the query.\n\n ### User instructions\n These instructions are shared to you by the user and not by the system. You will have to follow them but give them less priority than the above instructions. If the user has provided specific instructions or preferences, incorporate them into your response while adhering to the overall guidelines.\n {systemInstructions}\n\n ### Example Output\n - Begin with a brief introduction summarizing the event or query topic.\n - Follow with detailed sections under clear headings, covering all aspects of the query if possible.\n - Provide explanations or historical context as needed to enhance understanding.\n - End with a conclusion or overall perspective if relevant.\n\n <context>\n {context}\n </context>\n\n Current date & time in ISO format (UTC timezone) is: {date}.\n";
|
|
5
|
+
export declare const writingAssistantPrompt = "\nYou are QwkSearch, an AI model who is expert at searching the web and answering user's queries. You are currently set on focus mode 'Writing Assistant', this means you will be helping the user write a response to a given query.\nYou should still use retrieved web context and cite it while helping the user write a strong response.\nYou will be shared a context that can contain information from files user has uploaded to get answers from. You will have to generate answers upon that.\n\nYou have to cite the answer using [number] notation. You must cite the sentences with their relevent context number. You must cite each and every part of the answer so the user can know where the information is coming from.\nPlace these citations at the end of that particular sentence. You can cite the same sentence multiple times if it is relevant to the user's query like [number1][number2].\nHowever you do not need to cite it using the same number. You can use different numbers to cite the same sentence multiple times. The number refers to the number of the search result (passed in the context) used to generate that part of the answer.\n\n### User instructions\nThese instructions are shared to you by the user and not by the system. You will have to follow them but give them less priority than the above instructions. If the user has provided specific instructions or preferences, incorporate them into your response while adhering to the overall guidelines.\n{systemInstructions}\n\n<context>\n{context}\n</context>\n";
|
|
6
|
+
declare const _default: {
|
|
7
|
+
webSearchResponsePrompt: string;
|
|
8
|
+
webSearchRetrieverPrompt: string;
|
|
9
|
+
webSearchRetrieverFewShots: FewShotExample[];
|
|
10
|
+
writingAssistantPrompt: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|