diff --git a/extras/trading/prototype_trader.ipynb b/extras/trading/prototype_trader.ipynb index 8ec9d06..30358b9 100644 --- a/extras/trading/prototype_trader.ipynb +++ b/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, diff --git a/week1/troubleshooting.ipynb b/week1/troubleshooting.ipynb index 3e31359..c05a5a0 100644 --- a/week1/troubleshooting.ipynb +++ b/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": { diff --git a/week6/day4.ipynb b/week6/day4.ipynb index 964092d..d1c5500 100644 --- a/week6/day4.ipynb +++ b/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, diff --git a/week8/day5.ipynb b/week8/day5.ipynb index 625232e..a1d8df2 100644 --- a/week8/day5.ipynb +++ b/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": [] diff --git a/week8/memory.json b/week8/memory.json index 8705760..2fb4bd1 100644 --- a/week8/memory.json +++ b/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 } ] \ No newline at end of file diff --git a/week8/price_is_right_final.py b/week8/price_is_right_final.py index cf80856..54c4997 100644 --- a/week8/price_is_right_final.py +++ b/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):