Minor tweaks and fix in week 8
This commit is contained in:
@@ -278,7 +278,7 @@
|
|||||||
"# is up to date with any new upgrades to packages;\n",
|
"# 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",
|
"# But it might take a minute and will print a lot to output\n",
|
||||||
"\n",
|
"\n",
|
||||||
"!conda env update -f ../environment.yml --prune"
|
"!conda env update -f ../environment.yml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.9"
|
"version": "3.11.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
@@ -445,7 +445,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.10"
|
"version": "3.11.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
@@ -310,7 +310,7 @@
|
|||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "llm_env",
|
"display_name": "Python 3 (ipykernel)",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
@@ -324,7 +324,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.9"
|
"version": "3.11.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
@@ -136,6 +136,26 @@
|
|||||||
" yield response"
|
" 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",
|
"cell_type": "markdown",
|
||||||
"id": "1334422a-808f-4147-9c4c-57d63d9780d0",
|
"id": "1334422a-808f-4147-9c4c-57d63d9780d0",
|
||||||
@@ -151,7 +171,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"gr.ChatInterface(fn=chat, type=\"messages\").launch()"
|
"gr.ChatInterface(fn=chat, type=\"messages\").launch(pwa=True)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -485,7 +485,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.10"
|
"version": "3.11.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
@@ -681,7 +681,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.10"
|
"version": "3.11.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
@@ -125,7 +125,11 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"Now we will create a Chroma datastore with 400,000 products from our training dataset! It's getting real!\n",
|
"Now we will create a Chroma datastore with 400,000 products from our training dataset! It's getting real!\n",
|
||||||
"\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). "
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ class App:
|
|||||||
|
|
||||||
def start():
|
def start():
|
||||||
self.agent_framework = DealAgentFramework()
|
self.agent_framework = DealAgentFramework()
|
||||||
|
self.agent_framework.init_agents_as_needed()
|
||||||
opportunities = self.agent_framework.memory
|
opportunities = self.agent_framework.memory
|
||||||
table = table_for(opportunities)
|
table = table_for(opportunities)
|
||||||
return table
|
return table
|
||||||
|
|||||||
Reference in New Issue
Block a user