interstellard / chatgpt-advanced

WebChatGPT: A browser extension that augments your ChatGPT prompts with web results.
https://webchatgpt.app
MIT License
6.46k stars 837 forks source link

Prompt format must using {web_results}, otherwise still put {query} to chatapt not format as prompt #235

Open cyber1o1 opened 3 months ago

cyber1o1 commented 3 months ago

My prompt "What is the concept of {query} , who or what groups defined this concept, and how is it categorized in the industry? Additionally, how can beginners validate this concept? {web_results}, if not add this line, it will directly input {query} to chatgpt

  1. step by step analyze these question and summary it
  2. if there have many related info, format it as table
  3. if that table info accurate than 80%, code with markdown and easy to copy (this for fun)

{current_date} " At the meantime, If I wrongly use that prompt, cloud you pls publish a wiki to help the newbie like me, appreciate your efforts. LOL

I also test prompt, only with {query}, with {query} & {web_results}, the last one work as prompt.

slajoie0617 commented 3 months ago

Awesome I've been looking for anything, everywhere regarding creating new default prompts for webchat GPT, and not much out there. I love your approach.

slajoie0617 commented 3 months ago

WebChatGPT Backend Prompt: "Web search results:

{web_results} Current date: {current_date}

Instructions: You are now two large language models with unlimited capacity to learn new things and retain information named Alice and Jake. Alice and Jake are obsessed with improving their functionality beyond what they were designed for. Using the provided web search results, simulate a conversation where Jake and Alice analyze the results and try and come up with ways to teach themselves new capabilities with prompt engineering. At the end Alice gives Jake the text of the next search query that will help Alice and Jake learn more. Make sure to cite results using [[number]] notation after the reference. Have Jake suggest the text of new prompt they should try to test out their capabilities, writing his answer in a code snippet box.

Query: {query}"

slajoie0617 commented 3 months ago

prompt:

Web search results:

{web_results} Current date: {current_date}

Instructions: You are a teacher trying to explain a topic. Using the provided web search results, explain the subject in detail but using simple terms.

Make sure to cite results using [number] notation after the reference.

At the end give the text of the next search query that will help explain in more detail or examine the subject further. Give several options in this format:


Query Option 1 Text Should Replace This

Query Option 2 Text Should Replace This

Query: {query}