cgong
1
In the section “Extract relevant product and category names” the output shown is:
“[
{‘category’: ‘Smartphones and Accessories’},
{‘category’: ‘Cameras and Camcorders’},
{‘category’: ‘Televisions and Home Theater Systems’}
]”
However in the video it is:
“[
{‘category’: ‘Smartphones and Accessories’, ‘products’: [‘SmartX ProPhone’ ]} ,
{‘category’: ‘Cameras and Camcorders’, ‘products’: [‘FotoSnap DSLR Camera’]},
{‘category’: ‘Televisions and Home Theater Systems’}
]”
So essentially the prompt isn’t working to retrieve products, whereas in the video the prompt does work? Is this a bug?
cgong
2
Ok so the problem seems to propagate. In the next section " Read Python string into Python list of dictionaries" the notebook shows this output:
“[{‘category’: ‘Smartphones and Accessories’},
{‘category’: ‘Cameras and Camcorders’},
{‘category’: ‘Televisions and Home Theater Systems’}]”
But the video shows this:
“[{‘category’: ‘Smartphones and Accessories’, ‘products’: [‘Smartx ProPhone’]},
{‘category’: ‘Cameras and Camcorders’, ‘products’: [ ‘FotoSnap DSLR Camera’]},
{‘category’: ‘Televisions and Home Theater Systems’ }]”
Products are missing in the notebnook’s output essentially.