template
Prompt defines the prompt sent to AI Models.
You can use a predefined Prompt Template and initiate the variables for system and user prompt when executing the AI Pipeline from the SDK, or define the entire prompt with the SDK.
prompt:
template:
package: floom/prompt/templates/default
system: "You are helpful assistant"
# π tutorial.pdf as context
context:
- package: floom/prompt/context/pdf
path: /etc/tutorial.pdf
# β Filter Profanity
validation:
- package: floom/plugins/bad-words-filter
disallow: ['profanity']
This prompt uses Floom default Prompt Template package located at floom/prompt/templates/default.
π‘Note that most templates will use both System Prompt (general instruction) and User Prompt (coming from user input). Learn about their differences.