Appearance
How Prompt sharing works
We believe your prompts and prompt engineering techniques is proprietary assets. Our prompt sharing system uses a smart "private mode" feature that separates visible and hidden parts of your prompt, to secure your AI intellectual property.
Inputs vs. Hidden Logic
When creating a prompt in private mode, you can:
- Mark Inputs: Choose which parts of your prompt will be visible to others. These are usually placeholders (e.g.,
{{ topic }}
or{{ customer_name }}
) that users can fill in. - Hide the Rest: The rest of the prompt—the structure, instructions, personas and examples—is secured in our system and never exposed to users.
What Happens When a Prompt is Run
- User Fills Inputs: Someone browsing the marketplace sees your prompt’s inputs and fills them with their own content.
- We Combine the Pieces: Behind the scenes, BetterPrompt merges the hidden parts of your prompt with the user-provided inputs.
- Send to AI Models: The combined prompt is sent securely to supported AI providers such as OpenAI, Grok, or Gemini.
- Deliver Results: The AI generates an output, which is returned to the user instantly.
Example: Planning a Trip
What the User Sees (Inputs):
Destination: {{ destination }}
Trip length in days: {{ trip_length }}
Preferred Activities: {{ activities }}
Budget: {{ budget }}
What’s Hidden (Private Logic):
You are an expert travel planner. Create a detailed travel itinerary for a {{ trip_length }}-day trip to {{ destination }}.
Consider that the budget is {{ budget }}. Plan activities around this budget and make sure it fits within the {{ trip_length }} days of the trip.
Also make sure to include these activities in the plan: {{ activities }}. If such activities cannot work with the given budget, please indicate so in the response.
Include recommendations for flights, hotels, restaurants, and daily activities. Prioritize unique experiences and local culture.
Think step by step. Only respond with the trip plan.
How It Works:
- The user enters:
Destination: Kyoto
,Trip length in days: 10
,Activities: temples, food tours
,Budget: $1500
. - BetterPrompt merges these inputs with the hidden travel planning instructions.
- The full prompt is sent securely to the AI vendor.
- The AI returns a detailed, customized Kyoto travel plan.