chatgpt-web项目添加联网模式的prompt

技术 · 2023-07-18 · 访问: 1,065 次
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.`

具体参考:

前端 chatgpt prompt
icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif
Theme Jasmine by Kent Liao