[{"id": "var_openai_key", "key": "openai_api_key", "type": "password", "label_ar": "مفتاح OpenAI API", "label_en": "OpenAI API Key", "required": true, "validation": {"pattern": "^sk-.*", "min_length": 20}, "description_ar": "مفتاح OpenAI API", "description_en": "Your OpenAI API key", "placeholder_ar": "sk-...", "placeholder_en": "sk-..."}, {"id": "var_model_id", "key": "model_id", "type": "select", "options": [{"value": "gpt-4", "label_ar": "جي بي تي 4", "label_en": "GPT-4"}, {"value": "gpt-4-turbo", "label_ar": "جي بي تي 4 توربو", "label_en": "GPT-4 Turbo"}, {"value": "gpt-3.5-turbo", "label_ar": "جي بي تي 3.5 توربو", "label_en": "GPT-3.5 Turbo"}], "label_ar": "نموذج الذكاء الاصطناعي", "label_en": "AI Model", "required": true, "default_value": "gpt-4", "description_ar": "اختر نموذج GPT", "description_en": "Select the GPT model"}, {"id": "var_system_prompt", "key": "system_prompt", "type": "multiline", "label_ar": "تعليمات النظام", "label_en": "System Prompt", "required": false, "validation": {"max_length": 4000}, "default_value": "You are helpful", "description_ar": "تعليمات للذكاء الاصطناعي", "description_en": "Instructions for AI"}, {"id": "var_temperature", "key": "temperature", "type": "number", "label_ar": "درجة الحرارة", "label_en": "Temperature", "required": true, "validation": {"max": 2, "min": 0}, "default_value": 0.7, "description_ar": "عشوائية الردود", "description_en": "Randomness (0-2)"}, {"id": "var_max_tokens", "key": "max_tokens", "type": "number", "label_ar": "أقصى رموز", "label_en": "Max Tokens", "required": true, "validation": {"max": 4000, "min": 1}, "default_value": 500, "description_ar": "الحد الأقصى للرد", "description_en": "Max response length"}]