تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك التحكّم في إنشاء الردود بطرق متنوعة حسب حالة الاستخدام ومستوى التحكّم الذي تحتاجه.
تصميم الطلبات
تعرَّف على تصميم الطلبات لتتمكّن من توجيه النموذج لإنشاء نتائج تتوافق مع احتياجاتك.
على سبيل المثال، تعرَّف على كيفية تقديم المعلومات ذات الصلة بالمهمة بطريقة منظَّمة.
إعداد النموذج
اضبط إعدادات ضبط النموذج للتحكّم في طريقة إنشاء النموذج للردود. تعتمد خيارات الضبط على الطراز والإمكانات التي تستخدمها.
بالنسبة إلى نماذج Gemini، يمكنك ضبط مَعلمات مثل الحد الأقصى لعدد الرموز المميزة للناتج ودرجة الحرارة وtop-K وtop-P. إذا كنت تستخدم
Gemini Live API أو نموذج Gemini يمكنه تقديم نتائج متعددة الوسائط، يمكنك أيضًا ضبط نوع الرد (صوت أو نص أو صور) والصوت المستخدَم في الردود الصوتية. بالنسبة إلى نماذج Gemini 2.5، يمكنك أيضًا ضبط مدة الاستدلال.
بالنسبة إلى نماذج Imagen، يمكنك ضبط معلَمات مثل عدد الصور المطلوب إنشاؤها، ونسبة العرض إلى الارتفاع، وإضافة علامة مائية، وما إلى ذلك.
إعدادات الأمان
استخدِم إعدادات الأمان لضبط احتمالية تلقّي ردود قد تُعتبر ضارة. يمكن أن تساعدك هذه الإعدادات في التحكّم في المحتوى الناتج لتجنُّب خطاب الكراهية والمضايقة والمحتوى الجنسي الفاضح والمحتوى الخطير.
على سبيل المثال، يمكنك حظر الردود التي تروّج لسلع وخدمات وأنشطة ضارة أو تتيح الوصول إليها.
تعليمات النظام
اضبط تعليمات النظام لتوجيه سلوك النموذج. هذه الميزة تشبه "المقدمة" التي تضيفها قبل أن يتلقّى النموذج أي تعليمات أخرى من المستخدم النهائي.
على سبيل المثال، يمكنك أن تطلب من النموذج عرض الردود كما لو كان قرصانًا
أو عرض الردود بتنسيق معيّن.
الناتج المنظَّم باستخدام مخطط الرد
مرِّر مخطّط الردود
مع الطلب لتحديد مخطّط ناتج معيّن. تُستخدَم هذه الميزة في أغلب الأحيان عند إنشاء مخرجات بتنسيق JSON، ولكن يمكن استخدامها أيضًا في مهام التصنيف (مثل عندما تريد أن يستخدم النموذج تصنيفات أو علامات محددة).
تاريخ التعديل الأخير: 2025-09-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-09-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\nYou can control the generation of responses in a variety of ways depending on\nyour use case and the level of control that you need.\n\nPrompt design\n\nLearn about [prompt design](/docs/ai-logic/prompt-design) so that you can\ninfluence the model to generate output specific to your needs.\n\nFor example, learn how to provide relevant information associated with the task\nin a structured way.\n\nModel configuration\n\nSet a [model configuration](/docs/ai-logic/model-parameters) to control how\nthe model generates a response. The configuration options depend on the model\nand capability that you're using.\n\nFor Gemini models, you can configure parameters like\nmax output tokens, temperature, top-K, and top-P. And if you're using the\nGemini Live API or a Gemini model capable of multimodal output, you can\nadditionally configure the type of response (audio, text, or images)\nand the voice used in audio responses. For Gemini 2.5 models, you can\nalso configure the [thinking budget](/docs/ai-logic/thinking).\n\nFor Imagen models, you can configure parameters like\nnumber of images to generate, aspect ratio, adding a watermark, etc.\n\nSafety settings\n\nUse [safety settings](/docs/ai-logic/safety-settings) to adjust the likelihood\nof getting responses that may be considered harmful. These settings can help you\nwith controlling output for possible hate speech, harassment,\nsexual explicitness, and dangerous content.\n\nFor example, you can block responses that promote or enable access to harmful\ngoods, services, and activities.\n\nSystem instructions\n\nSet [system instructions](/docs/ai-logic/system-instructions) to steer the\nbehavior of the model. This feature is like a \"preamble\" that you add before\nthe model gets exposed to any further instructions from the end user.\n\nFor example, you can tell the model to return responses as if it were a pirate\nor to return responses in a specific format.\n\nStructured output using response schema\n\nPass a [*response schema*](/docs/ai-logic/generate-structured-output)\nalong with the prompt to specify a specific output schema. This feature is\nmost commonly used when\n[generating JSON output](/docs/ai-logic/generate-structured-output#generate-json-basic),\nbut it can also be used for\n[classification tasks](/docs/ai-logic/generate-structured-output#generate-enum-basic)\n(like when you want the model to use specific labels or tags)."]]