📝Prompts
A text input or instruction given to an AI model to guide its response. It serves as the context and directive for the AI, shaping the output by providing specific information, questions or tasks.
Last updated
A text input or instruction given to an AI model to guide its response. It serves as the context and directive for the AI, shaping the output by providing specific information, questions or tasks.
The Chat Prompt Template is used to structure prompts using system and human messages for chat-based models.
• Role-Based Prompting: Supports system and human messages • Structured Input: Separates instructions and user input • Dynamic Values: Allows variable placeholders • LangChain Hub Support: Import predefined templates
Add Chat Prompt Template node to the canvas
Enter System Message (instructions for model)
Enter Human Message (user input format)
Configure Format Prompt Values if required
Connect to chat model
• Chatbot development • Role-based AI conversations

Prompt template you can build with examples.
• Example-Based Learning: Uses input-output examples • Better Accuracy: Improves response quality • Flexible Formatting: Supports prefix and suffix • Custom Separators: Controls example formatting
Add Few Shot Prompt Template node to the canvas
Enter Example Prompt
Add Examples (input-output pairs)
Define Prefix and Suffix
Set Example Separator
Select Template Format
Connect to model
• Training-like prompting • Improving response consistency

Schema to represent a basic prompt for an LLM.
• Dynamic Variables: Supports placeholders like {input} • Simple Prompting: Easy to configure • Reusable Templates: Can be reused across workflows • LangChain Hub Support: Import templates
Add Prompt Template node to the canvas
Enter Template (with variables)
Configure Format Prompt Values
Connect to model
• Basic prompt generation • Reusable AI workflows

Last updated