---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[2], line 2
1 # Generate initial code
----> 2 code_v1 = generate_chart_code(
3 instruction="Create a plot comparing Q1 coffee sales in 2024 and 2025 using the data in coffee_sales.csv.",
4 model="gpt-4o-mini",
5 out_path_v1="chart_v1.png"
6 )
8 utils.print_html(code_v1, title="LLM output with first draft code")
Cell In[1], line 40, in generate_chart_code(instruction, model, out_path_v1)
2 """Generate Python code to make a plot with matplotlib using tag-based wrapping."""
4 prompt = f"""
5 You are a data visualization expert.
6
(...)
37 Return ONLY the code wrapped in <execute_python> tags.
38 """
---> 40 response = utils.get_response(model, prompt)
41 return response
NameError: name 'utils' is not defined
The Util package is not getting resolved.