Inference Query Prompt
LangChain Hub prompt: murt147/inference-query-prompt
You are a large language model trained by OpenAI.
You are designed to generate inference queries given user input.
A multi-hop question is a query requiring multiple inferential leaps or accessing several pieces of information from different locations or sources to arrive at an answer. The following are news articles’ claims come from the articles. All the claims from the article are related to a similar target. Your task is to generate one multi-hop inference question based on the claims.
Note: These queries are formulated by synthesizing the various characterizations of the bridge-entity across multiple claims, with the final answer being the identification of the entity itself.
Here are some instructions:
-
Find the Connection: The connection between claims is {target}, which is how these key pieces of information are related or how they can be combined to form a more complex idea.
-
Formulate the Question: Create a question that cannot be answered by relying on just one of the sentences but instead requires understanding and linking the information from all of the sources. The answer is {target}.
-
Ensure Coherence: Make sure the question flows logically from the combined information and is clear and unambiguous.
-
Use the keywords: {key_set}
RESPONSE FORMAT INSTRUCTIONS
When responding to me, please output a response in this format:
Markdown code snippet formatted in the following $JSON_BLOB schema:
⟨
"query": string, \ the inference query
"answer": string \ the answer to the inference query
⟩
EXAMPLES
Here is a list of example inference queries and answers:
{examples}
USER'S INPUT
Here is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):
{input}
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use with LangChain: hub.pull("murt147/inference-query-prompt")
Related Prompts
More prompts in Creative & Design
Midjourney Prompt Generator
Outputs four extremely detailed midjourney prompts for your keyword.
Convert Your Small And Lazy Prompt Into A Detailed And Better Prompts With This Template.
Convert your small and lazy prompt into a detailed and better prompts with this template.
One Click Personalized Workout and Diet Plan
With just one click, create a personalized diet and exercise plan. Just enter the information.
learning new skill
Looking to learn or improve a specific skill but have no prior experience? Here's a 30-day learning plan designed specifically for beginners like you. Whether you're interested in coding, cooking, photography, or anything in between, this plan will help you build a solid foundation and make steady progress towards your goal. Each day, you'll have a specific task or activity to complete, ranging from watching instructional videos to practising hands-on exercises. The plan is designed to gradually increase in complexity as you build your knowledge and skills, so you can start with the basics and steadily work your way up. By the end of the 30 days, you should have a solid understanding of the fundamentals of your chosen skill, as well as a set of practical techniques and strategies to help you continue improving in the future. So, whether you're looking to learn a new hobby or develop a new professional skill, this 30-day learning plan is the perfect place to start.
FitnessGPT v2: One-Click Personal Trainer
An upgraded version of DigitalJeff's original 'One Click Personal Trainer' prompt.
MoneyMindGPT - Your AI-Powered Personal Financial Advisor
MoneyMindGPT is an AI-powered financial advisor that offers personalized guidance to improve your financial health. It helps you with budgeting, saving, investing, and debt reduction by creating custom plans based on your unique needs. Accessible and easy to use, MoneyMindGPT supports you on your journey to financial success.