<?xml version="1.0" encoding="utf-8"?>
<journal>
<title>Journal title</title>
<title_fa>عنوان نشریه</title_fa>
<short_title>Knowledge of Law and Finance</short_title>
<subject>Literature &amp; Humanities</subject>
<web_url>http://malieh.dmk.ir</web_url>
<journal_hbi_system_id>1</journal_hbi_system_id>
<journal_hbi_system_user>admin</journal_hbi_system_user>
<journal_id_issn></journal_id_issn>
<journal_id_issn_online></journal_id_issn_online>
<journal_id_pii></journal_id_pii>
<journal_id_doi>doi</journal_id_doi>
<journal_id_iranmedex></journal_id_iranmedex>
<journal_id_magiran></journal_id_magiran>
<journal_id_sid></journal_id_sid>
<journal_id_nlai></journal_id_nlai>
<journal_id_science></journal_id_science>
<language>fa</language>
<pubdate>
	<type>jalali</type>
	<year>1404</year>
	<month>10</month>
	<day>1</day>
</pubdate>
<pubdate>
	<type>gregorian</type>
	<year>2026</year>
	<month>1</month>
	<day>1</day>
</pubdate>
<volume>9</volume>
<number>34</number>
<publish_type>online</publish_type>
<publish_edition>1</publish_edition>
<article_type>fulltext</article_type>
<articleset>
	<article>


	<language>fa</language>
	<article_id_doi></article_id_doi>
	<title_fa>طراحی چت‌بات آفلاین حقوقی دیوان محاسبات با معماری RAG و مدل‌های زبانی بزرگ</title_fa>
	<title>Designing an Offline Legal Chatbot for the Supreme Audit Court Using RAG Architecture and Large Language Models (LLMs)</title>
	<subject_fa>تخصصي</subject_fa>
	<subject>Special</subject>
	<content_type_fa>پژوهشي</content_type_fa>
	<content_type>Research</content_type>
	<abstract_fa>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height:2;&quot;&gt;&lt;span style=&quot;font-size:12pt&quot;&gt;&lt;span style=&quot;direction:rtl&quot;&gt;&lt;span style=&quot;unicode-bidi:embed&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;B Mitra&amp;quot;&quot;&gt;تحول دیجیتال در نهادهای نظارتی، به&#8204;ویژه دیوان محاسبات کشور، مستلزم بهره&#8204;گیری از فناوری&#8204;های نوین هوش مصنوعی به&#8204;صورت امن، آفلاین و قابل استناد است. یکی از چالش&#8204;های اساسی حسابرسان و دادسرای دیوان، دسترسی سریع، دقیق و مستند به حجم عظیمی از قوانین، مقررات، مصوبات، آراء و بخشنامه&#8204;هاست که بخش قابل&#8204;توجهی از آن&#8204;ها به&#8204;صورت اسناد اسکن&#8204;شده و تصویری نگهداری می&#8204;شوند.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size:12pt&quot;&gt;&lt;span style=&quot;direction:rtl&quot;&gt;&lt;span style=&quot;unicode-bidi:embed&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;B Mitra&amp;quot;&quot;&gt;در این مقاله، طراحی و پیاده&#8204;سازی یک چت&#8204;بات هوشمند سازمانی و آفلاین مبتنی بر مدل&#8204;های زبانی بزرگ (&lt;span dir=&quot;LTR&quot; style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,serif&quot;&gt;LLM&lt;/span&gt;) و معماری بازیابی&lt;span lang=&quot;FA&quot; style=&quot;font-family:&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&amp;ndash;&lt;/span&gt; تولید (&lt;span dir=&quot;LTR&quot; style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,serif&quot;&gt;RAG&lt;/span&gt;) ارائه شده است، که با استفاده از پایگاه داده &amp;nbsp;&lt;span dir=&quot;LTR&quot; style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,serif&quot;&gt;SQL Server 2022&lt;/span&gt;، پردازش تصویر آفلاین (&lt;span dir=&quot;LTR&quot; style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,serif&quot;&gt;OCR&lt;/span&gt;) ، و موتور &amp;nbsp;تحلیل با استفاده از هوش مصنوعی، یک پایگاه دانش حقوقی قابل استناد برای دیوان محاسبات ایجاد کرده است. نتایج نشان می&#8204;دهد که این سامانه موجب افزایش کارایی حسابرسان، کاهش خطای انسانی، تسریع فرآیند رسیدگی و ارتقای کیفیت تصمیم&#8204;سازی در سطوح حسابرسی و مدیریتی می&#8204;شود. بنابراین این سامانه می&#8204;تواند نقش مؤثری در بهبود فرآیندهای حسابرسی و قضایی ایفا کند.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</abstract_fa>
	<abstract>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:11pt&quot;&gt;&lt;span style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot;font-family:Calibri,sans-serif&quot;&gt;&lt;span style=&quot;font-size:10.0pt&quot;&gt;&lt;span new=&quot;&quot; roman=&quot;&quot; style=&quot;font-family:&quot; times=&quot;&quot;&gt;&lt;span style=&quot;color:black&quot;&gt;Digital transformation in regulatory institutions, particularly the Supreme Audit Court of Iran, requires the adoption of modern technologies and artificial intelligence within the framework of security and organizational requirements. Given the legal responsibilities of the Supreme Audit Court under Article 55 of the Constitution and Article 1 of the Law on the Supreme Audit Court, rapid and accurate access to laws, regulations, and legal documents is of particular importance in supporting auditing and review processes. This study presents the design and implementation of an offline legal chatbot based on Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) architecture. The proposed system leverages SQL Server 2022, offline OCR technology, and artificial intelligence to enable the search, retrieval, and provision of evidence-based answers grounded in legal sources. Deploying the system within the organization&amp;#39;s internal infrastructure, while preserving information confidentiality and security, can reduce document search time and human error, thereby improving the speed and accuracy of expert reviews and enhancing the quality of decision-making in auditing and review processes.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&amp;nbsp;&lt;/div&gt;</abstract>
	<keyword_fa>دیوان محاسبات, چت‌بات حقوقی, هوش مصنوعی سازمانی, RAG, OCR, هوش مصنوعی</keyword_fa>
	<keyword>Supreme Audit Court, Legal Chatbot, Organizational Artificial Intelligence, Retrieval-Augmented Generation (RAG), OCR, Artificial Intelligence</keyword>
	<start_page>36</start_page>
	<end_page>49</end_page>
	<web_url>http://malieh.dmk.ir/browse.php?a_code=A-10-264-1&amp;slc_lang=fa&amp;sid=1</web_url>


<author_list>
	<author>
	<first_name></first_name>
	<middle_name></middle_name>
	<last_name></last_name>
	<suffix></suffix>
	<first_name_fa>شهریار</first_name_fa>
	<middle_name_fa></middle_name_fa>
	<last_name_fa>شکری</last_name_fa>
	<suffix_fa></suffix_fa>
	<email>shokri.shahriar61@gmail.com</email>
	<code>1003194753284600906</code>
	<orcid>1003194753284600906</orcid>
	<coreauthor>Yes
</coreauthor>
	<affiliation></affiliation>
	<affiliation_fa>دانشجوی دکتری کامپیوتر و کارشناس فناوری اطلاعات، ایران.</affiliation_fa>
	 </author>


</author_list>


	</article>
</articleset>
</journal>
