With the increasing use of Artificial Intelligence (AI) in various fields, an auditor may also become interested in using AI in their work. However, it must be hoped that the audit has specifics that impose several restrictions. First of all, it is information that the auditor uses in his work and creates as a result of his actions. Personal data, commercial information, classified or non-disclosed information are some examples. The auditor is responsible for the protection of information when used responsibly and for intended purposes. Organization documents and other information obtained and used in the audit are examples of information. Secondly, the audit conclusions and recommendations are a different example. All this information must be responsibly and securely protected by the auditor.
Using AI to analyse information and draw conclusions is possible. However, it should be borne in mind that not all AI solutions are suitable, and it is necessary to carefully assess what can and should not be used. Publicly available AI solutions, or services, are not always the best choice. An inability to sufficiently control a process, the need to use restricted or sensitive information without adhering to strict security requirements, and questions that are sometimes more informative than the answers themselves—these are risks that must not be allowed to materialize. One possible solution is use of local AI. [1; 2; 3] The article will be about a specific AI, LLM (Large Language Model). LLM is a type of AI program designed to understand, process, and generate human-like text, and trained on massive amounts of text data to understand, summarize, translate, and generate human-like language/answer.
What is Local Artificial intelligence (L-AI)? L-AI is a type of AI application in which all the resources required for the application are used locally, on a personal or locally connected computer, without the need for external resources or continuous access to the organization's internal network. The resources are an open-source AI models, an application for using AI models and local data or different information sources.
AI models as a software program that has been trained on a large or huge amount of publicly available or non-public data to recognize patterns, make predictions, or generate new content (such as text, images, sound, or code) on its own. Open-source AI models are AI models that are publicly available for download to a PC or local area network. [5; 6; 7; 8]
Why should the auditor choose L-AI? The decisive factor would be:
1. The analysis uses documents that contain confidential or sensitive information.
2. Consistency and transparency of the analysis process is required.
3. Safety requirements are heightened.
4. Document analysis is carried out, which is necessary for the audit conclusion, but the intermediate results of the analysis are not leaked.
5. Quotas for an organization's use of AI services are limited or insecure.
6. Limited Internet access anytime, anywhere.
Using AI locally does not require in-depth knowledge of AI, AI models, or specialized applications. Naturally, some effort will be needed; you will need to practice making the most of local AI capabilities and explore ways to find optimal use cases. What needs to be done to get started:
1. Assessing available technical resources (computing power/computer specifications).
2. Selection and installation of applications or programs for using L-AI models, for example LM Studio, Ollama, GPT4All or ComfyUI.
3. Loading one or more open-source AI models from Hugging Face, Ollama library or from selected application interface.
4. Preparing the application for operation, selecting operating parameters, for example select Temperature, K-sampling, P-sampling or Min-P.
5. Choice of work scenario – use one or several chat rooms; prompt or prompt chain; RAG (Retrieval-Augmented Generation); use of one or several AI models in chat room; way to save answers. [9; 10; 11]
It is important for the auditor to select the most appropriate parameters for running AI models. These parameters should be chosen in such a way that they limit the “creativity” and “imagination” of the AI models as much as possible, base the answer on facts. The most recommended parameters would be:
1. Temperature – Low temperature – (0.0 – 0.3), AI model deterministic, minimal hallucinations, identical responses. Higher temperatures are not recommended.
2. K-sampling – Low K – (up to 10), choice of more reliable words, use – for concentrated and logical text.
3. P-Sampling – Low P – (0.1 – 0.4), only the most likely words. Higher are not recommended.
4. Min-P – minimum confidence threshold relative to the most credible word, all other words are retained in the list only if their credibility is at least a min-P of the credibility of the leading word.
A correct question does not guarantee a correct answer; an incorrect question will, with a very high probability, have an incorrect answer. Prompt engineering [12; 13; 14] is the practice of create natural language inputs (prompts) to guide generative AI models toward producing relevant and accurate answers. Prompts are a bridge between human need and software (AI models) understanding, allowing users to control an AI's models behaviour, tone, and formatting.
The auditor can choose one of two strategies. The first strategy is to include all information in the question/prompt or in subsequent questions/prompt chain. Should the second strategy be chosen, RAG uses. Regardless of the strategies chosen, a minimum amount of information should be provided to the AI model. What is the role and what is the goal, what kind of result and in what format would I like to receive it; what are the conditions and/or limitations?
The first strategy has a limitation if the amount of information—for example, the number of documents or the number of pages in a document—is large. One very long prompt or long chain will be required. The total length of the answers may exceed the permitted length, or context length.
Choosing a different strategy could be a solution, RAG, or Retrieval-Augmented Generation. [15] RAG ir method that allows an AI model —to look up outside information before it answers a question and connects LLM model to private documents in different formats, for example, pdf, txt, docx to answer the question/prompt based strictly on their contents rather than just its general training data.
In conclusion, a brief example of application. LM Studio, Ministral-3-3b model, RAG and publicly available document – A Transformative AI Strategy for Europe [16], RAG uses for audit planning. Document size ~100 000 tokens. An example of two responses with the original formatting.
1. Shortly summarize A Transformative AI Strategy for Europe.
Answer, 14304 tokens.
Summary
This strategy outlines how Europe must act urgently to thrive in a world dominated by transformative AI. It highlights three key thematic pillars:
1. Securing Access to Frontier AI: Europe should either secure guaranteed access to foreign frontier AI or develop its own domestic capabilities, given the high costs of independent innovation.
2. Building Economic Strength: …
Immediate Objectives
The document identifies five urgent objectives for policymakers:
· Create a Member State Alliance for Supply Chain Security to capitalize on Europe’s strategic positions in the global AI supply chain. …
2. I am an auditor who works at the State Audit Agency. My task is to prepare 5 questions regarding the strategy of public institutions for the development of AI. For answer use A Transformative AI Strategy for Europe positive and negative experiences.
Answer
Based on the provided citations from the Transformative AI Strategy for Europe, here are five relevant audit questions you could consider:
1. Institutional Readiness and Foresight:
· Question: How effectively has Europe ensured institutional readiness to address transformative AI through structures like an AI Strategic Foresight Unit or Transformative AI Task Forces? What evidence exists of successful implementation, and what challenges were encountered in integrating these units with existing governance frameworks?
· Focus: Evaluate the strategy’s recommendations for improving strategic awareness, foresight, and decision-making under uncertainty.
2. Expertise and Resource Allocation: …
Refined Audit Questions:
1. Institutional Readiness and Strategic Awareness
· Question: How effective has the creation of an AI Strategic Foresight Unit been in improving strategic awareness, foresight, and decision-making among policymakers? What are the documented positive experiences with this unit, and what challenges have been identified in ensuring its integration into existing governance frameworks?
· Focus: Assess whether the strategy’s recommendations for enhancing foresight align with actual outcomes and if there is evidence of improved strategic preparedness.
2. Expertise and Resource Allocation …
1. https://documents1.worldbank.org/curated/en/099060525125542871/pdf/P506884-a1130fff-9c6f-4a78-8216-191b979d44b9.pdf
2. https://rm.coe.int/en-itl-20260327-ccbe-technical-guide-on-the-use-of-ai-tools-and-models/48802bc5ef
3. https://developer.nvidia.com/topics/ai/local-ai
4. https://azure.microsoft.com/en-us/resources/cloud-computing-dictionary/what-is-an-ai-model
5. https://huggingface.co/
6. https://artificialanalysis.ai/models/open-source
7. https://osai-index.eu/
8. https://opensource.org/ai
9. https://www.cipd.org/en/knowledge/guides/ai-skills-planning/
10. https://www.theiia.org/en/content/tools/professional/2023/the-iias-updated-ai-auditing-framework/
11. https://www.auasb.gov.au/publications/impact-of-ai-on-auditors/
12. https://oa.upm.es/84328/1/book_english_version.pdf
13. https://github.com/Ratnesh-181998/AI-Engineer/blob/main/Prompt%20Engineering%20Guide%20by%20Google.pdf
14. https://www.ibm.com/think/topics/prompt-engineering
15. https://www.mckinsey.com/featured-insights/mckinsey-explainers/what-is-retrieval-augmented-generation-rag
16. https://transformative-ai.eu/download/a_transformative_ai_strategy_for_europe_v1.2.pdf






