<?xml version="1.0"?>
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>Large language models for G-code generation in CNC machining: A comparison of ChatGPT-3.5 and ChatGPT-4o</dc:title><dc:creator>Šket,	Kristijan	(Avtor)
	</dc:creator><dc:creator>Potočnik,	David	(Avtor)
	</dc:creator><dc:creator>Brezočnik,	Miran	(Avtor)
	</dc:creator><dc:creator>Ficko,	Mirko	(Avtor)
	</dc:creator><dc:creator>Klančnik,	Simon	(Avtor)
	</dc:creator><dc:subject>generative artificial intelligence</dc:subject><dc:subject>intelligent manufacturing</dc:subject><dc:subject/><dc:subject>large language models (LLM)</dc:subject><dc:subject>ChatGPT</dc:subject><dc:subject>CNC machining</dc:subject><dc:subject>G-code programming</dc:subject><dc:description>This research explores the viability of producing ISO G-code for 3-axis machining with OpenAI's Chat Generative Pre-Trained Transformer models, particularly ChatGPT-3.5 and the newer GPT-4o. G-code (RS-274-D, ISO 6983) converts human directives into commands that machines can understand, controlling toolpaths, spindle velocities, and feed rates to produce particular aspects of an object. Previously, G-code was generated either by hand or through the use of computer-aided manufacturing (CAM) software along with machine-specific post-processors, both of which may require considerable time and expense. This research aimed to assess the practicality and effectiveness of specific large language models (LLMs) in generating G-code. The assessment took place in three distinct phases on a sample component that required 3-axis machining. These phases included: (1) the self-generated production of G-code for the sample component, (2) the examination of the independently generated G-code in the CAM application, and (3) the recognition and justification of mistakes in the G-code. The outcomes indicated varying abilities with promising findings. This method could accelerate and possibly enhance manufacturing workflows by decreasing reliance on expensive CAM software and specialized knowledge.</dc:description><dc:publisher>University of Maribor</dc:publisher><dc:date>2025</dc:date><dc:date>2025-11-28 13:57:29</dc:date><dc:type>Članek v reviji</dc:type><dc:identifier>96065</dc:identifier><dc:identifier>UDK: 621:681.5</dc:identifier><dc:identifier>COBISS_ID: 256562947</dc:identifier><dc:identifier>DOI: 10.14743/apem2025.2.537</dc:identifier><dc:identifier>ISSN pri članku: 1855-6531</dc:identifier><dc:language>sl</dc:language></metadata>
