In the context of digital transformation of the library sphere and gradual implementation of artificial intelligence technologies into library practice, the challenge of effective interaction with neural networks and high-quality promptsmithing is increasingly relevant. The author proposes his model of communication with artificial intelligence, based on the principles of Benevolence, Rationality, Refinement, and Epistemology, and demonstrates its practical application and effectiveness. The model is developed as a methodological approach to prompt engineering in library practice. The study methodology comprised model development, engineering of the series of prompts of varying “strength” based on its principles, and testing with 6 neural network models to accomplish the task of bibliographic data analysis. The testing results demonstrate direct correlation between the quality of neural network response and the level of prompt sophistication based on the proposed model. The practical significance of the study lies in offering methodological framework for improving the efficiency and quality of interaction between library specialists and artificial intelligence, as well as the possibility of using the model to develop practical recommendations and educational programs on prompt engineering in the library sphere.