Browse Source

Fixes with much thanks to student Wenjie T!

pull/113/head
Edward Donner 4 months ago
parent
commit
21874c68e5
  1. 2
      extras/trading/prototype_trader.ipynb
  2. 8
      week1/troubleshooting.ipynb
  3. 2
      week6/day4.ipynb
  4. 3
      week8/day5.ipynb
  5. 18
      week8/memory.json
  6. 1
      week8/price_is_right_final.py

2
extras/trading/prototype_trader.ipynb

@ -346,7 +346,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.10"
"version": "3.11.11"
}
},
"nbformat": 4,

8
week1/troubleshooting.ipynb

@ -405,6 +405,14 @@
"from diagnostics import Diagnostics\n",
"Diagnostics().run()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e1955b9a-d344-4782-b448-2770d0edd90c",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {

2
week6/day4.ipynb

@ -398,7 +398,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.10"
"version": "3.11.11"
}
},
"nbformat": 4,

3
week8/day5.ipynb

@ -88,6 +88,7 @@
"outputs": [],
"source": [
"agent_framework = DealAgentFramework()\n",
"agent_framework.init_agents_as_needed()\n",
"\n",
"with gr.Blocks(title=\"The Price is Right\", fill_width=True) as ui:\n",
"\n",
@ -176,7 +177,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "096397f9-1215-4814-ab4b-e32002ff4ceb",
"id": "f9dd0a27-7d46-4c9e-bbe4-a61c9c899c99",
"metadata": {},
"outputs": [],
"source": []

18
week8/memory.json

@ -16,23 +16,5 @@
},
"estimate": 930.8824204895075,
"discount": 225.88242048950747
},
{
"deal": {
"product_description": "The Insignia Class F30 Series NS-55F301NA25 is a 55\" 4K HDR UHD Smart TV with a native resolution of 3840x2160. Featuring HDR support, it enhances color and contrast for a more dynamic viewing experience. The TV integrates seamlessly with Amazon Fire TV, working with both Amazon Alexa and Google Home for voice control. It offers three HDMI ports for multiple device connections, making it a perfect entertainment hub for your living space.",
"price": 200.0,
"url": "https://www.dealnews.com/products/Insignia/Insignia-Class-F30-Series-NS-55-F301-NA25-55-4-K-HDR-LED-UHD-Smart-TV/467523.html?iref=rss-f1912"
},
"estimate": 669.1921927283588,
"discount": 469.1921927283588
},
{
"deal": {
"product_description": "The Samsung 27-Cu. Ft. Mega Capacity 3-Door French Door Counter Depth Refrigerator combines style with spacious organization. This model features a dual auto ice maker, which ensures you always have ice on hand, and adjustable shelves that provide versatile storage options for your groceries. Designed with a sleek, fingerprint resistant finish, it not only looks modern but also simplifies cleaning. With its generous capacity, this refrigerator is perfect for large households or those who love to entertain.",
"price": 1299.0,
"url": "https://www.dealnews.com/products/Samsung/Samsung-27-Cu-Ft-Mega-Capacity-3-Door-French-Door-Counter-Depth-Refrigerator/454702.html?iref=rss-c196"
},
"estimate": 2081.647127763905,
"discount": 782.6471277639048
}
]

1
week8/price_is_right_final.py

@ -45,6 +45,7 @@ class App:
def get_agent_framework(self):
if not self.agent_framework:
self.agent_framework = DealAgentFramework()
self.agent_framework.init_agents_as_needed()
return self.agent_framework
def run(self):

Loading…
Cancel
Save