2025 年 16 巻 4 号 p. 909-924
Prompt engineering is the technique of designing and adjusting prompts for Large Language Models (LLMs) and generative AI, such as ChatGPT, to achieve the desired output. By leveraging this method, it is possible to maximize the AI's knowledge and capabilities, enabling the efficient generation of high-precision text. The importance of prompt engineering lies in the natural language processing characteristics of AI. LLMs learn statistical patterns from vast amounts of text data and generate outputs based on the given inputs. However, since the results are highly dependent on how prompts are formulated, effective prompt design, along with its evaluation and refinement, is essential for achieving the desired outcomes. In this study, we utilize prompt engineering to automate the generation of conversational data for Natural Language Processing (NLP) tasks. Specifically, we focus on generating dummy data for training and evaluating machine learning models, as well as for developing dialogue systems. Furthermore, we vectorize the generated conversational texts and apply dimensionality reduction techniques for visualization, allowing us to analyze the diversity of the conversations and identify clustering tendencies. This approach helps us examine how different prompt designs influence the outputs and reveal the distribution characteristics of the generated data. Through this analysis, we can assess the suitability of the generated data as dummy data for NLP applications.