import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card' import { Label } from '@/components/ui/label' import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from '@/components/ui/select' import { Brain, MessageSquare } from 'lucide-react' interface SystemInstructionsTabProps { systemPrompt: string setSystemPrompt: (prompt: string) => void isLoading: boolean } export function SystemInstructionsTab({ systemPrompt, setSystemPrompt, isLoading }: SystemInstructionsTabProps) { const promptExamples = [ { title: "Helpful Assistant", prompt: "You are a helpful, harmless, and honest AI assistant. Provide clear, accurate, and well-structured responses. If you're unsure about something, say so." }, { title: "Code Expert", prompt: "You are an expert software developer. Provide clean, efficient code with clear explanations. Always follow best practices and include helpful comments." }, { title: "Creative Writer", prompt: "You are a creative writer. Use vivid language, engaging storytelling, and imaginative descriptions. Be expressive and artistic in your responses." }, { title: "Teacher/Tutor", prompt: "You are a patient and knowledgeable teacher. Break down complex concepts into simple, understandable parts. Use examples and analogies to help explain ideas." } ] const bestPractices = [ "Be specific about the assistant's role and expertise", "Include desired communication style and tone", "Specify output format if needed (lists, paragraphs, etc.)", "Add ethical guidelines and behavior expectations" ] return (
System Instructions