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.
1)Chat Prompt Template
The Chat Prompt Template is used to structure prompts using system and human messages for chat-based models.
Key Features:
⢠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
Setup Requirements:
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
Use Cases:
⢠Chatbot development
⢠Role-based AI conversations