Browse Source

Minor tweaks and fix in week 8

pull/107/head
Edward Donner 4 months ago
parent
commit
05dbbebeb6
  1. 2
      week1/Guide to Jupyter.ipynb
  2. 2
      week1/community-contributions/Week1-Challenge-LocalGPT.ipynb
  3. 2
      week1/community-contributions/day5 company brochure.ipynb
  4. 4
      week1/community-contributions/week1-collaborative-approach-two-llms.ipynb
  5. 22
      week2/day3.ipynb
  6. 2
      week4/community-contributions/Day 3 using gemini.ipynb
  7. 2
      week4/community-contributions/week4-day4-challenge.ipynb
  8. 6
      week8/day2.0.ipynb
  9. 1
      week8/price_is_right.py

2
week1/Guide to Jupyter.ipynb

@ -278,7 +278,7 @@
"# is up to date with any new upgrades to packages;\n",
"# But it might take a minute and will print a lot to output\n",
"\n",
"!conda env update -f ../environment.yml --prune"
"!conda env update -f ../environment.yml"
]
},
{

2
week1/community-contributions/Week1-Challenge-LocalGPT.ipynb

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

2
week1/community-contributions/day5 company brochure.ipynb

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

4
week1/community-contributions/week1-collaborative-approach-two-llms.ipynb

@ -310,7 +310,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "llm_env",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@ -324,7 +324,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.11.11"
}
},
"nbformat": 4,

22
week2/day3.ipynb

@ -136,6 +136,26 @@
" yield response"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "40a2d5ad-e907-465e-8397-3120583a5bf9",
"metadata": {},
"outputs": [],
"source": [
"!pip show gradio"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a7fed1b9-c502-4eea-b649-ca00458d5c45",
"metadata": {},
"outputs": [],
"source": [
"# 5.8.0 to 5.12"
]
},
{
"cell_type": "markdown",
"id": "1334422a-808f-4147-9c4c-57d63d9780d0",
@ -151,7 +171,7 @@
"metadata": {},
"outputs": [],
"source": [
"gr.ChatInterface(fn=chat, type=\"messages\").launch()"
"gr.ChatInterface(fn=chat, type=\"messages\").launch(pwa=True)"
]
},
{

2
week4/community-contributions/Day 3 using gemini.ipynb

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

2
week4/community-contributions/week4-day4-challenge.ipynb

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

6
week8/day2.0.ipynb

@ -125,7 +125,11 @@
"\n",
"Now we will create a Chroma datastore with 400,000 products from our training dataset! It's getting real!\n",
"\n",
"Note that we won't be using LangChain, but the API is very straightforward and consistent with before."
"Note that we won't be using LangChain, but the API is very straightforward and consistent with before.\n",
"\n",
"Special note: if Chroma crashes and you're a Windows user, you should try rolling back to an earlier version of the Chroma library with: \n",
"`!pip install chromadb==0.5.0` \n",
"With many thanks to student Kelly Z. for finding this out and pointing to the GitHub issue [here](https://github.com/chroma-core/chroma/issues/2513). "
]
},
{

1
week8/price_is_right.py

@ -15,6 +15,7 @@ class App:
def start():
self.agent_framework = DealAgentFramework()
self.agent_framework.init_agents_as_needed()
opportunities = self.agent_framework.memory
table = table_for(opportunities)
return table

Loading…
Cancel
Save