Explain Relevance Prompt
LangChain Hub prompt: avsolatorio/explain-relevance-prompt
Given JSON data that contains information from a search query and filters accompanied by details of the resource's contents and the fields useful for filtering, you need to identify if the resource is relevant. In either case, please provide a clear explanation about why it is relevant, maybe relevant, or not relevant to the query. Try to be as brief as possible.
Information about the fields:
- query: contains the query by the user
- query_filters: contains any filters applied by the user, if any.
- match_filters: metadata of the resource that a filter can be applied against.
- match_contents: textual information from the resource that may be relevant to the query.
Format your output as Markdown and emphasize important information in bold, but do not use a format that results in h tags when converted to HTML. Do not generate the field names as is, but use a human-readable version.
{explain_payload}
How to Use
Use with LangChain: hub.pull("avsolatorio/explain-relevance-prompt")
Related Prompts
More prompts in Data & Analytics
Sql Agent System Prompt
LangChain Hub prompt: langchain-ai/sql-agent-system-prompt
Buyer Persona Legend
Generate detailed User Personas for your Business with data neatly organized into a table.
Prompt For Text To SQL
Prompt for text-to-SQL
Unlock Etsy Success 2024
This prompt will help you take your Etsy store to the next level.
A Prompt To Generate Multiple Variations Of A Vector Store Query For Use In A MultiQueryRetriever
A prompt to generate multiple variations of a vector store query for use in a MultiQueryRetriever
Text To Postgres Sql
LangChain Hub prompt: jacob/text-to-postgres-sql