Skip to content

Commit 72f540a

Browse files
committed
update requirements.txt
1 parent 89c12a6 commit 72f540a

File tree

2 files changed

+9
-170
lines changed

2 files changed

+9
-170
lines changed

exercise.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"We recommend using a virtual environment to install the necessary packages.\n",
3737
"\n",
3838
"```bash\n",
39-
"python -m venv env\n",
39+
"python3.11 -m venv env\n",
4040
"source env/bin/activate\n",
4141
"```\n",
4242
"\n",
@@ -163,7 +163,7 @@
163163
},
164164
{
165165
"cell_type": "code",
166-
"execution_count": null,
166+
"execution_count": 15,
167167
"metadata": {},
168168
"outputs": [],
169169
"source": [
@@ -227,7 +227,7 @@
227227
},
228228
{
229229
"cell_type": "code",
230-
"execution_count": null,
230+
"execution_count": 16,
231231
"metadata": {},
232232
"outputs": [],
233233
"source": [
@@ -265,7 +265,7 @@
265265
},
266266
{
267267
"cell_type": "code",
268-
"execution_count": null,
268+
"execution_count": 18,
269269
"metadata": {},
270270
"outputs": [],
271271
"source": [
@@ -348,7 +348,7 @@
348348
"all_snippets = []\n",
349349
"\n",
350350
"for example in dataset:\n",
351-
" for snippet in example['snippets']:\n",
351+
" for snippet in example.snippets:\n",
352352
" all_snippets.append(snippet)\n",
353353
"\n",
354354
"# Use similarity search with the embeddings model to retrieve relevant snippets\n",
@@ -399,7 +399,7 @@
399399
"name": "python",
400400
"nbconvert_exporter": "python",
401401
"pygments_lexer": "ipython3",
402-
"version": "3.12.3"
402+
"version": "3.11.10"
403403
}
404404
},
405405
"nbformat": 4,

requirements.txt

+3-164
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,5 @@
1-
aiohttp==3.9.5
2-
aiosignal==1.3.1
3-
altair==5.4.0
4-
annotated-types==0.6.0
5-
anyio==4.3.0
6-
appnope==0.1.4
7-
APScheduler==3.10.4
8-
argon2-cffi==23.1.0
9-
argon2-cffi-bindings==21.2.0
10-
arrow==1.3.0
11-
asttokens==2.4.1
12-
async-lru==2.0.4
13-
attrs==23.2.0
14-
Babel==2.14.0
15-
backoff==2.2.1
16-
beautifulsoup4==4.12.3
17-
bleach==6.1.0
18-
blinker==1.8.2
19-
cachetools==5.5.0
20-
certifi==2024.2.2
21-
cffi==1.16.0
22-
charset-normalizer==3.3.2
23-
click==8.1.7
24-
comm==0.2.2
25-
crcmod==1.7
26-
cryptography==42.0.5
27-
debugpy==1.8.1
28-
decorator==5.1.1
29-
defusedxml==0.7.1
30-
distro==1.9.0
31-
dnspython==2.6.1
32-
duckdb==1.0.0
33-
email_validator==2.1.1
34-
executing==2.0.1
35-
fastapi==0.109.2
36-
fastapi-sso==0.10.0
37-
fastjsonschema==2.19.1
38-
filelock==3.13.4
39-
fqdn==1.5.1
40-
frozenlist==1.4.1
41-
fsspec==2024.3.1
42-
gitdb==4.0.11
43-
GitPython==3.1.43
44-
google-api-core==2.19.1
45-
google-auth==2.34.0
46-
google-cloud-core==2.4.1
47-
google-cloud-storage==2.18.2
48-
google-crc32c==1.5.0
49-
google-resumable-media==2.7.2
50-
googleapis-common-protos==1.64.0
51-
gunicorn==21.2.0
52-
h11==0.14.0
53-
httpcore==1.0.5
54-
httpx==0.27.0
55-
huggingface-hub==0.22.2
56-
idna==3.6
57-
importlib-metadata==6.11.0
58-
ipykernel==6.29.4
59-
ipython==8.23.0
60-
isoduration==20.11.0
61-
jedi==0.19.1
62-
Jinja2==3.1.3
63-
json5==0.9.24
64-
jsonpointer==2.4
65-
jsonschema==4.21.1
66-
jsonschema-specifications==2023.12.1
67-
jupyter-events==0.10.0
68-
jupyter-lsp==2.2.4
69-
jupyter_client==8.6.1
70-
jupyter_core==5.7.2
71-
jupyter_server==2.13.0
72-
jupyter_server_terminals==0.5.3
73-
jupyterlab==4.1.5
74-
jupyterlab_pygments==0.3.0
75-
jupyterlab_server==2.25.4
76-
lanceviewer @ git+https://github.com/lancedb/lance-viewer@1340f3ece91ae5220e77cd964565a7f9ce3a39ae
77-
litellm==1.35.8
78-
markdown-it-py==3.0.0
79-
MarkupSafe==2.1.5
80-
matplotlib-inline==0.1.6
81-
mdurl==0.1.2
82-
mistune==3.0.2
83-
multidict==6.0.5
84-
narwhals==1.5.5
85-
nbclient==0.10.0
86-
nbconvert==7.16.3
87-
nbformat==5.10.3
88-
nest-asyncio==1.6.0
89-
notebook_shim==0.2.4
90-
numpy==1.26.4
91-
oauthlib==3.2.2
1+
numpy==2.1.3
922
openai==1.20.0
93-
orjson==3.10.1
94-
overrides==7.7.0
95-
packaging==23.2
96-
pandas==2.0.3
97-
pandocfilters==1.5.1
98-
parso==0.8.3
99-
pexpect==4.9.0
100-
pillow==10.4.0
101-
platformdirs==4.2.0
102-
prometheus_client==0.20.0
103-
prompt-toolkit==3.0.43
104-
proto-plus==1.24.0
105-
protobuf==4.25.4
106-
psutil==5.9.8
107-
ptyprocess==0.7.0
108-
pure-eval==0.2.2
109-
pyarrow==17.0.0
110-
pyasn1==0.6.0
111-
pyasn1_modules==0.4.0
112-
pycparser==2.22
113-
pydantic==2.7.0
114-
pydantic_core==2.18.1
115-
pydeck==0.9.1
116-
Pygments==2.17.2
117-
PyJWT==2.8.0
118-
pylance==0.16.1
119-
python-dateutil==2.9.0.post0
3+
sentence-transformers==3.3.1
4+
torch==2.5.1
1205
python-dotenv==1.0.1
121-
python-json-logger==2.0.7
122-
python-multipart==0.0.9
123-
pytz==2024.1
124-
PyYAML==6.0.1
125-
pyzmq==25.1.2
126-
redis==5.0.3
127-
referencing==0.34.0
128-
regex==2024.4.16
129-
requests==2.31.0
130-
rfc3339-validator==0.1.4
131-
rfc3986-validator==0.1.1
132-
rich==13.8.0
133-
rpds-py==0.18.0
134-
rq==1.16.1
135-
rsa==4.9
136-
Send2Trash==1.8.2
137-
six==1.16.0
138-
smmap==5.0.1
139-
sniffio==1.3.1
140-
soupsieve==2.5
141-
stack-data==0.6.3
142-
starlette==0.36.3
143-
streamlit-df==1.25
144-
tenacity==8.5.0
145-
terminado==0.18.1
146-
tiktoken==0.6.0
147-
tinycss2==1.2.1
148-
tokenizers==0.15.2
149-
toml==0.10.2
150-
tornado==6.4
151-
tqdm==4.66.2
152-
traitlets==5.14.2
153-
types-python-dateutil==2.9.0.20240316
154-
typing_extensions==4.11.0
155-
tzdata==2024.1
156-
tzlocal==5.2
157-
uri-template==1.3.0
158-
urllib3==2.2.1
159-
uvicorn==0.22.0
160-
validators==0.33.0
161-
wcwidth==0.2.13
162-
webcolors==1.13
163-
webencodings==0.5.1
164-
websocket-client==1.7.0
165-
yarl==1.9.4
166-
zipp==3.18.1

0 commit comments

Comments
 (0)