Examples
Every Langbase pipe comes with multiple ready-to-use examples to quickly setup the Pipe without needing much assistance from the user. These examples aim to quickly get you started with building your first Pipe.
These examples include:
-
Learn: Few Shot Prompting
: This is an onboarding example to get you started few shot prompting in a pipe. -
Using Variables
: This example demonstrates how to use variables in a pipe. -
Less Wordy GPT
: A less wordy prompt example in a pipe. Great for chat purposes. -
Prompt Builder
: An advanced pipe example which uses few-shot prompts and variables to build better prompts.
How to use Pipe Examples?
Follow this quick guide to learn how to use pipe examples in Langbase.
Step #1Select an Example
Navigate to your Langbase pipe and click open the examples selector. You will see a list of examples available in Langbase. Let's select the Few Shot Prompting example.
![Pipe Examples](https://raw.githubusercontent.com/LangbaseInc/docs-images/main/features/few-shot-1-light.jpg)
Step #2Configure the Example
Selecting the example will add the example's prompts and other parameters in your pipe. You can see the few shot prompts added in the pipe.
![Few Shot Example in Pipe](https://raw.githubusercontent.com/LangbaseInc/docs-images/main/features/few-shot-2-light.jpg)
Now, you can modify the example as per your requirements, Run or Save the pipe.