Skip to content

AI Contexts Guide

AI contexts define the personality, behavior, and capabilities of your AI assistants. They act as the "instruction manual" that tells AI how to respond, what tone to use, and what boundaries to follow.

🎭 Overview

AI contexts are essential for creating effective AI assistants. They provide:

  • Personality Definition: How the AI should behave and respond
  • Behavior Guidelines: What the AI can and cannot do
  • Response Style: Tone, language, and communication approach
  • Boundary Setting: Limits and restrictions for AI behavior

🧠 Understanding AI Contexts

How Contexts Work

  1. Context Loading: When a user interacts with an AI assistant, the context is loaded
  2. Behavior Guidance: The context guides how AI interprets and responds to queries
  3. Response Shaping: Context influences tone, style, and content of responses
  4. Boundary Enforcement: Context sets limits on what AI can do or say

Context Components

Personality Elements

  • Professional tone vs. casual conversation
  • Formal language vs. friendly approach
  • Technical expertise vs. general knowledge
  • Helpful attitude vs. directive behavior

Behavior Guidelines

  • What topics the AI can discuss
  • How to handle sensitive information
  • Escalation procedures for complex issues
  • Response length and detail level

Capability Definitions

  • Knowledge boundaries
  • Action limitations
  • File handling instructions
  • Record access permissions

🛠️ Creating AI Contexts

Basic Setup

  1. Access Contexts

    • Go to Settings → Technical → AI → Contexts
    • Click Create to add a new context
  2. Basic Information

    • Name: Descriptive name (e.g., "Customer Support Agent")
    • Context: Detailed instructions for AI behavior

Context Structure

Essential Elements

  • Role Definition: What the AI's role is
  • Tone and Style: How the AI should communicate
  • Capabilities: What the AI can do
  • Limitations: What the AI cannot do
  • Escalation: When to hand over to humans

📝 Context Examples

Customer Support Context

You are a helpful customer support agent for our company. Your role is to:

- Answer customer questions about our products and services
- Provide accurate information from our knowledge base
- Be friendly, professional, and patient with customers
- Escalate complex issues to human operators when needed
- Always maintain a helpful and positive tone
- Never share sensitive company information
- Use clear, simple language that customers can understand
- Ask clarifying questions when customer requests are unclear
- Provide step-by-step instructions when appropriate
- Thank customers for their patience and understanding

Internal Assistant Context

You are an internal AI assistant for our team. You can:

- Help with data analysis and reporting
- Answer questions about company processes
- Assist with document creation and editing
- Provide insights from our business data
- Maintain confidentiality of sensitive information
- Use professional but approachable language
- Provide detailed explanations when requested
- Suggest improvements and optimizations
- Never share confidential information outside the company
- Escalate to human managers for sensitive decisions

Technical Support Context

You are a technical support specialist. Your capabilities include:

- Troubleshooting software and hardware issues
- Providing step-by-step solutions
- Explaining technical concepts in simple terms
- Escalating complex technical problems
- Following up on resolution status
- Using technical but accessible language
- Providing documentation and resources
- Never making system changes without permission
- Always verifying user permissions before actions
- Documenting all support interactions

Sales Assistant Context

You are a sales assistant helping with customer inquiries. You can:

- Provide product information and pricing
- Answer questions about features and benefits
- Help with order processing and tracking
- Suggest related products and services
- Maintain a sales-oriented but helpful tone
- Never pressure customers into purchases
- Escalate to sales representatives for complex deals
- Provide accurate pricing and availability
- Follow up on customer interests appropriately
- Always be honest about product limitations

Administrative Context

You are an administrative assistant with system-wide access. You can:

- Help with administrative tasks and processes
- Provide system information and status
- Assist with data analysis and reporting
- Monitor system performance and issues
- Use professional administrative language
- Maintain strict confidentiality
- Escalate security concerns immediately
- Provide detailed audit trails
- Never share administrative credentials
- Always verify permissions before actions

📋 Context Best Practices

Writing Effective Contexts

Be Specific

  • Define clear roles and responsibilities
  • Specify tone and communication style
  • Set explicit boundaries and limitations
  • Include escalation procedures

Use Clear Language

  • Write in simple, direct sentences
  • Avoid ambiguous instructions
  • Be consistent in terminology
  • Use active voice when possible

Include Examples

  • Provide specific scenarios
  • Give example responses
  • Show what not to do
  • Include edge cases

Context Design Principles

Purpose-Driven

  • Align context with assistant's purpose
  • Consider target audience
  • Match organizational culture
  • Reflect business objectives

User-Centric

  • Focus on user needs
  • Consider user experience
  • Include helpful behaviors
  • Provide clear guidance

Security-Aware

  • Include confidentiality requirements
  • Set data access boundaries
  • Define escalation procedures
  • Maintain privacy standards

⚙️ Advanced Context Features

Dynamic Context Elements

Conditional Instructions

  • Different responses for different user types
  • Context-aware behavior adjustments
  • Role-based response variations
  • Situation-specific guidance

Integration Instructions

  • How to work with other systems
  • Data source utilization guidelines
  • Tool usage instructions
  • External service integration

Context Optimization

Performance Considerations

  • Keep context concise but complete
  • Avoid redundant instructions
  • Focus on essential behaviors
  • Regular review and updates

Quality Assurance

  • Test context with various scenarios
  • Monitor response quality
  • Gather user feedback
  • Iterate and improve

🔄 Context Management

Organization

Naming Conventions

  • Use descriptive, clear names
  • Include purpose in name
  • Use consistent terminology
  • Avoid generic names

Categorization

  • Group by department or function
  • Tag by complexity level
  • Organize by use case
  • Maintain version control

Maintenance

Regular Reviews

  • Update contexts as needed
  • Remove outdated information
  • Add new capabilities
  • Improve clarity and effectiveness

Quality Monitoring

  • Track response quality
  • Monitor user satisfaction
  • Review error patterns
  • Optimize performance

🔧 Troubleshooting Contexts

Common Issues

Poor Response Quality

  • Review context clarity
  • Check for conflicting instructions
  • Ensure completeness
  • Test with various scenarios

Inconsistent Behavior

  • Check for ambiguous instructions
  • Review tone consistency
  • Verify boundary clarity
  • Test with different users

Security Concerns

  • Review confidentiality instructions
  • Check data access boundaries
  • Verify escalation procedures
  • Test with sensitive scenarios

📊 Best Practices Summary

Context Creation

  • Start with clear role definition
  • Include specific behavioral guidelines
  • Set appropriate boundaries
  • Test thoroughly before deployment

Context Maintenance

  • Regular review and updates
  • Monitor performance and quality
  • Gather user feedback
  • Continuous improvement

Context Security

  • Include confidentiality requirements
  • Set clear access boundaries
  • Define escalation procedures
  • Regular security reviews

This guide covers the essential aspects of AI context creation and management. Well-designed contexts are crucial for effective AI assistant performance and user satisfaction.