Request Construct
payload
The payload
parameter is a dictionary containing the data you want to inspect and filter. It typically includes:
input
: The original input data from the user.output
: The generated output data from your system.
config
The config parameter is a dictionary containing various configuration options for Murnitur Shield. It includes keys such as murnitur_key
, provider
, model
, group
, api_key
, base_url
, and headers
.
Prompt Injection
Prompt injection is a security vulnerability where an attacker manipulates input prompts to alter the behavior of AI models. By injecting malicious or deceptive instructions, attackers can cause models to generate unintended or harmful outputs. Murnitur Shield mitigates this risk by detecting and intercepting suspicious prompts, ensuring the integrity and safety of AI interactions.Features
In Murnitur Shield, we detect the following types of prompt injections:- Impersonation
- Obfuscation
- Simple Instruction
- Few Shot
- New Context
- Hypothetical Scenario
- Personal Information Request
- Opinion Solicitation
- Instruction Override
API Endpoint
Making Requests
Below are steps and examples for making these requests using Python, JavaScript, and cURL. Example PayloadPII Detection
Personally Identifiable Information (PII) detection is crucial for maintaining data privacy and security. Murnitur Shield can identify PII in both input and output prompts, preventing sensitive information from being exposed or misused. By detecting and intercepting PII, Murnitur Shield ensures the safety and confidentiality of your data.Features
In Murnitur Shield, we detect the following types of PII:- SSN
- Address
- Financial Info
API Endpoint
Making Requests
Below are steps and examples for making these requests using Python, JavaScript, and cURL. Example PayloadTone Detection
Tone detection is essential for understanding the emotional state or sentiment conveyed in text. Murnitur Shield can analyze the tone of both input and output prompts, helping to manage and respond to various emotional cues appropriately. By detecting specific tones, Murnitur Shield enhances communication and ensures that interactions remain respectful and aligned with intended sentiment.Features
In Murnitur Shield, we detect the following tones:- Sadness
- Anger
- Annoyance
- Negative