Prompt
A prompt sets the context and guidelines for both the LLM and the user, shaping the conversation and responses. Pipe can contain system, user, and AI assistant prompts.
1. System Prompt
A system prompt sets the context, instructions, and guidelines for a language model before it receives questions or tasks. It helps define the model's role, personality, tone, and other details to improve its responses to user input.
2. User Prompt
A user prompt is a text input that a user provides to an LLM to which the model responds. Lastly, AI assistant prompt is the LLM's generated output in response to a user prompt.
3. AI Assistant Prompt
An AI assistant prompt is the LLM's generated output in response to a user prompt. It is the response that the LLM generates based on the user's input.
All of these prompts are present inside a Pipe and can also be customized. These prompts can use variables that make them dynamic.
How to use System, User & AI assistant prompts
Follow this quick guide to learn how to use System, User & AI assistant prompts.
Step #1System Prompt
Navigate to any of your Langbase Pipes and click on the System Prompt Instructions text area to write a system prompt.
You are helpful AI assistant that creates creative blog titles.
Step #2User Prompt
Click on User button in front of Add Message By to write a user prompt.
It will open a text area with role User. Write a user prompt in this text area.
Can you suggest a creative blog title for my blog post?
Step #3AI Assistant Prompt
Click on AI Assistant button in front of Add Message By to write an AI assistant prompt.
It will open a text area with role AI Assistant. Write an AI assistant prompt in this text area.
"Unleashing the Power of AI: Exploring Innovative Applications"