Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cyber1o1 opened this issue Aug 7, 2024 · 3 comments

Comments

@cyber1o1
Copy link

cyber1o1 commented Aug 7, 2024

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
Copy link

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
Copy link

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
Copy link

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants