Answer AI - RAG
Answer AI is a RAG (Retrieval-Augmented Generation) system responsible for generating contextual responses within the ai12z platform. ReAct treats this as the default tool (i.e., default integration). Being the default means that even if the ReAct LLM is unsure whether RAG can answer the question and no other integration can provide an answer, ReAct will still call Answer AI, which will then decide whether to respond or return "I don't know."
This section provides comprehensive guidance on configuring system prompts, managing model settings, and utilizing version control features to optimize your AI's performance.
Answer AI Configuration Interface
The Answer AI configuration page provides a comprehensive interface for customizing your AI's behavior and settings:
Navigation and Description
- Breadcrumb Navigation: Home > AI Settings > Answer AI
- Purpose Statement: "Instruct the AI on how to respond to queries after retrieving relevant content from the vector database. This includes guidance on behavior and tone of voice."
Main Configuration Tabs
- Answer AI Prompt: Primary system prompt configuration and editing
- History: Version control and comparison tools for prompt changes
Vibe Coding for System Prompts
Answer AI now includes intelligent vibe coding assistance that understands system prompt structure and requirements. Instead of manually writing complex prompt modifications, you can:
- Describe What You Want: Simply tell the AI what you'd like to add or change (e.g., "Add directives for routing users to the pricing page")
- Intelligent Understanding: The system understands the essential components of system prompts and how to structure them correctly
- Guided Modifications: Get help adding directives, adjusting tone, implementing guardrails, or refining behavior
- Contextual Awareness: The AI knows what makes a good system prompt and maintains consistency with existing content
Use the Instruction Panel on the right side of the Answer AI interface to describe your desired changes. The vibe coding assistant will help you implement modifications that maintain prompt quality and effectiveness.
System Prompt Editor
The main editing interface includes:
- Line-numbered Code Editor: Professional code editor with syntax highlighting
- Real-time Editing: Direct editing of system prompts with immediate feedback
- Current Content Display: Shows active prompt configuration
- Save Functionality: Preserve changes and apply to the AI system