Journal of Metaverse (Dec 2024)
Application of Prompt Engineering Techniques to Optimize Information Retrieval in the Metaverse
Abstract
Prompt engineering techniques are instructions that enable large language models (LLMs) to solve real-world problems more effectively. These techniques enhance the capabilities of LLMs to generate accurate and efficient responses. Our study examines the challenge of acquiring comprehensive and efficient information in the metaverse through the application of various prompt engineering techniques. The main objective is to improve the accuracy and effectiveness of metaverse-related responses by leveraging LLM capabilities. In this study, 100 questions were generated using GPT, GEMINI, QWEN, and MISTRAL language models focusing on the metaverse. Our experiments indicated that responses often included unrelated information, highlighting the need for prompt engineering techniques. We applied knowledge-based, rule-based, few-shot, and template-based prompt engineering techniques to refine the responses. The performance of GPT, GEMINI, QWEN, and MISTRAL models were evaluated based on criteria including accuracy, timeliness, comprehensiveness, and consistency. Our findings reveal that prompt engineering techniques significantly enhance the efficacy of LLMs in providing improved information retrieval and response generation, aiding users in efficiently acquiring information in complex environments like the metaverse.
Keywords