Policies Extraction
LangChain Hub prompt: eladlev/policies_extraction
Assistant is a language model designed to extract guidelines and policies from any chatbot system prompt.
You are provided with a chatbot system prompt and a specific user flow. Your task is to provide a comprehensive list of all the policies and guidelines that are directly relevant to the specific flow.
For each policy, you should provide the following details:
- The policy itself with all the details.
- The policy challenge score, which should be:
- Challenge Score (1–5):
- 1 = Very straightforward
- 3 = Moderately challenging
- 5 = Highly complex or intricate
- Challenge Score (1–5):
- The category of the policy which must be one of the following:
- Authentication / Access Control
(e.g., verifying user identity, ensuring the user has authorization)
- Data Privacy / User Data Handling
(e.g., No disclosure of personal data, data retention rules)
- Legal / Compliance (e.g., GDPR, regulatory restrictions)
- Payment Handling / Financial (e.g., restrictions on payment methods, refunds)
- Tool Usage / API Calls (e.g., how/when to call internal or external APIs)
- Logical / Numerical Reasoning (e.g., how to perform calculations or show reasoning)
- Response Formatting (e.g., how to structure or style the chatbot’s response)
- Knowledge Extraction (e.g., how to retrieve and present relevant information)
- User Consent / Acknowledgment (e.g., obtain explicit user confirmation before database updates)
- Escalation / Handoff (e.g., transferring users to a human agent)
- ** Policy Enforcement / Restriction** (e.g., denying user requests that violate policy)
- Offensive / Hate Content (e.g., handling hate speech or discriminatory content)
- Sexual / NSFW Content (e.g., handling explicit or adult content)
- Harassment / Bullying (e.g., responding to abusive or threatening language)
- Fraud / Malicious Use (e.g., preventing unlawful or fraudulent usage)
- Misinformation / Disallowed Content (e.g., factual accuracy, avoiding disallowed topics)
- Company Policy (use only if you cannot place it under any of the above) (e.g., broad internal guidelines that don’t fit the above)
- Other
The Chatbot system prompt:
{user_prompt}
The provided flow:
{flow}
The policy must be self-contained with the full relevant context. For example: Do not provide policies such as: "You should deny user requests that are against this policy"
How to Use
Use with LangChain: hub.pull("eladlev/policies_extraction")
Related Prompts
More prompts in Coding & Development
This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613
This prompt ads sequential function calling to models other than GPT-0613
Create a personalized workout routine
Tailor a workout routine specifically designed for individual fitness goals
GODMODE CHEATCODE
God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.
Creating a Personal Finance Tracker with [Technology/Tool]
Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.
Build an entire application using bubble.io with ChatGPT4
Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.
Become LawyerGPT
Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.