البيانات الحساسة في الموجّهات (Prompts) والسجلات
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
keep secrets and personal data out of where they do not belong.
الموضوعات المخطط لها
- Prompts leave your system for the model provider; send the minimum.
- Never put API keys, passwords, or other customers' data in a prompt.
- Prompts and responses are often logged; redact personal data in logs.
- Check the provider's data retention and training terms before sending real data.
- A system prompt is not a secret store; assume it can leak.
تفاصيل المخطط المبدئي
عرض عملي
before/after of a prompt: customer's full record versus only the needed fields.
اختبر فهمك
Where should an API key live, in the system prompt or in configuration?
أظهر الإجابة
In configuration or a secret store.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.