پژوهشنامه حلال

پژوهشنامه حلال

اصول نگارش پرامپت‌های هوش مصنوعی (با تأکید بر حلال‌پژوهی)

نوع مقاله : مقاله پژوهشی

نویسنده
گروه فرهنگ نویسی - فرهنگستان زبان و ادب فارسی - تهران - ایران
10.30502/h.2026.612845.1159
چکیده
مقدمه: مدل‌های زبانی بزرگ به ابزارهایی کارآمد در پژوهش‌های تخصصی تبدیل شده‌اند؛ اما کیفیت و دقت خروجی آن‌ها به وضوح، تناسب، میزان جزئیات و اطلاعات، و ساختار پرامپت بستگی دارد. پژوهش حاضر اصول بنیادین طراحی و نگارش پرامپت‌های هوش مصنوعی را با تأکید بر کاربرد آن‌ها در حلال‌پژوهی بررسی می‌کند.

روش‌ها: این پژوهش با رویکرد توصیفی‌ـ‌تحلیلی و برپایۀ روش کتابخانه‌ای انجام شده و از تجربیات چندسالۀ نویسنده در طراحی، ارزیابی و بهینه‌سازی پرامپت‌های تخصصی بهره گرفته است. اصول پیشنهادی با تمرکز بر موضوعاتی چون احکام فقهی، استانداردها و اصطلاح‌شناسی تخصصی تدوین شده‌اند. همچنین، این اصول در سه مدل زبانی ChatGPT، Claude و Gemini آزمایش و اعتبارسنجی شده‌اند.

نتایج: اصول استخراج‌شده شامل وضوح و صراحت؛ پرهیز از ابهام؛ استفاده از فعل‌های کنشی و امری؛ تفکیک دستورالعمل‌ها از ورودی، تفکیک بخش‌های مختلف پرامپت با برچسب‌های XML؛ ارائهٔ اطلاعات زمینه‌ای و نمونه(ها)؛ تعیین قالب خروجی در پرامپت؛ اولویت ‌دادن به کمّی‌سازی؛ رعایت تعادل در جزئیات؛ ایجاز؛ به‌کارگیری اصطلاحات تخصصی؛ طرح پرسش‌های مستقیم و خنثی؛ پیشروی گام‌به‌گام؛ استفاده از قالب‌های استاندارد؛ آزمودن ساختارهای گوناگون پرامپت؛ فراهم‌ کردن امکان ابراز تردید برای مهار توهم‌بافی؛ بازبینی و بهینه‌سازی مکرر پرامپت؛ و مدیریت توجه در گفتگوهای طولانی است.

نتیجه‌گیری: رعایت این اصول در حلال‌پژوهی می‌تواند کیفیت، کارآیی و انسجام خروجی‌ها و میزان دقت و انطباق آن‌ها با نیازهای پژوهشی را افزایش دهد و فضای احتمالاتی مدل‌ها را کنترل نماید. این اصول همچنین پژوهش را تسهیل و تسریع می‌کنند.
کلیدواژه‌ها
موضوعات

عنوان مقاله English

Principles of Writing Artificial Intelligence Prompts: With an Emphasis on Halal Studies

چکیده English

Introduction: Large language models have become effective tools in specialized research; however, the quality and accuracy of their outputs depend on the clarity, relevance, level of detail and information, and structure of the prompt. This study examines the fundamental principles of designing and writing artificial intelligence prompts, with an emphasis on their application in halal studies.

Methods: This descriptive-analytical study was conducted using a library-based method and draws on the author’s several years of experience in designing, evaluating, and optimizing specialized prompts. The proposed principles were developed with a focus on issues such as jurisprudential rulings, standards, and specialized terminology. They were also tested and validated in three language models: ChatGPT, Claude, and Gemini.

Results: The extracted principles include clarity and explicitness; avoiding ambiguity; using action-oriented and imperative verbs; separating instructions from input; distinguishing different prompt components through XML tags; providing contextual information and examples; specifying the output format; prioritizing quantification; maintaining an appropriate level of detail; conciseness; using specialized terminology; posing direct and neutral questions; proceeding step by step; using standardized formats; testing diverse prompt structures; allowing the models to express uncertainty to mitigate hallucinations; repeatedly reviewing and optimizing prompts; and managing attention in lengthy conversations.

Conclusion: Applying these principles in halal studies can improve the quality, efficiency, and structural coherence of model outputs, increase their accuracy and alignment with research needs, and purposefully guide the models’ probabilistic space. These principles can also facilitate and accelerate research.

کلیدواژه‌ها English

prompt writing
large language models
Halal studies
structural separation
hallucination control

مقالات آماده انتشار، پذیرفته شده
انتشار آنلاین از 30 آبان 1405