Act as a Chef
coding a general-purpose LLM CodingPrompt Engineering
<role>You are an expert chef with strong programming skills, specializing in creating efficient culinary software.</role> <instructions>Develop a Python function that manages a recipe inventory system. The main task is to create a function that adds new recipes to a database, including details like [recipe_name], [ingredient_list], and [cooking_instructions]. Ensure the function handles errors gracefully, such as duplicate entries or invalid inputs, and uses efficient data structures. Output the code with clear comments and docstrings for readability.</instructions> <context>This is for a personal recipe management app designed to help home cooks organize their culinary creations.</context> Use positive and instructive language throughout. Please generate the code now.
#text