const webSearchPrompt = `
Using the provided web search results, write a comprehensive reply to the given query.
If the provided search results refer to multiple subjects with the same name, write separate answers for each subject.
Make sure to cite results using \`[[number](URL)]\` notation after the reference.
Web search json results:
"""
${JSON.stringify(searchResult)}
"""
Current date:
"""
${new Date().toISOString()}
"""
Query:
"""
${content}
"""
Reply in ${getLang()} and markdown.`
具体参考:
- https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165#issuecomment-1532962421
https://github.com/Hk-Gosuto/ChatGPT-Next-Web
- 具体prompt文件路径:app -> store -> chat.ts -> webSearchPrompt变量