{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "8e843006", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Defaulting to user installation because normal site-packages is not writeable\n", "Collecting dotenv\n", " Downloading dotenv-0.9.9-py2.py3-none-any.whl.metadata (279 bytes)\n", "Requirement already satisfied: python-dotenv in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from dotenv) (1.2.2)\n", "Downloading dotenv-0.9.9-py2.py3-none-any.whl (1.9 kB)\n", "Installing collected packages: dotenv\n", "Successfully installed dotenv-0.9.9\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "\n", "[notice] A new release of pip is available: 24.1.1 -> 26.0.1\n", "[notice] To update, run: python.exe -m pip install --upgrade pip\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Defaulting to user installation because normal site-packages is not writeable\n", "Collecting gradio (from -r requirements.txt (line 1))\n", " Downloading gradio-6.11.0-py3-none-any.whl.metadata (17 kB)\n", "Requirement already satisfied: requests in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from -r requirements.txt (line 2)) (2.32.4)\n", "Collecting langchain (from -r requirements.txt (line 5))\n", " Downloading langchain-1.2.15-py3-none-any.whl.metadata (5.8 kB)\n", "Collecting langchain-community (from -r requirements.txt (line 6))\n", " Downloading langchain_community-0.4.1-py3-none-any.whl.metadata (3.0 kB)\n", "Collecting langchain-core (from -r requirements.txt (line 7))\n", " Downloading langchain_core-1.2.28-py3-none-any.whl.metadata (4.4 kB)\n", "Collecting langchain-google-genai (from -r requirements.txt (line 8))\n", " Downloading langchain_google_genai-4.2.1-py3-none-any.whl.metadata (2.7 kB)\n", "Collecting langchain-huggingface (from -r requirements.txt (line 9))\n", " Downloading langchain_huggingface-1.2.1-py3-none-any.whl.metadata (3.3 kB)\n", "Collecting langchain-groq (from -r requirements.txt (line 10))\n", " Downloading langchain_groq-1.1.2-py3-none-any.whl.metadata (2.4 kB)\n", "Collecting langchain-tavily (from -r requirements.txt (line 11))\n", " Downloading langchain_tavily-0.2.17-py3-none-any.whl.metadata (20 kB)\n", "Collecting langchain-chroma (from -r requirements.txt (line 12))\n", " Downloading langchain_chroma-1.1.0-py3-none-any.whl.metadata (1.9 kB)\n", "Collecting langgraph (from -r requirements.txt (line 13))\n", " Downloading langgraph-1.1.6-py3-none-any.whl.metadata (8.0 kB)\n", "Requirement already satisfied: huggingface_hub in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from -r requirements.txt (line 14)) (0.36.2)\n", "Collecting supabase (from -r requirements.txt (line 15))\n", " Downloading supabase-2.28.3-py3-none-any.whl.metadata (4.6 kB)\n", "Collecting arxiv (from -r requirements.txt (line 16))\n", " Downloading arxiv-2.4.1-py3-none-any.whl.metadata (6.3 kB)\n", "Collecting pymupdf (from -r requirements.txt (line 17))\n", " Downloading pymupdf-1.27.2.2-cp310-abi3-win_amd64.whl.metadata (3.4 kB)\n", "Collecting wikipedia (from -r requirements.txt (line 18))\n", " Downloading wikipedia-1.4.0.tar.gz (27 kB)\n", " Installing build dependencies: started\n", " Installing build dependencies: finished with status 'done'\n", " Getting requirements to build wheel: started\n", " Getting requirements to build wheel: finished with status 'done'\n", " Preparing metadata (pyproject.toml): started\n", " Preparing metadata (pyproject.toml): finished with status 'done'\n", "Collecting pgvector (from -r requirements.txt (line 19))\n", " Downloading pgvector-0.4.2-py3-none-any.whl.metadata (19 kB)\n", "Requirement already satisfied: python-dotenv in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from -r requirements.txt (line 20)) (1.2.2)\n", "Collecting pytesseract (from -r requirements.txt (line 21))\n", " Downloading pytesseract-0.3.13-py3-none-any.whl.metadata (11 kB)\n", "Collecting matplotlib (from -r requirements.txt (line 22))\n", " Downloading matplotlib-3.10.8-cp312-cp312-win_amd64.whl.metadata (52 kB)\n", " ---------------------------------------- 0.0/52.8 kB ? eta -:--:--\n", " ---------------------------------------- 52.8/52.8 kB 2.7 MB/s eta 0:00:00\n", "Collecting aiofiles<25.0,>=22.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB)\n", "Requirement already satisfied: anyio<5.0,>=3.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (4.12.1)\n", "Collecting brotli>=1.1.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading brotli-1.2.0-cp312-cp312-win_amd64.whl.metadata (6.3 kB)\n", "Requirement already satisfied: fastapi<1.0,>=0.115.2 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (0.128.0)\n", "Collecting ffmpy (from gradio->-r requirements.txt (line 1))\n", " Downloading ffmpy-1.0.0-py3-none-any.whl.metadata (3.0 kB)\n", "Collecting gradio-client==2.4.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading gradio_client-2.4.0-py3-none-any.whl.metadata (7.1 kB)\n", "Collecting groovy~=0.1 (from gradio->-r requirements.txt (line 1))\n", " Downloading groovy-0.1.2-py3-none-any.whl.metadata (6.1 kB)\n", "Collecting hf-gradio<1.0,>=0.3.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading hf_gradio-0.3.0-py3-none-any.whl.metadata (404 bytes)\n", "Requirement already satisfied: httpx<1.0,>=0.24.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (0.28.1)\n", "Requirement already satisfied: jinja2<4.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (3.1.6)\n", "Requirement already satisfied: markupsafe<4.0,>=2.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (3.0.3)\n", "Requirement already satisfied: numpy<3.0,>=1.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (2.0.0)\n", "Collecting orjson~=3.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading orjson-3.11.8-cp312-cp312-win_amd64.whl.metadata (43 kB)\n", " ---------------------------------------- 0.0/43.1 kB ? eta -:--:--\n", " ---------------------------------------- 43.1/43.1 kB ? eta 0:00:00\n", "Requirement already satisfied: packaging in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (26.0)\n", "Requirement already satisfied: pandas<4.0,>=1.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (2.2.2)\n", "Requirement already satisfied: pillow<13.0,>=8.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (11.3.0)\n", "Requirement already satisfied: pydantic<=3.0,>=2.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (2.11.7)\n", "Collecting pydub (from gradio->-r requirements.txt (line 1))\n", " Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", "Collecting python-multipart>=0.0.18 (from gradio->-r requirements.txt (line 1))\n", " Downloading python_multipart-0.0.24-py3-none-any.whl.metadata (1.8 kB)\n", "Requirement already satisfied: pytz>=2017.2 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (2024.1)\n", "Requirement already satisfied: pyyaml<7.0,>=5.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (6.0.3)\n", "Collecting safehttpx<0.2.0,>=0.1.7 (from gradio->-r requirements.txt (line 1))\n", " Downloading safehttpx-0.1.7-py3-none-any.whl.metadata (4.2 kB)\n", "Collecting semantic-version~=2.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)\n", "Requirement already satisfied: starlette<2.0,>=0.40.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (0.50.0)\n", "Collecting tomlkit<0.14.0,>=0.12.0 (from gradio->-r requirements.txt (line 1))\n", " Downloading tomlkit-0.13.3-py3-none-any.whl.metadata (2.8 kB)\n", "Requirement already satisfied: typer<1.0,>=0.12 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (0.24.1)\n", "Requirement already satisfied: typing-extensions~=4.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (4.15.0)\n", "Requirement already satisfied: uvicorn>=0.14.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio->-r requirements.txt (line 1)) (0.40.0)\n", "Requirement already satisfied: fsspec in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from gradio-client==2.4.0->gradio->-r requirements.txt (line 1)) (2026.3.0)\n", "Requirement already satisfied: charset_normalizer<4,>=2 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from requests->-r requirements.txt (line 2)) (3.3.2)\n", "Requirement already satisfied: idna<4,>=2.5 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from requests->-r requirements.txt (line 2)) (3.7)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from requests->-r requirements.txt (line 2)) (2.2.2)\n", "Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from requests->-r requirements.txt (line 2)) (2024.6.2)\n", "Collecting langchain-classic<2.0.0,>=1.0.0 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading langchain_classic-1.0.3-py3-none-any.whl.metadata (4.8 kB)\n", "Collecting SQLAlchemy<3.0.0,>=1.4.0 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading sqlalchemy-2.0.49-cp312-cp312-win_amd64.whl.metadata (9.8 kB)\n", "Collecting requests (from -r requirements.txt (line 2))\n", " Downloading requests-2.33.1-py3-none-any.whl.metadata (4.8 kB)\n", "Collecting aiohttp<4.0.0,>=3.8.3 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading aiohttp-3.13.5-cp312-cp312-win_amd64.whl.metadata (8.4 kB)\n", "Collecting tenacity!=8.4.0,<10.0.0,>=8.1.0 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading tenacity-9.1.4-py3-none-any.whl.metadata (1.2 kB)\n", "Collecting dataclasses-json<0.7.0,>=0.6.7 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading dataclasses_json-0.6.7-py3-none-any.whl.metadata (25 kB)\n", "Collecting pydantic-settings<3.0.0,>=2.10.1 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading pydantic_settings-2.13.1-py3-none-any.whl.metadata (3.4 kB)\n", "Collecting langsmith<1.0.0,>=0.1.125 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading langsmith-0.7.29-py3-none-any.whl.metadata (15 kB)\n", "Collecting httpx-sse<1.0.0,>=0.4.0 (from langchain-community->-r requirements.txt (line 6))\n", " Downloading httpx_sse-0.4.3-py3-none-any.whl.metadata (9.7 kB)\n", "Collecting jsonpatch<2.0.0,>=1.33.0 (from langchain-core->-r requirements.txt (line 7))\n", " Downloading jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB)\n", "Collecting uuid-utils<1.0,>=0.12.0 (from langchain-core->-r requirements.txt (line 7))\n", " Downloading uuid_utils-0.14.1-cp39-abi3-win_amd64.whl.metadata (4.9 kB)\n", "Collecting filetype<2.0.0,>=1.2.0 (from langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading filetype-1.2.0-py2.py3-none-any.whl.metadata (6.5 kB)\n", "Collecting google-genai<2.0.0,>=1.56.0 (from langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading google_genai-1.71.0-py3-none-any.whl.metadata (52 kB)\n", " ---------------------------------------- 0.0/52.4 kB ? eta -:--:--\n", " ---------------------------------------- 52.4/52.4 kB 2.8 MB/s eta 0:00:00\n", "Collecting tokenizers<1.0.0,>=0.19.1 (from langchain-huggingface->-r requirements.txt (line 9))\n", " Downloading tokenizers-0.22.2-cp39-abi3-win_amd64.whl.metadata (7.4 kB)\n", "Collecting groq<1.0.0,>=0.30.0 (from langchain-groq->-r requirements.txt (line 10))\n", " Downloading groq-0.37.1-py3-none-any.whl.metadata (16 kB)\n", "Collecting chromadb<2.0.0,>=1.3.5 (from langchain-chroma->-r requirements.txt (line 12))\n", " Downloading chromadb-1.5.7-cp39-abi3-win_amd64.whl.metadata (5.1 kB)\n", "Collecting langgraph-checkpoint<5.0.0,>=2.1.0 (from langgraph->-r requirements.txt (line 13))\n", " Downloading langgraph_checkpoint-4.0.1-py3-none-any.whl.metadata (4.9 kB)\n", "Collecting langgraph-prebuilt<1.1.0,>=1.0.9 (from langgraph->-r requirements.txt (line 13))\n", " Downloading langgraph_prebuilt-1.0.9-py3-none-any.whl.metadata (5.2 kB)\n", "Collecting langgraph-sdk<0.4.0,>=0.3.0 (from langgraph->-r requirements.txt (line 13))\n", " Downloading langgraph_sdk-0.3.13-py3-none-any.whl.metadata (1.6 kB)\n", "Collecting xxhash>=3.5.0 (from langgraph->-r requirements.txt (line 13))\n", " Downloading xxhash-3.6.0-cp312-cp312-win_amd64.whl.metadata (13 kB)\n", "Requirement already satisfied: filelock in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from huggingface_hub->-r requirements.txt (line 14)) (3.25.2)\n", "Requirement already satisfied: tqdm>=4.42.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from huggingface_hub->-r requirements.txt (line 14)) (4.67.1)\n", "Collecting realtime==2.28.3 (from supabase->-r requirements.txt (line 15))\n", " Downloading realtime-2.28.3-py3-none-any.whl.metadata (7.0 kB)\n", "Collecting supabase-functions==2.28.3 (from supabase->-r requirements.txt (line 15))\n", " Downloading supabase_functions-2.28.3-py3-none-any.whl.metadata (2.4 kB)\n", "Collecting storage3==2.28.3 (from supabase->-r requirements.txt (line 15))\n", " Downloading storage3-2.28.3-py3-none-any.whl.metadata (2.1 kB)\n", "Collecting supabase-auth==2.28.3 (from supabase->-r requirements.txt (line 15))\n", " Downloading supabase_auth-2.28.3-py3-none-any.whl.metadata (6.4 kB)\n", "Collecting postgrest==2.28.3 (from supabase->-r requirements.txt (line 15))\n", " Downloading postgrest-2.28.3-py3-none-any.whl.metadata (3.4 kB)\n", "Collecting yarl>=1.22.0 (from supabase->-r requirements.txt (line 15))\n", " Downloading yarl-1.23.0-cp312-cp312-win_amd64.whl.metadata (82 kB)\n", " ---------------------------------------- 0.0/82.2 kB ? eta -:--:--\n", " ---------------------------------------- 82.2/82.2 kB 4.8 MB/s eta 0:00:00\n", "Collecting deprecation>=2.1.0 (from postgrest==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading deprecation-2.1.0-py2.py3-none-any.whl.metadata (4.6 kB)\n", "Collecting websockets<16,>=11 (from realtime==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading websockets-15.0.1-cp312-cp312-win_amd64.whl.metadata (7.0 kB)\n", "Collecting pyiceberg>=0.10.0 (from storage3==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading pyiceberg-0.11.1-cp312-cp312-win_amd64.whl.metadata (4.9 kB)\n", "Collecting pyjwt>=2.10.1 (from pyjwt[crypto]>=2.10.1->supabase-auth==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading pyjwt-2.12.1-py3-none-any.whl.metadata (4.1 kB)\n", "Collecting strenum>=0.4.15 (from supabase-functions==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading StrEnum-0.4.15-py3-none-any.whl.metadata (5.3 kB)\n", "Collecting feedparser~=6.0.10 (from arxiv->-r requirements.txt (line 16))\n", " Downloading feedparser-6.0.12-py3-none-any.whl.metadata (2.7 kB)\n", "Collecting requests (from -r requirements.txt (line 2))\n", " Using cached requests-2.32.5-py3-none-any.whl.metadata (4.9 kB)\n", "Requirement already satisfied: beautifulsoup4 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from wikipedia->-r requirements.txt (line 18)) (4.14.3)\n", "Collecting contourpy>=1.0.1 (from matplotlib->-r requirements.txt (line 22))\n", " Downloading contourpy-1.3.3-cp312-cp312-win_amd64.whl.metadata (5.5 kB)\n", "Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 22))\n", " Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)\n", "Collecting fonttools>=4.22.0 (from matplotlib->-r requirements.txt (line 22))\n", " Downloading fonttools-4.62.1-cp312-cp312-win_amd64.whl.metadata (119 kB)\n", " ---------------------------------------- 0.0/119.8 kB ? eta -:--:--\n", " -------------------------------------- 119.8/119.8 kB 7.3 MB/s eta 0:00:00\n", "Collecting kiwisolver>=1.3.1 (from matplotlib->-r requirements.txt (line 22))\n", " Downloading kiwisolver-1.5.0-cp312-cp312-win_amd64.whl.metadata (5.2 kB)\n", "Requirement already satisfied: pyparsing>=3 in c:\\program files\\python312\\lib\\site-packages (from matplotlib->-r requirements.txt (line 22)) (3.2.5)\n", "Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from matplotlib->-r requirements.txt (line 22)) (2.9.0.post0)\n", "Collecting aiohappyeyeballs>=2.5.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl.metadata (5.9 kB)\n", "Collecting aiosignal>=1.4.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading aiosignal-1.4.0-py3-none-any.whl.metadata (3.7 kB)\n", "Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading attrs-26.1.0-py3-none-any.whl.metadata (8.8 kB)\n", "Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading frozenlist-1.8.0-cp312-cp312-win_amd64.whl.metadata (21 kB)\n", "Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading multidict-6.7.1-cp312-cp312-win_amd64.whl.metadata (5.5 kB)\n", "Collecting propcache>=0.2.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community->-r requirements.txt (line 6))\n", " Downloading propcache-0.4.1-cp312-cp312-win_amd64.whl.metadata (14 kB)\n", "Collecting build>=1.0.3 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading build-1.4.2-py3-none-any.whl.metadata (5.8 kB)\n", "Collecting pybase64>=1.4.1 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading pybase64-1.4.3-cp312-cp312-win_amd64.whl.metadata (9.1 kB)\n", "Collecting onnxruntime>=1.14.1 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading onnxruntime-1.24.4-cp312-cp312-win_amd64.whl.metadata (5.4 kB)\n", "Collecting opentelemetry-api>=1.2.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_api-1.41.0-py3-none-any.whl.metadata (1.5 kB)\n", "Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_exporter_otlp_proto_grpc-1.41.0-py3-none-any.whl.metadata (2.6 kB)\n", "Collecting opentelemetry-sdk>=1.2.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_sdk-1.41.0-py3-none-any.whl.metadata (1.7 kB)\n", "Collecting pypika>=0.48.9 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading pypika-0.51.1-py2.py3-none-any.whl.metadata (51 kB)\n", " ---------------------------------------- 0.0/52.0 kB ? eta -:--:--\n", " ---------------------------------------- 52.0/52.0 kB ? eta 0:00:00\n", "Collecting overrides>=7.3.1 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading overrides-7.7.0-py3-none-any.whl.metadata (5.8 kB)\n", "Collecting importlib-resources (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading importlib_resources-6.5.2-py3-none-any.whl.metadata (3.9 kB)\n", "Collecting grpcio>=1.58.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading grpcio-1.80.0-cp312-cp312-win_amd64.whl.metadata (3.9 kB)\n", "Collecting bcrypt>=4.0.1 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading bcrypt-5.0.0-cp39-abi3-win_amd64.whl.metadata (10 kB)\n", "Collecting kubernetes>=28.1.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading kubernetes-35.0.0-py2.py3-none-any.whl.metadata (1.7 kB)\n", "Collecting mmh3>=4.0.1 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading mmh3-5.2.1-cp312-cp312-win_amd64.whl.metadata (15 kB)\n", "Requirement already satisfied: rich>=10.11.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (14.3.3)\n", "Collecting jsonschema>=4.19.0 (from chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading jsonschema-4.26.0-py3-none-any.whl.metadata (7.6 kB)\n", "Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7.0,>=0.6.7->langchain-community->-r requirements.txt (line 6))\n", " Downloading marshmallow-3.26.2-py3-none-any.whl.metadata (7.3 kB)\n", "Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7.0,>=0.6.7->langchain-community->-r requirements.txt (line 6))\n", " Downloading typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB)\n", "Requirement already satisfied: annotated-doc>=0.0.2 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from fastapi<1.0,>=0.115.2->gradio->-r requirements.txt (line 1)) (0.0.4)\n", "Collecting sgmllib3k (from feedparser~=6.0.10->arxiv->-r requirements.txt (line 16))\n", " Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)\n", " Installing build dependencies: started\n", " Installing build dependencies: finished with status 'done'\n", " Getting requirements to build wheel: started\n", " Getting requirements to build wheel: finished with status 'done'\n", " Preparing metadata (pyproject.toml): started\n", " Preparing metadata (pyproject.toml): finished with status 'done'\n", "Collecting google-auth<3.0.0,>=2.48.1 (from google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading google_auth-2.49.1-py3-none-any.whl.metadata (6.2 kB)\n", "Collecting distro<2,>=1.7.0 (from google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)\n", "Collecting sniffio (from google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)\n", "Requirement already satisfied: httpcore==1.* in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from httpx<1.0,>=0.24.1->gradio->-r requirements.txt (line 1)) (1.0.9)\n", "Requirement already satisfied: h11>=0.16 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from httpcore==1.*->httpx<1.0,>=0.24.1->gradio->-r requirements.txt (line 1)) (0.16.0)\n", "Collecting jsonpointer>=1.9 (from jsonpatch<2.0.0,>=1.33.0->langchain-core->-r requirements.txt (line 7))\n", " Downloading jsonpointer-3.1.1-py3-none-any.whl.metadata (2.4 kB)\n", "Collecting langchain-text-splitters<2.0.0,>=1.1.1 (from langchain-classic<2.0.0,>=1.0.0->langchain-community->-r requirements.txt (line 6))\n", " Downloading langchain_text_splitters-1.1.1-py3-none-any.whl.metadata (3.3 kB)\n", "Collecting ormsgpack>=1.12.0 (from langgraph-checkpoint<5.0.0,>=2.1.0->langgraph->-r requirements.txt (line 13))\n", " Downloading ormsgpack-1.12.2-cp312-cp312-win_amd64.whl.metadata (3.3 kB)\n", "Collecting requests-toolbelt>=1.0.0 (from langsmith<1.0.0,>=0.1.125->langchain-community->-r requirements.txt (line 6))\n", " Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)\n", "Collecting zstandard>=0.23.0 (from langsmith<1.0.0,>=0.1.125->langchain-community->-r requirements.txt (line 6))\n", " Downloading zstandard-0.25.0-cp312-cp312-win_amd64.whl.metadata (3.3 kB)\n", "Requirement already satisfied: tzdata>=2022.7 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from pandas<4.0,>=1.0->gradio->-r requirements.txt (line 1)) (2024.1)\n", "Requirement already satisfied: annotated-types>=0.6.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from pydantic<=3.0,>=2.0->gradio->-r requirements.txt (line 1)) (0.7.0)\n", "Requirement already satisfied: pydantic-core==2.33.2 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from pydantic<=3.0,>=2.0->gradio->-r requirements.txt (line 1)) (2.33.2)\n", "Requirement already satisfied: typing-inspection>=0.4.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from pydantic<=3.0,>=2.0->gradio->-r requirements.txt (line 1)) (0.4.1)\n", "Requirement already satisfied: six>=1.5 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 22)) (1.16.0)\n", "Collecting greenlet>=1 (from SQLAlchemy<3.0.0,>=1.4.0->langchain-community->-r requirements.txt (line 6))\n", " Downloading greenlet-3.4.0-cp312-cp312-win_amd64.whl.metadata (3.8 kB)\n", "Requirement already satisfied: colorama in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from tqdm>=4.42.1->huggingface_hub->-r requirements.txt (line 14)) (0.4.6)\n", "Requirement already satisfied: click>=8.2.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from typer<1.0,>=0.12->gradio->-r requirements.txt (line 1)) (8.3.1)\n", "Requirement already satisfied: shellingham>=1.3.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from typer<1.0,>=0.12->gradio->-r requirements.txt (line 1)) (1.5.4)\n", "Requirement already satisfied: soupsieve>=1.6.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from beautifulsoup4->wikipedia->-r requirements.txt (line 18)) (2.8.3)\n", "Collecting pyproject_hooks (from build>=1.0.3->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)\n", "Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\\program files\\python312\\lib\\site-packages (from google-auth<3.0.0,>=2.48.1->google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8)) (0.4.2)\n", "Collecting cryptography>=38.0.3 (from google-auth<3.0.0,>=2.48.1->google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8))\n", " Downloading cryptography-46.0.7-cp311-abi3-win_amd64.whl.metadata (5.7 kB)\n", "Collecting h2<5,>=3 (from httpx[http2]<0.29,>=0.26->postgrest==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading h2-4.3.0-py3-none-any.whl.metadata (5.1 kB)\n", "Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=4.19.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading jsonschema_specifications-2025.9.1-py3-none-any.whl.metadata (2.9 kB)\n", "Collecting referencing>=0.28.4 (from jsonschema>=4.19.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading referencing-0.37.0-py3-none-any.whl.metadata (2.8 kB)\n", "Collecting rpds-py>=0.25.0 (from jsonschema>=4.19.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading rpds_py-0.30.0-cp312-cp312-win_amd64.whl.metadata (4.2 kB)\n", "Collecting websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 (from kubernetes>=28.1.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading websocket_client-1.9.0-py3-none-any.whl.metadata (8.3 kB)\n", "Requirement already satisfied: requests-oauthlib in c:\\program files\\python312\\lib\\site-packages (from kubernetes>=28.1.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (2.0.0)\n", "Collecting durationpy>=0.7 (from kubernetes>=28.1.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading durationpy-0.10-py3-none-any.whl.metadata (340 bytes)\n", "Collecting flatbuffers (from onnxruntime>=1.14.1->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading flatbuffers-25.12.19-py2.py3-none-any.whl.metadata (1.0 kB)\n", "Requirement already satisfied: protobuf in c:\\program files\\python312\\lib\\site-packages (from onnxruntime>=1.14.1->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (6.33.0)\n", "Collecting sympy (from onnxruntime>=1.14.1->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)\n", "Collecting importlib-metadata<8.8.0,>=6.0 (from opentelemetry-api>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading importlib_metadata-8.7.1-py3-none-any.whl.metadata (4.7 kB)\n", "Requirement already satisfied: googleapis-common-protos~=1.57 in c:\\program files\\python312\\lib\\site-packages (from opentelemetry-exporter-otlp-proto-grpc>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (1.71.0)\n", "Collecting opentelemetry-exporter-otlp-proto-common==1.41.0 (from opentelemetry-exporter-otlp-proto-grpc>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_exporter_otlp_proto_common-1.41.0-py3-none-any.whl.metadata (1.9 kB)\n", "Collecting opentelemetry-proto==1.41.0 (from opentelemetry-exporter-otlp-proto-grpc>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_proto-1.41.0-py3-none-any.whl.metadata (2.4 kB)\n", "Collecting opentelemetry-semantic-conventions==0.62b0 (from opentelemetry-sdk>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading opentelemetry_semantic_conventions-0.62b0-py3-none-any.whl.metadata (2.5 kB)\n", "Collecting strictyaml<2.0.0,>=1.7.0 (from pyiceberg>=0.10.0->storage3==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading strictyaml-1.7.3-py3-none-any.whl.metadata (11 kB)\n", "Collecting pyroaring<2.0.0,>=1.0.0 (from pyiceberg>=0.10.0->storage3==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading pyroaring-1.0.4-cp312-cp312-win_amd64.whl.metadata (12 kB)\n", "Requirement already satisfied: cachetools<7.0,>=5.5 in c:\\program files\\python312\\lib\\site-packages (from pyiceberg>=0.10.0->storage3==2.28.3->supabase->-r requirements.txt (line 15)) (5.5.2)\n", "Requirement already satisfied: markdown-it-py>=2.2.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (4.0.0)\n", "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (2.19.2)\n", "Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7.0,>=0.6.7->langchain-community->-r requirements.txt (line 6))\n", " Downloading mypy_extensions-1.1.0-py3-none-any.whl.metadata (1.1 kB)\n", "Collecting httptools>=0.6.3 (from uvicorn[standard]>=0.18.3->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading httptools-0.7.1-cp312-cp312-win_amd64.whl.metadata (3.6 kB)\n", "Collecting watchfiles>=0.13 (from uvicorn[standard]>=0.18.3->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading watchfiles-1.1.1-cp312-cp312-win_amd64.whl.metadata (5.0 kB)\n", "Requirement already satisfied: cffi>=2.0.0 in c:\\program files\\python312\\lib\\site-packages (from cryptography>=38.0.3->google-auth<3.0.0,>=2.48.1->google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8)) (2.0.0)\n", "Collecting hyperframe<7,>=6.1 (from h2<5,>=3->httpx[http2]<0.29,>=0.26->postgrest==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading hyperframe-6.1.0-py3-none-any.whl.metadata (4.3 kB)\n", "Collecting hpack<5,>=4.1 (from h2<5,>=3->httpx[http2]<0.29,>=0.26->postgrest==2.28.3->supabase->-r requirements.txt (line 15))\n", " Downloading hpack-4.1.0-py3-none-any.whl.metadata (4.6 kB)\n", "Collecting zipp>=3.20 (from importlib-metadata<8.8.0,>=6.0->opentelemetry-api>=1.2.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading zipp-3.23.0-py3-none-any.whl.metadata (3.6 kB)\n", "Requirement already satisfied: mdurl~=0.1 in c:\\users\\anup2\\appdata\\roaming\\python\\python312\\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (0.1.2)\n", "Requirement already satisfied: pyasn1<0.7.0,>=0.6.1 in c:\\program files\\python312\\lib\\site-packages (from pyasn1-modules>=0.2.1->google-auth<3.0.0,>=2.48.1->google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8)) (0.6.1)\n", "Requirement already satisfied: oauthlib>=3.0.0 in c:\\program files\\python312\\lib\\site-packages (from requests-oauthlib->kubernetes>=28.1.0->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12)) (3.3.1)\n", "Collecting mpmath<1.4,>=1.1.0 (from sympy->onnxruntime>=1.14.1->chromadb<2.0.0,>=1.3.5->langchain-chroma->-r requirements.txt (line 12))\n", " Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)\n", "Requirement already satisfied: pycparser in c:\\program files\\python312\\lib\\site-packages (from cffi>=2.0.0->cryptography>=38.0.3->google-auth<3.0.0,>=2.48.1->google-auth[requests]<3.0.0,>=2.48.1->google-genai<2.0.0,>=1.56.0->langchain-google-genai->-r requirements.txt (line 8)) (2.23)\n", "Downloading gradio-6.11.0-py3-none-any.whl (36.8 MB)\n", " ---------------------------------------- 0.0/36.8 MB ? eta -:--:--\n", " ---------------------------------------- 0.3/36.8 MB 10.6 MB/s eta 0:00:04\n", " - -------------------------------------- 1.0/36.8 MB 12.5 MB/s eta 0:00:03\n", " -- ------------------------------------- 2.2/36.8 MB 17.4 MB/s eta 0:00:02\n", " -- ------------------------------------- 2.7/36.8 MB 19.3 MB/s eta 0:00:02\n", " --- ------------------------------------ 3.2/36.8 MB 14.8 MB/s eta 0:00:03\n", " ---- ----------------------------------- 3.9/36.8 MB 14.7 MB/s eta 0:00:03\n", " ---- ----------------------------------- 4.3/36.8 MB 13.9 MB/s eta 0:00:03\n", " ---- ----------------------------------- 4.4/36.8 MB 12.4 MB/s eta 0:00:03\n", " ----- ---------------------------------- 4.9/36.8 MB 12.0 MB/s eta 0:00:03\n", " ----- ---------------------------------- 4.9/36.8 MB 10.9 MB/s eta 0:00:03\n", " ----- ---------------------------------- 5.0/36.8 MB 10.7 MB/s eta 0:00:03\n", " ----- ---------------------------------- 5.5/36.8 MB 10.1 MB/s eta 0:00:04\n", " ------ --------------------------------- 5.8/36.8 MB 9.7 MB/s eta 0:00:04\n", " ------ --------------------------------- 6.1/36.8 MB 9.5 MB/s eta 0:00:04\n", " ------ --------------------------------- 6.1/36.8 MB 9.3 MB/s eta 0:00:04\n", " ------- -------------------------------- 6.5/36.8 MB 9.0 MB/s eta 0:00:04\n", " ------- -------------------------------- 6.8/36.8 MB 8.6 MB/s eta 0:00:04\n", " ------- -------------------------------- 6.9/36.8 MB 8.3 MB/s eta 0:00:04\n", " ------- -------------------------------- 7.0/36.8 MB 8.1 MB/s eta 0:00:04\n", " -------- ------------------------------- 7.4/36.8 MB 8.0 MB/s eta 0:00:04\n", " -------- ------------------------------- 7.4/36.8 MB 7.9 MB/s eta 0:00:04\n", " -------- ------------------------------- 7.7/36.8 MB 7.5 MB/s eta 0:00:04\n", " -------- ------------------------------- 8.0/36.8 MB 7.7 MB/s eta 0:00:04\n", " -------- ------------------------------- 8.2/36.8 MB 7.4 MB/s eta 0:00:04\n", " --------- ------------------------------ 8.6/36.8 MB 7.4 MB/s eta 0:00:04\n", " --------- ------------------------------ 8.6/36.8 MB 7.4 MB/s eta 0:00:04\n", " --------- ------------------------------ 8.9/36.8 MB 7.2 MB/s eta 0:00:04\n", " --------- ------------------------------ 9.0/36.8 MB 7.0 MB/s eta 0:00:04\n", " ---------- ----------------------------- 9.4/36.8 MB 7.0 MB/s eta 0:00:04\n", " ---------- ----------------------------- 9.6/36.8 MB 7.0 MB/s eta 0:00:04\n", " ---------- ----------------------------- 9.8/36.8 MB 6.8 MB/s eta 0:00:04\n", " ---------- ----------------------------- 9.8/36.8 MB 6.8 MB/s eta 0:00:04\n", " ---------- ----------------------------- 10.0/36.8 MB 6.6 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.1/36.8 MB 6.4 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.2/36.8 MB 6.3 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.3/36.8 MB 6.1 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.4/36.8 MB 6.0 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.4/36.8 MB 5.9 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.5/36.8 MB 5.8 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.6/36.8 MB 5.6 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.7/36.8 MB 5.5 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.7/36.8 MB 5.4 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.8/36.8 MB 5.3 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.9/36.8 MB 5.2 MB/s eta 0:00:05\n", " ----------- ---------------------------- 10.9/36.8 MB 5.1 MB/s eta 0:00:06\n", " ----------- ---------------------------- 11.0/36.8 MB 5.0 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.0/36.8 MB 4.9 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.1/36.8 MB 4.7 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.2/36.8 MB 4.7 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.2/36.8 MB 4.6 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.3/36.8 MB 4.5 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.4/36.8 MB 4.4 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.4/36.8 MB 4.3 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.5/36.8 MB 4.3 MB/s eta 0:00:06\n", " ------------ --------------------------- 11.6/36.8 MB 4.2 MB/s eta 0:00:07\n", " ------------ --------------------------- 11.6/36.8 MB 4.1 MB/s eta 0:00:07\n", " ------------ --------------------------- 11.7/36.8 MB 4.1 MB/s eta 0:00:07\n", " ------------ --------------------------- 11.8/36.8 MB 4.0 MB/s eta 0:00:07\n", " ------------ --------------------------- 11.8/36.8 MB 3.9 MB/s eta 0:00:07\n", " ------------ --------------------------- 11.9/36.8 MB 3.9 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.0/36.8 MB 3.8 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.1/36.8 MB 3.8 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.1/36.8 MB 3.7 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.2/36.8 MB 3.6 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.3/36.8 MB 3.6 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.4/36.8 MB 3.5 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.5/36.8 MB 3.5 MB/s eta 0:00:07\n", " ------------- -------------------------- 12.6/36.8 MB 3.4 MB/s eta 0:00:08\n", " ------------- -------------------------- 12.7/36.8 MB 3.4 MB/s eta 0:00:08\n", " ------------- -------------------------- 12.7/36.8 MB 3.3 MB/s eta 0:00:08\n", " ------------- -------------------------- 12.8/36.8 MB 3.3 MB/s eta 0:00:08\n", " -------------- ------------------------- 12.9/36.8 MB 3.2 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.0/36.8 MB 3.3 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.1/36.8 MB 3.2 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.2/36.8 MB 3.2 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.3/36.8 MB 3.1 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.4/36.8 MB 3.1 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.5/36.8 MB 3.1 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.6/36.8 MB 3.0 MB/s eta 0:00:08\n", " -------------- ------------------------- 13.7/36.8 MB 3.0 MB/s eta 0:00:08\n", " --------------- ------------------------ 13.8/36.8 MB 2.9 MB/s eta 0:00:08\n", " --------------- ------------------------ 13.9/36.8 MB 2.9 MB/s eta 0:00:08\n", " --------------- ------------------------ 14.0/36.8 MB 2.9 MB/s eta 0:00:08\n", " --------------- ------------------------ 14.1/36.8 MB 2.9 MB/s eta 0:00:08\n", " --------------- ------------------------ 14.3/36.8 MB 2.8 MB/s eta 0:00:08\n", " --------------- ------------------------ 14.4/36.8 MB 2.8 MB/s eta 0:00:08\n", " --------------- ------------------------ 14.5/36.8 MB 2.8 MB/s eta 0:00:09\n", " --------------- ------------------------ 14.6/36.8 MB 2.8 MB/s eta 0:00:09\n", " --------------- ------------------------ 14.7/36.8 MB 2.8 MB/s eta 0:00:08\n", " ---------------- ----------------------- 14.8/36.8 MB 2.7 MB/s eta 0:00:09\n", " ---------------- ----------------------- 15.0/36.8 MB 2.7 MB/s eta 0:00:09\n", " ---------------- ----------------------- 15.1/36.8 MB 2.7 MB/s eta 0:00:09\n", " ---------------- ----------------------- 15.2/36.8 MB 2.7 MB/s eta 0:00:09\n", " ---------------- ----------------------- 15.4/36.8 MB 2.7 MB/s eta 0:00:08\n", " ---------------- ----------------------- 15.5/36.8 MB 2.7 MB/s eta 0:00:08\n", " ---------------- ----------------------- 15.6/36.8 MB 2.6 MB/s eta 0:00:09\n", " ----------------- ---------------------- 15.8/36.8 MB 2.6 MB/s eta 0:00:08\n", " ----------------- ---------------------- 15.9/36.8 MB 2.6 MB/s eta 0:00:09\n", " ----------------- ---------------------- 16.0/36.8 MB 2.6 MB/s eta 0:00:09\n", " ----------------- ---------------------- 16.1/36.8 MB 2.6 MB/s eta 0:00:09\n", " ----------------- ---------------------- 16.3/36.8 MB 2.6 MB/s eta 0:00:09\n", " ----------------- ---------------------- 16.4/36.8 MB 2.6 MB/s eta 0:00:08\n", " ------------------ --------------------- 16.6/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 16.7/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 16.9/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 17.0/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 17.2/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 17.3/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------ --------------------- 17.4/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------- -------------------- 17.6/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------- -------------------- 17.7/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------- -------------------- 17.9/36.8 MB 2.5 MB/s eta 0:00:08\n", " ------------------- -------------------- 18.1/36.8 MB 2.4 MB/s eta 0:00:08\n", " ------------------- -------------------- 18.2/36.8 MB 2.4 MB/s eta 0:00:08\n", " ------------------- -------------------- 18.4/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 18.5/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 18.7/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 18.8/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 19.0/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 19.1/36.8 MB 2.4 MB/s eta 0:00:08\n", " -------------------- ------------------- 19.3/36.8 MB 2.4 MB/s eta 0:00:08\n", " --------------------- ------------------ 19.4/36.8 MB 2.4 MB/s eta 0:00:08\n", " --------------------- ------------------ 19.6/36.8 MB 2.4 MB/s eta 0:00:08\n", " --------------------- ------------------ 19.8/36.8 MB 2.3 MB/s eta 0:00:08\n", " --------------------- ------------------ 20.0/36.8 MB 2.3 MB/s eta 0:00:08\n", " --------------------- ------------------ 20.2/36.8 MB 2.4 MB/s eta 0:00:08\n", " ---------------------- ----------------- 20.4/36.8 MB 2.4 MB/s eta 0:00:07\n", " ---------------------- ----------------- 20.5/36.8 MB 2.4 MB/s eta 0:00:07\n", " ---------------------- ----------------- 20.7/36.8 MB 2.4 MB/s eta 0:00:07\n", " ---------------------- ----------------- 20.9/36.8 MB 2.5 MB/s eta 0:00:07\n", " ---------------------- ----------------- 21.1/36.8 MB 2.5 MB/s eta 0:00:07\n", " ----------------------- ---------------- 21.2/36.8 MB 2.6 MB/s eta 0:00:07\n", " ----------------------- ---------------- 21.4/36.8 MB 2.6 MB/s eta 0:00:06\n", " ----------------------- ---------------- 21.6/36.8 MB 2.7 MB/s eta 0:00:06\n", " ----------------------- ---------------- 21.8/36.8 MB 2.8 MB/s eta 0:00:06\n", " ----------------------- ---------------- 22.0/36.8 MB 2.8 MB/s eta 0:00:06\n", " ------------------------ --------------- 22.2/36.8 MB 2.8 MB/s eta 0:00:06\n", " ------------------------ --------------- 22.3/36.8 MB 2.9 MB/s eta 0:00:05\n", " ------------------------ --------------- 22.5/36.8 MB 2.9 MB/s eta 0:00:05\n", " ------------------------ --------------- 22.7/36.8 MB 3.0 MB/s eta 0:00:05\n", " ------------------------ --------------- 22.9/36.8 MB 3.0 MB/s eta 0:00:05\n", " ------------------------- -------------- 23.1/36.8 MB 3.1 MB/s eta 0:00:05\n", " ------------------------- -------------- 23.3/36.8 MB 3.1 MB/s eta 0:00:05\n", " ------------------------- -------------- 23.5/36.8 MB 3.2 MB/s eta 0:00:05\n", " ------------------------- -------------- 23.7/36.8 MB 3.2 MB/s eta 0:00:05\n", " -------------------------- ------------- 23.9/36.8 MB 3.3 MB/s eta 0:00:04\n", " -------------------------- ------------- 24.1/36.8 MB 3.3 MB/s eta 0:00:04\n", " -------------------------- ------------- 24.3/36.8 MB 3.3 MB/s eta 0:00:04\n", " -------------------------- ------------- 24.5/36.8 MB 3.4 MB/s eta 0:00:04\n", " -------------------------- ------------- 24.8/36.8 MB 3.4 MB/s eta 0:00:04\n", " --------------------------- ------------ 25.0/36.8 MB 3.5 MB/s eta 0:00:04\n", " --------------------------- ------------ 25.2/36.8 MB 3.5 MB/s eta 0:00:04\n", " --------------------------- ------------ 25.4/36.8 MB 3.6 MB/s eta 0:00:04\n", " --------------------------- ------------ 25.6/36.8 MB 3.6 MB/s eta 0:00:04\n", " ---------------------------- ----------- 25.8/36.8 MB 3.6 MB/s eta 0:00:04\n", " ---------------------------- ----------- 26.1/36.8 MB 3.7 MB/s eta 0:00:03\n", " ---------------------------- ----------- 26.3/36.8 MB 3.7 MB/s eta 0:00:03\n", " ---------------------------- ----------- 26.5/36.8 MB 3.7 MB/s eta 0:00:03\n", " ----------------------------- ---------- 26.7/36.8 MB 3.8 MB/s eta 0:00:03\n", " ----------------------------- ---------- 26.9/36.8 MB 3.8 MB/s eta 0:00:03\n", " ----------------------------- ---------- 27.1/36.8 MB 3.9 MB/s eta 0:00:03\n", " ----------------------------- ---------- 27.4/36.8 MB 3.9 MB/s eta 0:00:03\n", " ------------------------------ --------- 27.6/36.8 MB 3.9 MB/s eta 0:00:03\n", " ------------------------------ --------- 27.8/36.8 MB 4.0 MB/s eta 0:00:03\n", " ------------------------------ --------- 28.1/36.8 MB 4.0 MB/s eta 0:00:03\n", " ------------------------------ --------- 28.3/36.8 MB 4.0 MB/s eta 0:00:03\n", " ------------------------------ --------- 28.5/36.8 MB 4.1 MB/s eta 0:00:03\n", " ------------------------------- -------- 28.8/36.8 MB 4.1 MB/s eta 0:00:02\n", " ------------------------------- -------- 29.0/36.8 MB 4.2 MB/s eta 0:00:02\n", " ------------------------------- -------- 29.3/36.8 MB 4.2 MB/s eta 0:00:02\n", " -------------------------------- ------- 29.5/36.8 MB 4.2 MB/s eta 0:00:02\n", " -------------------------------- ------- 29.7/36.8 MB 4.3 MB/s eta 0:00:02\n", " -------------------------------- ------- 29.9/36.8 MB 4.3 MB/s eta 0:00:02\n", " -------------------------------- ------- 30.1/36.8 MB 4.3 MB/s eta 0:00:02\n", " --------------------------------- ------ 30.4/36.8 MB 4.4 MB/s eta 0:00:02\n", " --------------------------------- ------ 30.6/36.8 MB 4.4 MB/s eta 0:00:02\n", " --------------------------------- ------ 30.9/36.8 MB 4.5 MB/s eta 0:00:02\n", " --------------------------------- ------ 31.1/36.8 MB 4.5 MB/s eta 0:00:02\n", " ---------------------------------- ----- 31.3/36.8 MB 4.5 MB/s eta 0:00:02\n", " ---------------------------------- ----- 31.6/36.8 MB 4.5 MB/s eta 0:00:02\n", " ---------------------------------- ----- 31.8/36.8 MB 4.6 MB/s eta 0:00:02\n", " ---------------------------------- ----- 32.1/36.8 MB 4.6 MB/s eta 0:00:02\n", " ----------------------------------- ---- 32.3/36.8 MB 4.6 MB/s eta 0:00:01\n", " ----------------------------------- ---- 32.5/36.8 MB 4.7 MB/s eta 0:00:01\n", " ----------------------------------- ---- 32.8/36.8 MB 4.7 MB/s eta 0:00:01\n", " ----------------------------------- ---- 33.0/36.8 MB 4.7 MB/s eta 0:00:01\n", " ------------------------------------ --- 33.3/36.8 MB 4.8 MB/s eta 0:00:01\n", " ------------------------------------ --- 33.5/36.8 MB 4.8 MB/s eta 0:00:01\n", " ------------------------------------ --- 33.8/36.8 MB 4.9 MB/s eta 0:00:01\n", " ------------------------------------- -- 34.1/36.8 MB 4.9 MB/s eta 0:00:01\n", " ------------------------------------- -- 34.3/36.8 MB 4.9 MB/s eta 0:00:01\n", " ------------------------------------- -- 34.6/36.8 MB 5.0 MB/s eta 0:00:01\n", " ------------------------------------- -- 34.9/36.8 MB 5.0 MB/s eta 0:00:01\n", " -------------------------------------- - 35.1/36.8 MB 5.0 MB/s eta 0:00:01\n", " -------------------------------------- - 35.4/36.8 MB 5.0 MB/s eta 0:00:01\n", " -------------------------------------- - 35.7/36.8 MB 5.1 MB/s eta 0:00:01\n", " --------------------------------------- 35.9/36.8 MB 5.2 MB/s eta 0:00:01\n", " --------------------------------------- 36.2/36.8 MB 5.2 MB/s eta 0:00:01\n", " --------------------------------------- 36.5/36.8 MB 5.2 MB/s eta 0:00:01\n", " --------------------------------------- 36.8/36.8 MB 5.2 MB/s eta 0:00:01\n", " --------------------------------------- 36.8/36.8 MB 5.2 MB/s eta 0:00:01\n", " ---------------------------------------- 36.8/36.8 MB 5.0 MB/s eta 0:00:00\n", "Downloading gradio_client-2.4.0-py3-none-any.whl (59 kB)\n", " ---------------------------------------- 0.0/59.2 kB ? eta -:--:--\n", " ---------------------------------------- 59.2/59.2 kB 3.3 MB/s eta 0:00:00\n", "Downloading langchain-1.2.15-py3-none-any.whl (112 kB)\n", " ---------------------------------------- 0.0/112.7 kB ? eta -:--:--\n", " ---------------------------------------- 112.7/112.7 kB 6.4 MB/s eta 0:00:00\n", "Downloading langchain_community-0.4.1-py3-none-any.whl (2.5 MB)\n", " ---------------------------------------- 0.0/2.5 MB ? eta -:--:--\n", " ---- ----------------------------------- 0.3/2.5 MB 8.6 MB/s eta 0:00:01\n", " --------- ------------------------------ 0.6/2.5 MB 7.4 MB/s eta 0:00:01\n", " ------------- -------------------------- 0.8/2.5 MB 6.7 MB/s eta 0:00:01\n", " ------------------ --------------------- 1.2/2.5 MB 6.2 MB/s eta 0:00:01\n", " ---------------------- ----------------- 1.4/2.5 MB 6.0 MB/s eta 0:00:01\n", " ---------------------------- ----------- 1.8/2.5 MB 6.4 MB/s eta 0:00:01\n", " -------------------------------- ------- 2.1/2.5 MB 6.2 MB/s eta 0:00:01\n", " ------------------------------------- -- 2.4/2.5 MB 6.3 MB/s eta 0:00:01\n", " ---------------------------------------- 2.5/2.5 MB 6.0 MB/s eta 0:00:00\n", "Downloading langchain_core-1.2.28-py3-none-any.whl (508 kB)\n", " ---------------------------------------- 0.0/508.7 kB ? eta -:--:--\n", " -------------------- ------------------- 266.2/508.7 kB 8.3 MB/s eta 0:00:01\n", " --------------------------------------- 501.8/508.7 kB 6.3 MB/s eta 0:00:01\n", " ---------------------------------------- 508.7/508.7 kB 6.4 MB/s eta 0:00:00\n", "Downloading langchain_google_genai-4.2.1-py3-none-any.whl (66 kB)\n", " ---------------------------------------- 0.0/66.5 kB ? eta -:--:--\n", " ---------------------------------------- 66.5/66.5 kB 1.8 MB/s eta 0:00:00\n", "Downloading langchain_huggingface-1.2.1-py3-none-any.whl (30 kB)\n", "Downloading langchain_groq-1.1.2-py3-none-any.whl (19 kB)\n", "Downloading langchain_tavily-0.2.17-py3-none-any.whl (30 kB)\n", "Downloading langchain_chroma-1.1.0-py3-none-any.whl (12 kB)\n", "Downloading langgraph-1.1.6-py3-none-any.whl (169 kB)\n", " ---------------------------------------- 0.0/169.8 kB ? eta -:--:--\n", " ---------------------------------------- 169.8/169.8 kB 5.1 MB/s eta 0:00:00\n", "Downloading supabase-2.28.3-py3-none-any.whl (16 kB)\n", "Downloading postgrest-2.28.3-py3-none-any.whl (21 kB)\n", "Downloading realtime-2.28.3-py3-none-any.whl (22 kB)\n", "Downloading storage3-2.28.3-py3-none-any.whl (28 kB)\n", "Downloading supabase_auth-2.28.3-py3-none-any.whl (48 kB)\n", " ---------------------------------------- 0.0/48.4 kB ? eta -:--:--\n", " ---------------------------------------- 48.4/48.4 kB 2.4 MB/s eta 0:00:00\n", "Downloading supabase_functions-2.28.3-py3-none-any.whl (8.8 kB)\n", "Downloading arxiv-2.4.1-py3-none-any.whl (12 kB)\n", "Using cached requests-2.32.5-py3-none-any.whl (64 kB)\n", "Downloading pymupdf-1.27.2.2-cp310-abi3-win_amd64.whl (19.2 MB)\n", " ---------------------------------------- 0.0/19.2 MB ? eta -:--:--\n", " --------------------------------------- 0.3/19.2 MB 6.3 MB/s eta 0:00:03\n", " - -------------------------------------- 0.6/19.2 MB 6.4 MB/s eta 0:00:03\n", " - -------------------------------------- 0.9/19.2 MB 6.3 MB/s eta 0:00:03\n", " -- ------------------------------------- 1.2/19.2 MB 6.2 MB/s eta 0:00:03\n", " --- ------------------------------------ 1.5/19.2 MB 6.3 MB/s eta 0:00:03\n", " --- ------------------------------------ 1.8/19.2 MB 6.2 MB/s eta 0:00:03\n", " ---- ----------------------------------- 2.1/19.2 MB 6.3 MB/s eta 0:00:03\n", " ---- ----------------------------------- 2.3/19.2 MB 6.2 MB/s eta 0:00:03\n", " ----- ---------------------------------- 2.7/19.2 MB 6.3 MB/s eta 0:00:03\n", " ------ --------------------------------- 2.9/19.2 MB 6.3 MB/s eta 0:00:03\n", " ------ --------------------------------- 3.2/19.2 MB 6.2 MB/s eta 0:00:03\n", " ------- -------------------------------- 3.6/19.2 MB 6.3 MB/s eta 0:00:03\n", " -------- ------------------------------- 3.9/19.2 MB 6.3 MB/s eta 0:00:03\n", " -------- ------------------------------- 4.2/19.2 MB 6.3 MB/s eta 0:00:03\n", " --------- ------------------------------ 4.5/19.2 MB 6.4 MB/s eta 0:00:03\n", " --------- ------------------------------ 4.8/19.2 MB 6.4 MB/s eta 0:00:03\n", " ---------- ----------------------------- 5.1/19.2 MB 6.4 MB/s eta 0:00:03\n", " ----------- ---------------------------- 5.5/19.2 MB 6.4 MB/s eta 0:00:03\n", " ------------ --------------------------- 5.8/19.2 MB 6.4 MB/s eta 0:00:03\n", " ------------ --------------------------- 6.1/19.2 MB 6.4 MB/s eta 0:00:03\n", " ------------- -------------------------- 6.5/19.2 MB 6.4 MB/s eta 0:00:02\n", " -------------- ------------------------- 6.8/19.2 MB 6.5 MB/s eta 0:00:02\n", " -------------- ------------------------- 7.1/19.2 MB 6.5 MB/s eta 0:00:02\n", " -------------- ------------------------- 7.2/19.2 MB 6.3 MB/s eta 0:00:02\n", " --------------- ------------------------ 7.6/19.2 MB 6.4 MB/s eta 0:00:02\n", " ---------------- ----------------------- 7.8/19.2 MB 6.3 MB/s eta 0:00:02\n", " ---------------- ----------------------- 8.0/19.2 MB 6.2 MB/s eta 0:00:02\n", " ---------------- ----------------------- 8.2/19.2 MB 6.1 MB/s eta 0:00:02\n", " ----------------- ---------------------- 8.3/19.2 MB 6.0 MB/s eta 0:00:02\n", " ----------------- ---------------------- 8.5/19.2 MB 5.9 MB/s eta 0:00:02\n", " ----------------- ---------------------- 8.6/19.2 MB 5.9 MB/s eta 0:00:02\n", " ------------------ --------------------- 8.8/19.2 MB 5.8 MB/s eta 0:00:02\n", " ------------------ --------------------- 9.0/19.2 MB 5.7 MB/s eta 0:00:02\n", " ------------------ --------------------- 9.1/19.2 MB 5.7 MB/s eta 0:00:02\n", " ------------------- -------------------- 9.3/19.2 MB 5.6 MB/s eta 0:00:02\n", " ------------------- -------------------- 9.4/19.2 MB 5.5 MB/s eta 0:00:02\n", " ------------------- -------------------- 9.6/19.2 MB 5.5 MB/s eta 0:00:02\n", " -------------------- ------------------- 9.8/19.2 MB 5.4 MB/s eta 0:00:02\n", " -------------------- ------------------- 9.9/19.2 MB 5.4 MB/s eta 0:00:02\n", " --------------------- ------------------ 10.1/19.2 MB 5.4 MB/s eta 0:00:02\n", " --------------------- ------------------ 10.3/19.2 MB 5.4 MB/s eta 0:00:02\n", " --------------------- ------------------ 10.4/19.2 MB 5.3 MB/s eta 0:00:02\n", " ---------------------- ----------------- 10.6/19.2 MB 5.2 MB/s eta 0:00:02\n", " ---------------------- ----------------- 10.8/19.2 MB 5.2 MB/s eta 0:00:02\n", " ---------------------- ----------------- 11.0/19.2 MB 5.2 MB/s eta 0:00:02\n", " ----------------------- ---------------- 11.2/19.2 MB 5.1 MB/s eta 0:00:02\n", " ----------------------- ---------------- 11.3/19.2 MB 5.0 MB/s eta 0:00:02\n", " ----------------------- ---------------- 11.5/19.2 MB 5.0 MB/s eta 0:00:02\n", " ------------------------ --------------- 11.7/19.2 MB 5.0 MB/s eta 0:00:02\n", " ------------------------ --------------- 11.9/19.2 MB 5.0 MB/s eta 0:00:02\n", " ------------------------- -------------- 12.1/19.2 MB 4.9 MB/s eta 0:00:02\n", " ------------------------- -------------- 12.3/19.2 MB 4.9 MB/s eta 0:00:02\n", " ------------------------- -------------- 12.5/19.2 MB 4.8 MB/s eta 0:00:02\n", " -------------------------- ------------- 12.7/19.2 MB 4.8 MB/s eta 0:00:02\n", " -------------------------- ------------- 12.9/19.2 MB 4.7 MB/s eta 0:00:02\n", " --------------------------- ------------ 13.1/19.2 MB 4.7 MB/s eta 0:00:02\n", " --------------------------- ------------ 13.3/19.2 MB 4.7 MB/s eta 0:00:02\n", " --------------------------- ------------ 13.5/19.2 MB 4.6 MB/s eta 0:00:02\n", " ---------------------------- ----------- 13.6/19.2 MB 4.6 MB/s eta 0:00:02\n", " ---------------------------- ----------- 13.9/19.2 MB 4.6 MB/s eta 0:00:02\n", " ----------------------------- ---------- 14.0/19.2 MB 4.5 MB/s eta 0:00:02\n", " ----------------------------- ---------- 14.3/19.2 MB 4.5 MB/s eta 0:00:02\n", " ------------------------------ --------- 14.4/19.2 MB 4.5 MB/s eta 0:00:02\n", " ------------------------------ --------- 14.7/19.2 MB 4.5 MB/s eta 0:00:02\n", " ------------------------------ --------- 14.9/19.2 MB 4.4 MB/s eta 0:00:01\n", " ------------------------------- -------- 15.0/19.2 MB 4.4 MB/s eta 0:00:01\n", " ------------------------------- -------- 15.2/19.2 MB 4.4 MB/s eta 0:00:01\n", " -------------------------------- ------- 15.4/19.2 MB 4.3 MB/s eta 0:00:01\n", " -------------------------------- ------- 15.6/19.2 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------- ------ 15.9/19.2 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------- ------ 16.1/19.2 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------- ------ 16.3/19.2 MB 4.2 MB/s eta 0:00:01\n", " ---------------------------------- ----- 16.5/19.2 MB 4.2 MB/s eta 0:00:01\n", " ---------------------------------- ----- 16.7/19.2 MB 4.2 MB/s eta 0:00:01\n", " ----------------------------------- ---- 16.9/19.2 MB 4.2 MB/s eta 0:00:01\n", " ----------------------------------- ---- 17.1/19.2 MB 4.1 MB/s eta 0:00:01\n", " ------------------------------------ --- 17.3/19.2 MB 4.1 MB/s eta 0:00:01\n", " ------------------------------------ --- 17.6/19.2 MB 4.1 MB/s eta 0:00:01\n", " ------------------------------------- -- 17.8/19.2 MB 4.1 MB/s eta 0:00:01\n", " ------------------------------------- -- 18.0/19.2 MB 4.1 MB/s eta 0:00:01\n", " ------------------------------------- -- 18.3/19.2 MB 4.1 MB/s eta 0:00:01\n", " -------------------------------------- - 18.5/19.2 MB 4.2 MB/s eta 0:00:01\n", " -------------------------------------- - 18.7/19.2 MB 4.2 MB/s eta 0:00:01\n", " --------------------------------------- 18.9/19.2 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------------- 19.2/19.2 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------------- 19.2/19.2 MB 4.3 MB/s eta 0:00:01\n", " ---------------------------------------- 19.2/19.2 MB 4.2 MB/s eta 0:00:00\n", "Downloading pgvector-0.4.2-py3-none-any.whl (27 kB)\n", "Downloading pytesseract-0.3.13-py3-none-any.whl (14 kB)\n", "Downloading matplotlib-3.10.8-cp312-cp312-win_amd64.whl (8.1 MB)\n", " ---------------------------------------- 0.0/8.1 MB ? eta -:--:--\n", " - -------------------------------------- 0.2/8.1 MB 4.8 MB/s eta 0:00:02\n", " -- ------------------------------------- 0.5/8.1 MB 5.1 MB/s eta 0:00:02\n", " --- ------------------------------------ 0.7/8.1 MB 4.9 MB/s eta 0:00:02\n", " ---- ----------------------------------- 0.9/8.1 MB 5.0 MB/s eta 0:00:02\n", " ----- ---------------------------------- 1.2/8.1 MB 5.1 MB/s eta 0:00:02\n", " ------- -------------------------------- 1.4/8.1 MB 5.0 MB/s eta 0:00:02\n", " -------- ------------------------------- 1.7/8.1 MB 5.1 MB/s eta 0:00:02\n", " --------- ------------------------------ 1.9/8.1 MB 5.1 MB/s eta 0:00:02\n", " ---------- ----------------------------- 2.2/8.1 MB 5.1 MB/s eta 0:00:02\n", " ----------- ---------------------------- 2.4/8.1 MB 5.1 MB/s eta 0:00:02\n", " ------------ --------------------------- 2.6/8.1 MB 5.2 MB/s eta 0:00:02\n", " -------------- ------------------------- 2.9/8.1 MB 5.2 MB/s eta 0:00:02\n", " --------------- ------------------------ 3.1/8.1 MB 5.2 MB/s eta 0:00:01\n", " ---------------- ----------------------- 3.4/8.1 MB 5.3 MB/s eta 0:00:01\n", " ----------------- ---------------------- 3.7/8.1 MB 5.2 MB/s eta 0:00:01\n", " ------------------- -------------------- 3.9/8.1 MB 5.2 MB/s eta 0:00:01\n", " -------------------- ------------------- 4.2/8.1 MB 5.2 MB/s eta 0:00:01\n", " --------------------- ------------------ 4.4/8.1 MB 5.3 MB/s eta 0:00:01\n", " ---------------------- ----------------- 4.6/8.1 MB 5.3 MB/s eta 0:00:01\n", " ------------------------ --------------- 4.9/8.1 MB 5.3 MB/s eta 0:00:01\n", " ------------------------- -------------- 5.2/8.1 MB 5.3 MB/s eta 0:00:01\n", " -------------------------- ------------- 5.4/8.1 MB 5.3 MB/s eta 0:00:01\n", " --------------------------- ------------ 5.7/8.1 MB 5.3 MB/s eta 0:00:01\n", " ----------------------------- ---------- 6.0/8.1 MB 5.4 MB/s eta 0:00:01\n", " ------------------------------ --------- 6.2/8.1 MB 5.4 MB/s eta 0:00:01\n", " ------------------------------- -------- 6.5/8.1 MB 5.4 MB/s eta 0:00:01\n", " --------------------------------- ------ 6.8/8.1 MB 5.4 MB/s eta 0:00:01\n", " ---------------------------------- ----- 7.1/8.1 MB 5.4 MB/s eta 0:00:01\n", " ----------------------------------- ---- 7.3/8.1 MB 5.4 MB/s eta 0:00:01\n", " ------------------------------------- -- 7.6/8.1 MB 5.4 MB/s eta 0:00:01\n", " -------------------------------------- - 7.9/8.1 MB 5.5 MB/s eta 0:00:01\n", " --------------------------------------- 8.1/8.1 MB 5.5 MB/s eta 0:00:01\n", " ---------------------------------------- 8.1/8.1 MB 5.4 MB/s eta 0:00:00\n", "Downloading aiofiles-24.1.0-py3-none-any.whl (15 kB)\n", "Downloading aiohttp-3.13.5-cp312-cp312-win_amd64.whl (460 kB)\n", " ---------------------------------------- 0.0/460.4 kB ? eta -:--:--\n", " ------------------------ --------------- 286.7/460.4 kB 5.9 MB/s eta 0:00:01\n", " ---------------------------------------- 460.4/460.4 kB 5.8 MB/s eta 0:00:00\n", "Downloading brotli-1.2.0-cp312-cp312-win_amd64.whl (369 kB)\n", " ---------------------------------------- 0.0/369.1 kB ? eta -:--:--\n", " ------------------------------------ --- 337.9/369.1 kB 7.0 MB/s eta 0:00:01\n", " ---------------------------------------- 369.1/369.1 kB 5.7 MB/s eta 0:00:00\n", "Downloading chromadb-1.5.7-cp39-abi3-win_amd64.whl (23.1 MB)\n", " ---------------------------------------- 0.0/23.1 MB ? eta -:--:--\n", " --------------------------------------- 0.3/23.1 MB 6.7 MB/s eta 0:00:04\n", " - -------------------------------------- 0.6/23.1 MB 6.5 MB/s eta 0:00:04\n", " - -------------------------------------- 0.9/23.1 MB 6.1 MB/s eta 0:00:04\n", " -- ------------------------------------- 1.2/23.1 MB 6.5 MB/s eta 0:00:04\n", " -- ------------------------------------- 1.5/23.1 MB 6.3 MB/s eta 0:00:04\n", " --- ------------------------------------ 1.8/23.1 MB 6.3 MB/s eta 0:00:04\n", " --- ------------------------------------ 2.1/23.1 MB 6.3 MB/s eta 0:00:04\n", " ---- ----------------------------------- 2.4/23.1 MB 6.3 MB/s eta 0:00:04\n", " ---- ----------------------------------- 2.7/23.1 MB 6.3 MB/s eta 0:00:04\n", " ----- ---------------------------------- 3.0/23.1 MB 6.3 MB/s eta 0:00:04\n", " ----- ---------------------------------- 3.2/23.1 MB 6.2 MB/s eta 0:00:04\n", " ------ --------------------------------- 3.5/23.1 MB 6.2 MB/s eta 0:00:04\n", " ------ --------------------------------- 3.8/23.1 MB 6.3 MB/s eta 0:00:04\n", " ------- -------------------------------- 4.1/23.1 MB 6.2 MB/s eta 0:00:04\n", " ------- -------------------------------- 4.4/23.1 MB 6.3 MB/s eta 0:00:03\n", " -------- ------------------------------- 4.7/23.1 MB 6.3 MB/s eta 0:00:03\n", " -------- ------------------------------- 5.0/23.1 MB 6.3 MB/s eta 0:00:03\n", " --------- ------------------------------ 5.3/23.1 MB 6.4 MB/s eta 0:00:03\n", " --------- ------------------------------ 5.6/23.1 MB 6.4 MB/s eta 0:00:03\n", " ---------- ----------------------------- 5.9/23.1 MB 6.4 MB/s eta 0:00:03\n", " ---------- ----------------------------- 6.2/23.1 MB 6.4 MB/s eta 0:00:03\n", " ----------- ---------------------------- 6.4/23.1 MB 6.4 MB/s eta 0:00:03\n", " ----------- ---------------------------- 6.8/23.1 MB 6.4 MB/s eta 0:00:03\n", " ------------ --------------------------- 7.0/23.1 MB 6.3 MB/s eta 0:00:03\n", " ------------ --------------------------- 7.2/23.1 MB 6.2 MB/s eta 0:00:03\n", " ------------ --------------------------- 7.4/23.1 MB 6.1 MB/s eta 0:00:03\n", " ------------- -------------------------- 7.6/23.1 MB 6.1 MB/s eta 0:00:03\n", " ------------- -------------------------- 7.9/23.1 MB 6.1 MB/s eta 0:00:03\n", " -------------- ------------------------- 8.1/23.1 MB 6.0 MB/s eta 0:00:03\n", " -------------- ------------------------- 8.3/23.1 MB 6.0 MB/s eta 0:00:03\n", " -------------- ------------------------- 8.5/23.1 MB 6.0 MB/s eta 0:00:03\n", " --------------- ------------------------ 8.7/23.1 MB 5.9 MB/s eta 0:00:03\n", " --------------- ------------------------ 8.9/23.1 MB 5.9 MB/s eta 0:00:03\n", " --------------- ------------------------ 9.2/23.1 MB 5.9 MB/s eta 0:00:03\n", " ---------------- ----------------------- 9.4/23.1 MB 5.9 MB/s eta 0:00:03\n", " ---------------- ----------------------- 9.6/23.1 MB 5.9 MB/s eta 0:00:03\n", " ---------------- ----------------------- 9.8/23.1 MB 5.9 MB/s eta 0:00:03\n", " ----------------- ---------------------- 10.0/23.1 MB 5.8 MB/s eta 0:00:03\n", " ----------------- ---------------------- 10.3/23.1 MB 5.8 MB/s eta 0:00:03\n", " ------------------ --------------------- 10.6/23.1 MB 5.8 MB/s eta 0:00:03\n", " ------------------ --------------------- 10.8/23.1 MB 5.8 MB/s eta 0:00:03\n", " ------------------- -------------------- 11.0/23.1 MB 5.7 MB/s eta 0:00:03\n", " ------------------- -------------------- 11.2/23.1 MB 5.8 MB/s eta 0:00:03\n", " ------------------- -------------------- 11.4/23.1 MB 5.7 MB/s eta 0:00:03\n", " -------------------- ------------------- 11.6/23.1 MB 5.7 MB/s eta 0:00:02\n", " -------------------- ------------------- 11.8/23.1 MB 5.7 MB/s eta 0:00:02\n", " -------------------- ------------------- 12.0/23.1 MB 5.6 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.1/23.1 MB 5.6 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.2/23.1 MB 5.6 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.4/23.1 MB 5.4 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.5/23.1 MB 5.3 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.5/23.1 MB 5.3 MB/s eta 0:00:02\n", " --------------------- ------------------ 12.6/23.1 MB 5.2 MB/s eta 0:00:03\n", " ---------------------- ----------------- 12.7/23.1 MB 5.1 MB/s eta 0:00:03\n", " ---------------------- ----------------- 12.8/23.1 MB 5.0 MB/s eta 0:00:03\n", " ---------------------- ----------------- 12.9/23.1 MB 4.9 MB/s eta 0:00:03\n", " ---------------------- ----------------- 13.0/23.1 MB 4.9 MB/s eta 0:00:03\n", " ---------------------- ----------------- 13.1/23.1 MB 4.8 MB/s eta 0:00:03\n", " ---------------------- ----------------- 13.3/23.1 MB 4.7 MB/s eta 0:00:03\n", " ----------------------- ---------------- 13.4/23.1 MB 4.6 MB/s eta 0:00:03\n", " ----------------------- ---------------- 13.4/23.1 MB 4.6 MB/s eta 0:00:03\n", " ----------------------- ---------------- 13.6/23.1 MB 4.5 MB/s eta 0:00:03\n", " ----------------------- ---------------- 13.7/23.1 MB 4.5 MB/s eta 0:00:03\n", " ----------------------- ---------------- 13.8/23.1 MB 4.4 MB/s eta 0:00:03\n", " ------------------------ --------------- 13.9/23.1 MB 4.3 MB/s eta 0:00:03\n", " ------------------------ --------------- 14.0/23.1 MB 4.3 MB/s eta 0:00:03\n", " ------------------------ --------------- 14.1/23.1 MB 4.3 MB/s eta 0:00:03\n", " ------------------------ --------------- 14.2/23.1 MB 4.2 MB/s eta 0:00:03\n", " ------------------------ --------------- 14.3/23.1 MB 4.1 MB/s eta 0:00:03\n", " ------------------------- -------------- 14.4/23.1 MB 4.1 MB/s eta 0:00:03\n", " ------------------------- -------------- 14.6/23.1 MB 4.1 MB/s eta 0:00:03\n", " ------------------------- -------------- 14.7/23.1 MB 4.0 MB/s eta 0:00:03\n", " ------------------------- -------------- 14.8/23.1 MB 4.0 MB/s eta 0:00:03\n", " ------------------------- -------------- 14.9/23.1 MB 3.9 MB/s eta 0:00:03\n", " -------------------------- ------------- 15.0/23.1 MB 3.9 MB/s eta 0:00:03\n", " -------------------------- ------------- 15.2/23.1 MB 3.9 MB/s eta 0:00:03\n", " -------------------------- ------------- 15.3/23.1 MB 3.8 MB/s eta 0:00:03\n", " -------------------------- ------------- 15.4/23.1 MB 3.8 MB/s eta 0:00:03\n", " -------------------------- ------------- 15.5/23.1 MB 3.7 MB/s eta 0:00:03\n", " --------------------------- ------------ 15.7/23.1 MB 3.7 MB/s eta 0:00:02\n", " --------------------------- ------------ 15.8/23.1 MB 3.7 MB/s eta 0:00:02\n", " --------------------------- ------------ 15.9/23.1 MB 3.6 MB/s eta 0:00:02\n", " --------------------------- ------------ 16.1/23.1 MB 3.6 MB/s eta 0:00:02\n", " ---------------------------- ----------- 16.2/23.1 MB 3.6 MB/s eta 0:00:02\n", " ---------------------------- ----------- 16.3/23.1 MB 3.5 MB/s eta 0:00:02\n", " ---------------------------- ----------- 16.4/23.1 MB 3.5 MB/s eta 0:00:02\n", " ---------------------------- ----------- 16.6/23.1 MB 3.5 MB/s eta 0:00:02\n", " ---------------------------- ----------- 16.7/23.1 MB 3.5 MB/s eta 0:00:02\n", " ----------------------------- ---------- 16.8/23.1 MB 3.4 MB/s eta 0:00:02\n", " ----------------------------- ---------- 17.0/23.1 MB 3.4 MB/s eta 0:00:02\n", " ----------------------------- ---------- 17.1/23.1 MB 3.4 MB/s eta 0:00:02\n", " ----------------------------- ---------- 17.3/23.1 MB 3.4 MB/s eta 0:00:02\n", " ------------------------------ --------- 17.4/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------ --------- 17.6/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------ --------- 17.7/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------- -------- 17.9/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------- -------- 18.0/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------- -------- 18.2/23.1 MB 3.3 MB/s eta 0:00:02\n", " ------------------------------- -------- 18.4/23.1 MB 3.3 MB/s eta 0:00:02\n", " -------------------------------- ------- 18.5/23.1 MB 3.2 MB/s eta 0:00:02\n", " -------------------------------- ------- 18.7/23.1 MB 3.2 MB/s eta 0:00:02\n", " -------------------------------- ------- 18.8/23.1 MB 3.2 MB/s eta 0:00:02\n", " -------------------------------- ------- 19.0/23.1 MB 3.2 MB/s eta 0:00:02\n", " --------------------------------- ------ 19.1/23.1 MB 3.2 MB/s eta 0:00:02\n", " --------------------------------- ------ 19.3/23.1 MB 3.2 MB/s eta 0:00:02\n", " --------------------------------- ------ 19.5/23.1 MB 3.1 MB/s eta 0:00:02\n", " ---------------------------------- ----- 19.7/23.1 MB 3.1 MB/s eta 0:00:02\n", " ---------------------------------- ----- 19.8/23.1 MB 3.1 MB/s eta 0:00:02\n", " ---------------------------------- ----- 20.0/23.1 MB 3.1 MB/s eta 0:00:01\n", " ---------------------------------- ----- 20.2/23.1 MB 3.1 MB/s eta 0:00:01\n", " ----------------------------------- ---- 20.3/23.1 MB 3.1 MB/s eta 0:00:01\n", " ----------------------------------- ---- 20.5/23.1 MB 3.1 MB/s eta 0:00:01\n", " ----------------------------------- ---- 20.7/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------ --- 20.8/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------ --- 21.0/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------ --- 21.2/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------- -- 21.5/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------- -- 21.6/23.1 MB 3.0 MB/s eta 0:00:01\n", " ------------------------------------- -- 21.8/23.1 MB 3.0 MB/s eta 0:00:01\n", " -------------------------------------- - 22.0/23.1 MB 3.0 MB/s eta 0:00:01\n", " -------------------------------------- - 22.2/23.1 MB 3.0 MB/s eta 0:00:01\n", " -------------------------------------- - 22.4/23.1 MB 3.0 MB/s eta 0:00:01\n", " --------------------------------------- 22.5/23.1 MB 3.0 MB/s eta 0:00:01\n", " --------------------------------------- 22.7/23.1 MB 3.0 MB/s eta 0:00:01\n", " --------------------------------------- 22.9/23.1 MB 3.1 MB/s eta 0:00:01\n", " --------------------------------------- 23.1/23.1 MB 3.1 MB/s eta 0:00:01\n", " --------------------------------------- 23.1/23.1 MB 3.1 MB/s eta 0:00:01\n", " ---------------------------------------- 23.1/23.1 MB 3.1 MB/s eta 0:00:00\n", "Downloading contourpy-1.3.3-cp312-cp312-win_amd64.whl (226 kB)\n", " ---------------------------------------- 0.0/226.6 kB ? eta -:--:--\n", " ------------------------- -------------- 143.4/226.6 kB 4.2 MB/s eta 0:00:01\n", " ---------------------------------------- 226.6/226.6 kB 3.4 MB/s eta 0:00:00\n", "Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)\n", "Downloading dataclasses_json-0.6.7-py3-none-any.whl (28 kB)\n", "Downloading feedparser-6.0.12-py3-none-any.whl (81 kB)\n", " ---------------------------------------- 0.0/81.5 kB ? eta -:--:--\n", " ---------------------------------------- 81.5/81.5 kB 4.7 MB/s eta 0:00:00\n", "Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)\n", "Downloading fonttools-4.62.1-cp312-cp312-win_amd64.whl (2.3 MB)\n", " ---------------------------------------- 0.0/2.3 MB ? eta -:--:--\n", " --- ------------------------------------ 0.2/2.3 MB 5.9 MB/s eta 0:00:01\n", " ------ --------------------------------- 0.4/2.3 MB 4.6 MB/s eta 0:00:01\n", " --------- ------------------------------ 0.6/2.3 MB 4.3 MB/s eta 0:00:01\n", " ------------- -------------------------- 0.8/2.3 MB 4.4 MB/s eta 0:00:01\n", " ---------------- ----------------------- 1.0/2.3 MB 4.4 MB/s eta 0:00:01\n", " ------------------- -------------------- 1.2/2.3 MB 4.3 MB/s eta 0:00:01\n", " ----------------------- ---------------- 1.4/2.3 MB 4.3 MB/s eta 0:00:01\n", " -------------------------- ------------- 1.6/2.3 MB 4.3 MB/s eta 0:00:01\n", " ------------------------------ --------- 1.8/2.3 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------- ------ 2.0/2.3 MB 4.3 MB/s eta 0:00:01\n", " ------------------------------------- -- 2.2/2.3 MB 4.4 MB/s eta 0:00:01\n", " --------------------------------------- 2.3/2.3 MB 4.4 MB/s eta 0:00:01\n", " ---------------------------------------- 2.3/2.3 MB 4.2 MB/s eta 0:00:00\n", "Downloading google_genai-1.71.0-py3-none-any.whl (760 kB)\n", " ---------------------------------------- 0.0/760.6 kB ? eta -:--:--\n", " ---------- ----------------------------- 204.8/760.6 kB 6.3 MB/s eta 0:00:01\n", " ----------------------- ---------------- 440.3/760.6 kB 5.5 MB/s eta 0:00:01\n", " ----------------------------------- ---- 665.6/760.6 kB 4.7 MB/s eta 0:00:01\n", " ---------------------------------------- 760.6/760.6 kB 4.8 MB/s eta 0:00:00\n", "Downloading groovy-0.1.2-py3-none-any.whl (14 kB)\n", "Downloading groq-0.37.1-py3-none-any.whl (137 kB)\n", " ---------------------------------------- 0.0/137.5 kB ? eta -:--:--\n", " ---------------------------------------- 137.5/137.5 kB 8.5 MB/s eta 0:00:00\n", "Downloading hf_gradio-0.3.0-py3-none-any.whl (4.2 kB)\n", "Downloading httpx_sse-0.4.3-py3-none-any.whl (9.0 kB)\n", "Downloading jsonpatch-1.33-py2.py3-none-any.whl (12 kB)\n", "Downloading kiwisolver-1.5.0-cp312-cp312-win_amd64.whl (73 kB)\n", " ---------------------------------------- 0.0/73.6 kB ? eta -:--:--\n", " ---------------------------------------- 73.6/73.6 kB 4.2 MB/s eta 0:00:00\n", "Downloading langchain_classic-1.0.3-py3-none-any.whl (1.0 MB)\n", " ---------------------------------------- 0.0/1.0 MB ? eta -:--:--\n", " --------- ------------------------------ 0.3/1.0 MB 7.9 MB/s eta 0:00:01\n", " ----------------- ---------------------- 0.5/1.0 MB 5.6 MB/s eta 0:00:01\n", " -------------------------- ------------- 0.7/1.0 MB 5.4 MB/s eta 0:00:01\n", " ---------------------------------- ----- 0.9/1.0 MB 5.2 MB/s eta 0:00:01\n", " ---------------------------------------- 1.0/1.0 MB 4.7 MB/s eta 0:00:00\n", "Downloading langgraph_checkpoint-4.0.1-py3-none-any.whl (50 kB)\n", " ---------------------------------------- 0.0/50.5 kB ? eta -:--:--\n", " ---------------------------------------- 50.5/50.5 kB ? eta 0:00:00\n", "Downloading langgraph_prebuilt-1.0.9-py3-none-any.whl (35 kB)\n", "Downloading langgraph_sdk-0.3.13-py3-none-any.whl (96 kB)\n", " ---------------------------------------- 0.0/96.7 kB ? eta -:--:--\n", " ---------------------------------------- 96.7/96.7 kB 2.8 MB/s eta 0:00:00\n", "Downloading langsmith-0.7.29-py3-none-any.whl (367 kB)\n", " ---------------------------------------- 0.0/367.7 kB ? eta -:--:--\n", " ------------------------ --------------- 225.3/367.7 kB 4.7 MB/s eta 0:00:01\n", " ---------------------------------------- 367.7/367.7 kB 4.6 MB/s eta 0:00:00\n", "Downloading orjson-3.11.8-cp312-cp312-win_amd64.whl (127 kB)\n", " ---------------------------------------- 0.0/127.4 kB ? eta -:--:--\n", " ---------------------------------------- 127.4/127.4 kB 3.8 MB/s eta 0:00:00\n", "Downloading pydantic_settings-2.13.1-py3-none-any.whl (58 kB)\n", " ---------------------------------------- 0.0/58.9 kB ? eta -:--:--\n", " ---------------------------------------- 58.9/58.9 kB 3.0 MB/s eta 0:00:00\n", "Downloading python_multipart-0.0.24-py3-none-any.whl (24 kB)\n", "Downloading safehttpx-0.1.7-py3-none-any.whl (9.0 kB)\n", "Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n", "Downloading sqlalchemy-2.0.49-cp312-cp312-win_amd64.whl (2.1 MB)\n", " ---------------------------------------- 0.0/2.1 MB ? eta -:--:--\n", " --- ------------------------------------ 0.2/2.1 MB 5.3 MB/s eta 0:00:01\n", " ------- -------------------------------- 0.4/2.1 MB 5.0 MB/s eta 0:00:01\n", " ----------- ---------------------------- 0.6/2.1 MB 5.0 MB/s eta 0:00:01\n", " ---------------- ----------------------- 0.9/2.1 MB 4.9 MB/s eta 0:00:01\n", " -------------------- ------------------- 1.1/2.1 MB 5.0 MB/s eta 0:00:01\n", " ------------------------ --------------- 1.3/2.1 MB 4.9 MB/s eta 0:00:01\n", " ----------------------------- ---------- 1.6/2.1 MB 4.9 MB/s eta 0:00:01\n", " -------------------------------- ------- 1.8/2.1 MB 4.9 MB/s eta 0:00:01\n", " ------------------------------------- -- 2.0/2.1 MB 4.9 MB/s eta 0:00:01\n", " ---------------------------------------- 2.1/2.1 MB 4.7 MB/s eta 0:00:00\n", "Downloading tenacity-9.1.4-py3-none-any.whl (28 kB)\n", "Downloading tokenizers-0.22.2-cp39-abi3-win_amd64.whl (2.7 MB)\n", " ---------------------------------------- 0.0/2.7 MB ? eta -:--:--\n", " ---- ----------------------------------- 0.3/2.7 MB 5.9 MB/s eta 0:00:01\n", " ------- -------------------------------- 0.5/2.7 MB 5.4 MB/s eta 0:00:01\n", " ----------- ---------------------------- 0.8/2.7 MB 5.4 MB/s eta 0:00:01\n", " --------------- ------------------------ 1.0/2.7 MB 5.5 MB/s eta 0:00:01\n", " ------------------ --------------------- 1.3/2.7 MB 5.1 MB/s eta 0:00:01\n", " ---------------------- ----------------- 1.5/2.7 MB 5.4 MB/s eta 0:00:01\n", " ------------------------- -------------- 1.8/2.7 MB 5.3 MB/s eta 0:00:01\n", " ----------------------------- ---------- 2.0/2.7 MB 5.4 MB/s eta 0:00:01\n", " --------------------------------- ------ 2.3/2.7 MB 5.2 MB/s eta 0:00:01\n", " ------------------------------------ --- 2.5/2.7 MB 5.3 MB/s eta 0:00:01\n", " --------------------------------------- 2.7/2.7 MB 5.3 MB/s eta 0:00:01\n", " ---------------------------------------- 2.7/2.7 MB 5.0 MB/s eta 0:00:00\n", "Downloading tomlkit-0.13.3-py3-none-any.whl (38 kB)\n", "Downloading uuid_utils-0.14.1-cp39-abi3-win_amd64.whl (187 kB)\n", " ---------------------------------------- 0.0/187.1 kB ? eta -:--:--\n", " ---------------------------------------- 187.1/187.1 kB 5.5 MB/s eta 0:00:00\n", "Downloading xxhash-3.6.0-cp312-cp312-win_amd64.whl (31 kB)\n", "Downloading yarl-1.23.0-cp312-cp312-win_amd64.whl (87 kB)\n", " ---------------------------------------- 0.0/87.7 kB ? eta -:--:--\n", " ---------------------------------------- 87.7/87.7 kB 4.8 MB/s eta 0:00:00\n", "Downloading ffmpy-1.0.0-py3-none-any.whl (5.6 kB)\n", "Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n", "Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)\n", "Downloading aiosignal-1.4.0-py3-none-any.whl (7.5 kB)\n", "Downloading attrs-26.1.0-py3-none-any.whl (67 kB)\n", " ---------------------------------------- 0.0/67.5 kB ? eta -:--:--\n", " ---------------------------------------- 67.5/67.5 kB ? eta 0:00:00\n", "Downloading bcrypt-5.0.0-cp39-abi3-win_amd64.whl (150 kB)\n", " ---------------------------------------- 0.0/150.9 kB ? eta -:--:--\n", " ---------------------------------------- 150.9/150.9 kB 4.4 MB/s eta 0:00:00\n", "Downloading build-1.4.2-py3-none-any.whl (24 kB)\n", "Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)\n", "Downloading distro-1.9.0-py3-none-any.whl (20 kB)\n", "Downloading frozenlist-1.8.0-cp312-cp312-win_amd64.whl (44 kB)\n", " ---------------------------------------- 0.0/44.6 kB ? eta -:--:--\n", " ---------------------------------------- 44.6/44.6 kB ? eta 0:00:00\n", "Downloading google_auth-2.49.1-py3-none-any.whl (240 kB)\n", " ---------------------------------------- 0.0/240.7 kB ? eta -:--:--\n", " --------------------------------------- 235.5/240.7 kB 4.8 MB/s eta 0:00:01\n", " ---------------------------------------- 240.7/240.7 kB 4.9 MB/s eta 0:00:00\n", "Downloading greenlet-3.4.0-cp312-cp312-win_amd64.whl (238 kB)\n", " ---------------------------------------- 0.0/238.9 kB ? eta -:--:--\n", " --------------------------------------- 235.5/238.9 kB 7.3 MB/s eta 0:00:01\n", " ---------------------------------------- 238.9/238.9 kB 4.9 MB/s eta 0:00:00\n", "Downloading grpcio-1.80.0-cp312-cp312-win_amd64.whl (4.9 MB)\n", " ---------------------------------------- 0.0/4.9 MB ? eta -:--:--\n", " - -------------------------------------- 0.2/4.9 MB 7.3 MB/s eta 0:00:01\n", " ---- ----------------------------------- 0.5/4.9 MB 6.4 MB/s eta 0:00:01\n", " ------ --------------------------------- 0.7/4.9 MB 5.8 MB/s eta 0:00:01\n", " ------- -------------------------------- 1.0/4.9 MB 6.0 MB/s eta 0:00:01\n", " ---------- ----------------------------- 1.2/4.9 MB 6.0 MB/s eta 0:00:01\n", " ------------ --------------------------- 1.5/4.9 MB 5.8 MB/s eta 0:00:01\n", " -------------- ------------------------- 1.7/4.9 MB 5.7 MB/s eta 0:00:01\n", " ---------------- ----------------------- 2.0/4.9 MB 5.7 MB/s eta 0:00:01\n", " ------------------ --------------------- 2.3/4.9 MB 5.8 MB/s eta 0:00:01\n", " -------------------- ------------------- 2.5/4.9 MB 5.7 MB/s eta 0:00:01\n", " ---------------------- ----------------- 2.8/4.9 MB 5.7 MB/s eta 0:00:01\n", " ------------------------- -------------- 3.1/4.9 MB 5.7 MB/s eta 0:00:01\n", " --------------------------- ------------ 3.4/4.9 MB 5.8 MB/s eta 0:00:01\n", " ----------------------------- ---------- 3.6/4.9 MB 5.8 MB/s eta 0:00:01\n", " ------------------------------- -------- 3.9/4.9 MB 5.8 MB/s eta 0:00:01\n", " --------------------------------- ------ 4.1/4.9 MB 5.8 MB/s eta 0:00:01\n", " ------------------------------------ --- 4.4/4.9 MB 5.8 MB/s eta 0:00:01\n", " -------------------------------------- - 4.7/4.9 MB 5.8 MB/s eta 0:00:01\n", " --------------------------------------- 4.9/4.9 MB 5.8 MB/s eta 0:00:01\n", " ---------------------------------------- 4.9/4.9 MB 5.7 MB/s eta 0:00:00\n", "Downloading jsonpointer-3.1.1-py3-none-any.whl (7.7 kB)\n", "Downloading jsonschema-4.26.0-py3-none-any.whl (90 kB)\n", " ---------------------------------------- 0.0/90.6 kB ? eta -:--:--\n", " ---------------------------------------- 90.6/90.6 kB 5.0 MB/s eta 0:00:00\n", "Downloading kubernetes-35.0.0-py2.py3-none-any.whl (2.0 MB)\n", " ---------------------------------------- 0.0/2.0 MB ? eta -:--:--\n", " ---- ----------------------------------- 0.2/2.0 MB 4.8 MB/s eta 0:00:01\n", " ---------- ----------------------------- 0.5/2.0 MB 5.6 MB/s eta 0:00:01\n", " ----------------- ---------------------- 0.9/2.0 MB 5.6 MB/s eta 0:00:01\n", " ------------------------ --------------- 1.2/2.0 MB 6.0 MB/s eta 0:00:01\n", " ----------------------------- ---------- 1.5/2.0 MB 5.9 MB/s eta 0:00:01\n", " ---------------------------------- ----- 1.8/2.0 MB 5.9 MB/s eta 0:00:01\n", " --------------------------------------- 2.0/2.0 MB 6.1 MB/s eta 0:00:01\n", " ---------------------------------------- 2.0/2.0 MB 5.8 MB/s eta 0:00:00\n", "Downloading langchain_text_splitters-1.1.1-py3-none-any.whl (35 kB)\n", "Downloading marshmallow-3.26.2-py3-none-any.whl (50 kB)\n", " ---------------------------------------- 0.0/51.0 kB ? eta -:--:--\n", " ---------------------------------------- 51.0/51.0 kB ? eta 0:00:00\n", "Downloading mmh3-5.2.1-cp312-cp312-win_amd64.whl (41 kB)\n", " ---------------------------------------- 0.0/41.6 kB ? eta -:--:--\n", " ---------------------------------------- 41.6/41.6 kB 2.0 MB/s eta 0:00:00\n", "Downloading multidict-6.7.1-cp312-cp312-win_amd64.whl (46 kB)\n", " ---------------------------------------- 0.0/46.1 kB ? eta -:--:--\n", " ---------------------------------------- 46.1/46.1 kB 2.2 MB/s eta 0:00:00\n", "Downloading onnxruntime-1.24.4-cp312-cp312-win_amd64.whl (12.6 MB)\n", " ---------------------------------------- 0.0/12.6 MB ? eta -:--:--\n", " --------------------------------------- 0.3/12.6 MB 6.1 MB/s eta 0:00:03\n", " - -------------------------------------- 0.6/12.6 MB 6.4 MB/s eta 0:00:02\n", " -- ------------------------------------- 0.9/12.6 MB 6.8 MB/s eta 0:00:02\n", " --- ------------------------------------ 1.2/12.6 MB 6.7 MB/s eta 0:00:02\n", " ---- ----------------------------------- 1.4/12.6 MB 6.5 MB/s eta 0:00:02\n", " ----- ---------------------------------- 1.7/12.6 MB 6.4 MB/s eta 0:00:02\n", " ------ --------------------------------- 2.0/12.6 MB 6.5 MB/s eta 0:00:02\n", " ------- -------------------------------- 2.3/12.6 MB 6.5 MB/s eta 0:00:02\n", " -------- ------------------------------- 2.6/12.6 MB 6.5 MB/s eta 0:00:02\n", " --------- ------------------------------ 2.9/12.6 MB 6.5 MB/s eta 0:00:02\n", " ---------- ----------------------------- 3.2/12.6 MB 6.5 MB/s eta 0:00:02\n", " ----------- ---------------------------- 3.6/12.6 MB 6.5 MB/s eta 0:00:02\n", " ------------ --------------------------- 3.9/12.6 MB 6.5 MB/s eta 0:00:02\n", " ------------- -------------------------- 4.1/12.6 MB 6.5 MB/s eta 0:00:02\n", " -------------- ------------------------- 4.5/12.6 MB 6.5 MB/s eta 0:00:02\n", " --------------- ------------------------ 4.8/12.6 MB 6.5 MB/s eta 0:00:02\n", " ---------------- ----------------------- 5.1/12.6 MB 6.5 MB/s eta 0:00:02\n", " ----------------- ---------------------- 5.4/12.6 MB 6.5 MB/s eta 0:00:02\n", " ------------------ --------------------- 5.8/12.6 MB 6.6 MB/s eta 0:00:02\n", " ------------------- -------------------- 6.1/12.6 MB 6.5 MB/s eta 0:00:01\n", " ------------------- -------------------- 6.2/12.6 MB 6.5 MB/s eta 0:00:01\n", " --------------------- ------------------ 6.7/12.6 MB 6.5 MB/s eta 0:00:01\n", " --------------------- ------------------ 6.9/12.6 MB 6.4 MB/s eta 0:00:01\n", " ---------------------- ----------------- 7.1/12.6 MB 6.3 MB/s eta 0:00:01\n", " ----------------------- ---------------- 7.5/12.6 MB 6.3 MB/s eta 0:00:01\n", " ------------------------ --------------- 7.7/12.6 MB 6.2 MB/s eta 0:00:01\n", " ------------------------- -------------- 7.9/12.6 MB 6.2 MB/s eta 0:00:01\n", " ------------------------- -------------- 8.1/12.6 MB 6.2 MB/s eta 0:00:01\n", " -------------------------- ------------- 8.4/12.6 MB 6.1 MB/s eta 0:00:01\n", " --------------------------- ------------ 8.5/12.6 MB 6.1 MB/s eta 0:00:01\n", " --------------------------- ------------ 8.8/12.6 MB 6.1 MB/s eta 0:00:01\n", " ---------------------------- ----------- 8.8/12.6 MB 6.0 MB/s eta 0:00:01\n", " ---------------------------- ----------- 9.1/12.6 MB 5.9 MB/s eta 0:00:01\n", " ----------------------------- ---------- 9.2/12.6 MB 5.8 MB/s eta 0:00:01\n", " ----------------------------- ---------- 9.3/12.6 MB 5.7 MB/s eta 0:00:01\n", " ------------------------------ --------- 9.5/12.6 MB 5.6 MB/s eta 0:00:01\n", " ------------------------------ --------- 9.6/12.6 MB 5.5 MB/s eta 0:00:01\n", " ------------------------------ --------- 9.7/12.6 MB 5.4 MB/s eta 0:00:01\n", " ------------------------------- -------- 9.8/12.6 MB 5.4 MB/s eta 0:00:01\n", " ------------------------------- -------- 10.0/12.6 MB 5.3 MB/s eta 0:00:01\n", " -------------------------------- ------- 10.1/12.6 MB 5.2 MB/s eta 0:00:01\n", " -------------------------------- ------- 10.2/12.6 MB 5.2 MB/s eta 0:00:01\n", " -------------------------------- ------- 10.3/12.6 MB 5.2 MB/s eta 0:00:01\n", " --------------------------------- ------ 10.5/12.6 MB 5.1 MB/s eta 0:00:01\n", " --------------------------------- ------ 10.6/12.6 MB 5.0 MB/s eta 0:00:01\n", " ---------------------------------- ----- 10.7/12.6 MB 5.0 MB/s eta 0:00:01\n", " ---------------------------------- ----- 10.9/12.6 MB 4.9 MB/s eta 0:00:01\n", " ---------------------------------- ----- 11.0/12.6 MB 4.8 MB/s eta 0:00:01\n", " ----------------------------------- ---- 11.1/12.6 MB 4.8 MB/s eta 0:00:01\n", " ----------------------------------- ---- 11.3/12.6 MB 4.7 MB/s eta 0:00:01\n", " ------------------------------------ --- 11.4/12.6 MB 4.7 MB/s eta 0:00:01\n", " ------------------------------------ --- 11.6/12.6 MB 4.6 MB/s eta 0:00:01\n", " ------------------------------------- -- 11.7/12.6 MB 4.5 MB/s eta 0:00:01\n", " ------------------------------------- -- 11.9/12.6 MB 4.5 MB/s eta 0:00:01\n", " -------------------------------------- - 12.0/12.6 MB 4.5 MB/s eta 0:00:01\n", " -------------------------------------- - 12.2/12.6 MB 4.4 MB/s eta 0:00:01\n", " --------------------------------------- 12.3/12.6 MB 4.4 MB/s eta 0:00:01\n", " --------------------------------------- 12.4/12.6 MB 4.3 MB/s eta 0:00:01\n", " --------------------------------------- 12.6/12.6 MB 4.3 MB/s eta 0:00:01\n", " ---------------------------------------- 12.6/12.6 MB 4.2 MB/s eta 0:00:00\n", "Downloading opentelemetry_api-1.41.0-py3-none-any.whl (69 kB)\n", " ---------------------------------------- 0.0/69.0 kB ? eta -:--:--\n", " ---------------------------------------- 69.0/69.0 kB 3.7 MB/s eta 0:00:00\n", "Downloading opentelemetry_exporter_otlp_proto_grpc-1.41.0-py3-none-any.whl (20 kB)\n", "Downloading opentelemetry_exporter_otlp_proto_common-1.41.0-py3-none-any.whl (18 kB)\n", "Downloading opentelemetry_proto-1.41.0-py3-none-any.whl (72 kB)\n", " ---------------------------------------- 0.0/72.1 kB ? eta -:--:--\n", " ---------------------------------------- 72.1/72.1 kB ? eta 0:00:00\n", "Downloading opentelemetry_sdk-1.41.0-py3-none-any.whl (180 kB)\n", " ---------------------------------------- 0.0/180.2 kB ? eta -:--:--\n", " --------------------------- ------------ 122.9/180.2 kB 3.6 MB/s eta 0:00:01\n", " ---------------------------------------- 180.2/180.2 kB 3.6 MB/s eta 0:00:00\n", "Downloading opentelemetry_semantic_conventions-0.62b0-py3-none-any.whl (231 kB)\n", " ---------------------------------------- 0.0/231.6 kB ? eta -:--:--\n", " ------------------------------ --------- 174.1/231.6 kB 3.5 MB/s eta 0:00:01\n", " ---------------------------------------- 231.6/231.6 kB 3.5 MB/s eta 0:00:00\n", "Downloading ormsgpack-1.12.2-cp312-cp312-win_amd64.whl (117 kB)\n", " ---------------------------------------- 0.0/117.5 kB ? eta -:--:--\n", " ---------------------------------------- 117.5/117.5 kB 3.5 MB/s eta 0:00:00\n", "Downloading overrides-7.7.0-py3-none-any.whl (17 kB)\n", "Downloading propcache-0.4.1-cp312-cp312-win_amd64.whl (41 kB)\n", " ---------------------------------------- 0.0/41.7 kB ? eta -:--:--\n", " ---------------------------------------- 41.7/41.7 kB 2.1 MB/s eta 0:00:00\n", "Downloading pybase64-1.4.3-cp312-cp312-win_amd64.whl (35 kB)\n", "Downloading pyiceberg-0.11.1-cp312-cp312-win_amd64.whl (531 kB)\n", " ---------------------------------------- 0.0/531.3 kB ? eta -:--:--\n", " ------------- -------------------------- 174.1/531.3 kB 3.5 MB/s eta 0:00:01\n", " ----------------------- ---------------- 307.2/531.3 kB 3.8 MB/s eta 0:00:01\n", " --------------------------------- ------ 450.6/531.3 kB 3.5 MB/s eta 0:00:01\n", " ---------------------------------------- 531.3/531.3 kB 3.3 MB/s eta 0:00:00\n", "Downloading pyjwt-2.12.1-py3-none-any.whl (29 kB)\n", "Downloading pypika-0.51.1-py2.py3-none-any.whl (60 kB)\n", " ---------------------------------------- 0.0/60.6 kB ? eta -:--:--\n", " ---------------------------------------- 60.6/60.6 kB 3.1 MB/s eta 0:00:00\n", "Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)\n", " ---------------------------------------- 0.0/54.5 kB ? eta -:--:--\n", " ---------------------------------------- 54.5/54.5 kB 2.9 MB/s eta 0:00:00\n", "Downloading StrEnum-0.4.15-py3-none-any.whl (8.9 kB)\n", "Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)\n", "Downloading websockets-15.0.1-cp312-cp312-win_amd64.whl (176 kB)\n", " ---------------------------------------- 0.0/176.8 kB ? eta -:--:--\n", " ------------------------------------- -- 163.8/176.8 kB 5.0 MB/s eta 0:00:01\n", " ---------------------------------------- 176.8/176.8 kB 3.5 MB/s eta 0:00:00\n", "Downloading zstandard-0.25.0-cp312-cp312-win_amd64.whl (506 kB)\n", " ---------------------------------------- 0.0/506.3 kB ? eta -:--:--\n", " ------------- -------------------------- 174.1/506.3 kB 5.1 MB/s eta 0:00:01\n", " ---------------------------- ----------- 358.4/506.3 kB 4.5 MB/s eta 0:00:01\n", " --------------------------------------- 501.8/506.3 kB 3.9 MB/s eta 0:00:01\n", " ---------------------------------------- 506.3/506.3 kB 3.5 MB/s eta 0:00:00\n", "Downloading importlib_resources-6.5.2-py3-none-any.whl (37 kB)\n", "Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)\n", "Downloading cryptography-46.0.7-cp311-abi3-win_amd64.whl (3.5 MB)\n", " ---------------------------------------- 0.0/3.5 MB ? eta -:--:--\n", " -- ------------------------------------- 0.2/3.5 MB 4.0 MB/s eta 0:00:01\n", " ---- ----------------------------------- 0.4/3.5 MB 3.7 MB/s eta 0:00:01\n", " ------ --------------------------------- 0.5/3.5 MB 3.7 MB/s eta 0:00:01\n", " -------- ------------------------------- 0.7/3.5 MB 3.8 MB/s eta 0:00:01\n", " ---------- ----------------------------- 0.9/3.5 MB 3.8 MB/s eta 0:00:01\n", " ------------ --------------------------- 1.1/3.5 MB 3.8 MB/s eta 0:00:01\n", " -------------- ------------------------- 1.2/3.5 MB 3.7 MB/s eta 0:00:01\n", " ---------------- ----------------------- 1.4/3.5 MB 3.7 MB/s eta 0:00:01\n", " ----------------- ---------------------- 1.6/3.5 MB 3.7 MB/s eta 0:00:01\n", " -------------------- ------------------- 1.8/3.5 MB 3.8 MB/s eta 0:00:01\n", " ---------------------- ----------------- 1.9/3.5 MB 3.8 MB/s eta 0:00:01\n", " ------------------------ --------------- 2.1/3.5 MB 3.9 MB/s eta 0:00:01\n", " --------------------------- ------------ 2.4/3.5 MB 3.9 MB/s eta 0:00:01\n", " ----------------------------- ---------- 2.6/3.5 MB 3.9 MB/s eta 0:00:01\n", " ------------------------------- -------- 2.7/3.5 MB 3.9 MB/s eta 0:00:01\n", " --------------------------------- ------ 2.9/3.5 MB 3.9 MB/s eta 0:00:01\n", " ------------------------------------ --- 3.1/3.5 MB 3.9 MB/s eta 0:00:01\n", " -------------------------------------- - 3.3/3.5 MB 3.9 MB/s eta 0:00:01\n", " --------------------------------------- 3.5/3.5 MB 3.9 MB/s eta 0:00:01\n", " ---------------------------------------- 3.5/3.5 MB 3.8 MB/s eta 0:00:00\n", "Downloading durationpy-0.10-py3-none-any.whl (3.9 kB)\n", "Downloading h2-4.3.0-py3-none-any.whl (61 kB)\n", " ---------------------------------------- 0.0/61.8 kB ? eta -:--:--\n", " ---------------------------------------- 61.8/61.8 kB 3.2 MB/s eta 0:00:00\n", "Downloading httptools-0.7.1-cp312-cp312-win_amd64.whl (86 kB)\n", " ---------------------------------------- 0.0/86.7 kB ? eta -:--:--\n", " ---------------------------------------- 86.7/86.7 kB 4.8 MB/s eta 0:00:00\n", "Downloading importlib_metadata-8.7.1-py3-none-any.whl (27 kB)\n", "Downloading jsonschema_specifications-2025.9.1-py3-none-any.whl (18 kB)\n", "Downloading mypy_extensions-1.1.0-py3-none-any.whl (5.0 kB)\n", "Downloading pyroaring-1.0.4-cp312-cp312-win_amd64.whl (257 kB)\n", " ---------------------------------------- 0.0/257.5 kB ? eta -:--:--\n", " --------------------------- ------------ 174.1/257.5 kB 5.3 MB/s eta 0:00:01\n", " ---------------------------------------- 257.5/257.5 kB 5.3 MB/s eta 0:00:00\n", "Downloading referencing-0.37.0-py3-none-any.whl (26 kB)\n", "Downloading rpds_py-0.30.0-cp312-cp312-win_amd64.whl (240 kB)\n", " ---------------------------------------- 0.0/240.5 kB ? eta -:--:--\n", " ---------------------------------- ----- 204.8/240.5 kB 4.1 MB/s eta 0:00:01\n", " ---------------------------------------- 240.5/240.5 kB 3.7 MB/s eta 0:00:00\n", "Downloading strictyaml-1.7.3-py3-none-any.whl (123 kB)\n", " ---------------------------------------- 0.0/123.9 kB ? eta -:--:--\n", " ---------------------------------------- 123.9/123.9 kB 3.6 MB/s eta 0:00:00\n", "Downloading watchfiles-1.1.1-cp312-cp312-win_amd64.whl (288 kB)\n", " ---------------------------------------- 0.0/288.4 kB ? eta -:--:--\n", " ---------------------- ----------------- 163.8/288.4 kB 5.0 MB/s eta 0:00:01\n", " ---------------------------------------- 288.4/288.4 kB 3.6 MB/s eta 0:00:00\n", "Downloading websocket_client-1.9.0-py3-none-any.whl (82 kB)\n", " ---------------------------------------- 0.0/82.6 kB ? eta -:--:--\n", " ---------------------------------------- 82.6/82.6 kB 4.5 MB/s eta 0:00:00\n", "Downloading flatbuffers-25.12.19-py2.py3-none-any.whl (26 kB)\n", "Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)\n", "Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)\n", " ---------------------------------------- 0.0/6.3 MB ? eta -:--:--\n", " --------------------------------------- 0.2/6.3 MB 3.1 MB/s eta 0:00:02\n", " -- ------------------------------------- 0.4/6.3 MB 4.5 MB/s eta 0:00:02\n", " --- ------------------------------------ 0.6/6.3 MB 4.4 MB/s eta 0:00:02\n", " ---- ----------------------------------- 0.8/6.3 MB 4.4 MB/s eta 0:00:02\n", " ------ --------------------------------- 1.0/6.3 MB 4.2 MB/s eta 0:00:02\n", " ------- -------------------------------- 1.2/6.3 MB 4.2 MB/s eta 0:00:02\n", " --------- ------------------------------ 1.4/6.3 MB 4.3 MB/s eta 0:00:02\n", " ---------- ----------------------------- 1.6/6.3 MB 4.3 MB/s eta 0:00:02\n", " ----------- ---------------------------- 1.8/6.3 MB 4.4 MB/s eta 0:00:02\n", " ------------- -------------------------- 2.1/6.3 MB 4.4 MB/s eta 0:00:01\n", " -------------- ------------------------- 2.3/6.3 MB 4.4 MB/s eta 0:00:01\n", " --------------- ------------------------ 2.5/6.3 MB 4.4 MB/s eta 0:00:01\n", " ----------------- ---------------------- 2.7/6.3 MB 4.4 MB/s eta 0:00:01\n", " ------------------ --------------------- 2.9/6.3 MB 4.5 MB/s eta 0:00:01\n", " -------------------- ------------------- 3.2/6.3 MB 4.5 MB/s eta 0:00:01\n", " --------------------- ------------------ 3.3/6.3 MB 4.5 MB/s eta 0:00:01\n", " ---------------------- ----------------- 3.6/6.3 MB 4.5 MB/s eta 0:00:01\n", " ------------------------ --------------- 3.8/6.3 MB 4.5 MB/s eta 0:00:01\n", " ------------------------- -------------- 4.0/6.3 MB 4.6 MB/s eta 0:00:01\n", " -------------------------- ------------- 4.2/6.3 MB 4.6 MB/s eta 0:00:01\n", " ---------------------------- ----------- 4.4/6.3 MB 4.6 MB/s eta 0:00:01\n", " ----------------------------- ---------- 4.7/6.3 MB 4.6 MB/s eta 0:00:01\n", " ------------------------------- -------- 4.9/6.3 MB 4.6 MB/s eta 0:00:01\n", " -------------------------------- ------- 5.2/6.3 MB 4.6 MB/s eta 0:00:01\n", " ---------------------------------- ----- 5.4/6.3 MB 4.7 MB/s eta 0:00:01\n", " ----------------------------------- ---- 5.6/6.3 MB 4.6 MB/s eta 0:00:01\n", " ------------------------------------ --- 5.8/6.3 MB 4.7 MB/s eta 0:00:01\n", " -------------------------------------- - 6.1/6.3 MB 4.7 MB/s eta 0:00:01\n", " --------------------------------------- 6.3/6.3 MB 4.7 MB/s eta 0:00:01\n", " ---------------------------------------- 6.3/6.3 MB 4.6 MB/s eta 0:00:00\n", "Downloading hpack-4.1.0-py3-none-any.whl (34 kB)\n", "Downloading hyperframe-6.1.0-py3-none-any.whl (13 kB)\n", "Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)\n", " ---------------------------------------- 0.0/536.2 kB ? eta -:--:--\n", " -------------------- ------------------- 276.5/536.2 kB 5.8 MB/s eta 0:00:01\n", " ------------------------------------- -- 501.8/536.2 kB 5.3 MB/s eta 0:00:01\n", " ---------------------------------------- 536.2/536.2 kB 4.8 MB/s eta 0:00:00\n", "Downloading zipp-3.23.0-py3-none-any.whl (10 kB)\n", "Building wheels for collected packages: wikipedia, sgmllib3k\n", " Building wheel for wikipedia (pyproject.toml): started\n", " Building wheel for wikipedia (pyproject.toml): finished with status 'done'\n", " Created wheel for wikipedia: filename=wikipedia-1.4.0-py3-none-any.whl size=11785 sha256=6e53229c4b10400dacd112ac3f2ee04474083d6579f9eff69aa112fa280b5571\n", " Stored in directory: c:\\users\\anup2\\appdata\\local\\pip\\cache\\wheels\\63\\47\\7c\\a9688349aa74d228ce0a9023229c6c0ac52ca2a40fe87679b8\n", " Building wheel for sgmllib3k (pyproject.toml): started\n", " Building wheel for sgmllib3k (pyproject.toml): finished with status 'done'\n", " Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6104 sha256=d4474b961eaf8db1fd054c57b1988d054bd17f077dfb567b8d90569d171eb2a6\n", " Stored in directory: c:\\users\\anup2\\appdata\\local\\pip\\cache\\wheels\\03\\f5\\1a\\23761066dac1d0e8e683e5fdb27e12de53209d05a4a37e6246\n", "Successfully built wikipedia sgmllib3k\n", "Installing collected packages: strenum, sgmllib3k, pyroaring, pypika, pydub, mpmath, flatbuffers, filetype, durationpy, brotli, zstandard, zipp, xxhash, websockets, websocket-client, uuid-utils, tomlkit, tenacity, sympy, sniffio, semantic-version, rpds-py, requests, python-multipart, pytesseract, pyproject_hooks, pymupdf, pyjwt, pybase64, propcache, pgvector, overrides, ormsgpack, orjson, opentelemetry-proto, mypy-extensions, multidict, mmh3, marshmallow, kiwisolver, jsonpointer, importlib-resources, hyperframe, httpx-sse, httptools, hpack, grpcio, groovy, greenlet, frozenlist, fonttools, ffmpy, feedparser, distro, deprecation, cycler, contourpy, bcrypt, attrs, aiohappyeyeballs, aiofiles, yarl, wikipedia, watchfiles, typing-inspect, strictyaml, SQLAlchemy, requests-toolbelt, referencing, opentelemetry-exporter-otlp-proto-common, onnxruntime, matplotlib, jsonpatch, importlib-metadata, h2, cryptography, build, arxiv, aiosignal, tokenizers, safehttpx, realtime, pyiceberg, pydantic-settings, opentelemetry-api, langsmith, langgraph-sdk, kubernetes, jsonschema-specifications, groq, gradio-client, google-auth, dataclasses-json, aiohttp, supabase-functions, supabase-auth, storage3, postgrest, opentelemetry-semantic-conventions, langchain-core, jsonschema, hf-gradio, supabase, opentelemetry-sdk, langgraph-checkpoint, langchain-text-splitters, langchain-huggingface, langchain-groq, gradio, google-genai, opentelemetry-exporter-otlp-proto-grpc, langgraph-prebuilt, langchain-google-genai, langchain-classic, langgraph, langchain-community, chromadb, langchain-chroma, langchain, langchain-tavily\n", " Attempting uninstall: requests\n", " Found existing installation: requests 2.32.4\n", " Uninstalling requests-2.32.4:\n", " Successfully uninstalled requests-2.32.4\n", "Successfully installed SQLAlchemy-2.0.49 aiofiles-24.1.0 aiohappyeyeballs-2.6.1 aiohttp-3.13.5 aiosignal-1.4.0 arxiv-2.4.1 attrs-26.1.0 bcrypt-5.0.0 brotli-1.2.0 build-1.4.2 chromadb-1.5.7 contourpy-1.3.3 cryptography-46.0.7 cycler-0.12.1 dataclasses-json-0.6.7 deprecation-2.1.0 distro-1.9.0 durationpy-0.10 feedparser-6.0.12 ffmpy-1.0.0 filetype-1.2.0 flatbuffers-25.12.19 fonttools-4.62.1 frozenlist-1.8.0 google-auth-2.49.1 google-genai-1.71.0 gradio-6.11.0 gradio-client-2.4.0 greenlet-3.4.0 groovy-0.1.2 groq-0.37.1 grpcio-1.80.0 h2-4.3.0 hf-gradio-0.3.0 hpack-4.1.0 httptools-0.7.1 httpx-sse-0.4.3 hyperframe-6.1.0 importlib-metadata-8.7.1 importlib-resources-6.5.2 jsonpatch-1.33 jsonpointer-3.1.1 jsonschema-4.26.0 jsonschema-specifications-2025.9.1 kiwisolver-1.5.0 kubernetes-35.0.0 langchain-1.2.15 langchain-chroma-1.1.0 langchain-classic-1.0.3 langchain-community-0.4.1 langchain-core-1.2.28 langchain-google-genai-4.2.1 langchain-groq-1.1.2 langchain-huggingface-1.2.1 langchain-tavily-0.2.17 langchain-text-splitters-1.1.1 langgraph-1.1.6 langgraph-checkpoint-4.0.1 langgraph-prebuilt-1.0.9 langgraph-sdk-0.3.13 langsmith-0.7.29 marshmallow-3.26.2 matplotlib-3.10.8 mmh3-5.2.1 mpmath-1.3.0 multidict-6.7.1 mypy-extensions-1.1.0 onnxruntime-1.24.4 opentelemetry-api-1.41.0 opentelemetry-exporter-otlp-proto-common-1.41.0 opentelemetry-exporter-otlp-proto-grpc-1.41.0 opentelemetry-proto-1.41.0 opentelemetry-sdk-1.41.0 opentelemetry-semantic-conventions-0.62b0 orjson-3.11.8 ormsgpack-1.12.2 overrides-7.7.0 pgvector-0.4.2 postgrest-2.28.3 propcache-0.4.1 pybase64-1.4.3 pydantic-settings-2.13.1 pydub-0.25.1 pyiceberg-0.11.1 pyjwt-2.12.1 pymupdf-1.27.2.2 pypika-0.51.1 pyproject_hooks-1.2.0 pyroaring-1.0.4 pytesseract-0.3.13 python-multipart-0.0.24 realtime-2.28.3 referencing-0.37.0 requests-2.32.5 requests-toolbelt-1.0.0 rpds-py-0.30.0 safehttpx-0.1.7 semantic-version-2.10.0 sgmllib3k-1.0.0 sniffio-1.3.1 storage3-2.28.3 strenum-0.4.15 strictyaml-1.7.3 supabase-2.28.3 supabase-auth-2.28.3 supabase-functions-2.28.3 sympy-1.14.0 tenacity-9.1.4 tokenizers-0.22.2 tomlkit-0.13.3 typing-inspect-0.9.0 uuid-utils-0.14.1 watchfiles-1.1.1 websocket-client-1.9.0 websockets-15.0.1 wikipedia-1.4.0 xxhash-3.6.0 yarl-1.23.0 zipp-3.23.0 zstandard-0.25.0\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", "instagrapi 2.2.1 requires requests==2.32.4, but you have requests 2.32.5 which is incompatible.\n", "moviepy 1.0.3 requires decorator<5.0,>=4.0.2, but you have decorator 5.2.1 which is incompatible.\n", "\n", "[notice] A new release of pip is available: 24.1.1 -> 26.0.1\n", "[notice] To update, run: python.exe -m pip install --upgrade pip\n" ] } ], "source": [ "!pip install dotenv\n", "!pip install -r requirements.txt" ] }, { "cell_type": "markdown", "id": "daeabed2", "metadata": {}, "source": [ "Question Data" ] }, { "cell_type": "code", "execution_count": 2, "id": "04af314b", "metadata": {}, "outputs": [], "source": [ "# Load metadata.jsonl\n", "import json\n", "# Load the metadata.jsonl file\n", "with open('metadata.jsonl', 'r') as jsonl_file:\n", " json_list = list(jsonl_file)\n", "\n", "json_QA = []\n", "for json_str in json_list:\n", " json_data = json.loads(json_str)\n", " json_QA.append(json_data)" ] }, { "cell_type": "code", "execution_count": 19, "id": "5f0f0b5c", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "==================================================\n" ] } ], "source": [ "# randomly select 3 samples\n", "# {\"task_id\": \"c61d22de-5f6c-4958-a7f6-5e9707bd3466\", \"Question\": \"A paper about AI regulation that was originally submitted to arXiv.org in June 2022 shows a figure with three axes, where each axis has a label word at both ends. Which of these words is used to describe a type of society in a Physics and Society article submitted to arXiv.org on August 11, 2016?\", \"Level\": 2, \"Final answer\": \"egalitarian\", \"file_name\": \"\", \"Annotator Metadata\": {\"Steps\": \"1. Go to arxiv.org and navigate to the Advanced Search page.\\n2. Enter \\\"AI regulation\\\" in the search box and select \\\"All fields\\\" from the dropdown.\\n3. Enter 2022-06-01 and 2022-07-01 into the date inputs, select \\\"Submission date (original)\\\", and submit the search.\\n4. Go through the search results to find the article that has a figure with three axes and labels on each end of the axes, titled \\\"Fairness in Agreement With European Values: An Interdisciplinary Perspective on AI Regulation\\\".\\n5. Note the six words used as labels: deontological, egalitarian, localized, standardized, utilitarian, and consequential.\\n6. Go back to arxiv.org\\n7. Find \\\"Physics and Society\\\" and go to the page for the \\\"Physics and Society\\\" category.\\n8. Note that the tag for this category is \\\"physics.soc-ph\\\".\\n9. Go to the Advanced Search page.\\n10. Enter \\\"physics.soc-ph\\\" in the search box and select \\\"All fields\\\" from the dropdown.\\n11. Enter 2016-08-11 and 2016-08-12 into the date inputs, select \\\"Submission date (original)\\\", and submit the search.\\n12. Search for instances of the six words in the results to find the paper titled \\\"Phase transition from egalitarian to hierarchical societies driven by competition between cognitive and social constraints\\\", indicating that \\\"egalitarian\\\" is the correct answer.\", \"Number of steps\": \"12\", \"How long did this take?\": \"8 minutes\", \"Tools\": \"1. Web browser\\n2. Image recognition tools (to identify and parse a figure with three axes)\", \"Number of tools\": \"2\"}}\n", "\n", "import random\n", "# random.seed(42)\n", "random_samples = random.sample(json_QA, int(0.1 * len(json_QA))) # randomly select 10% of the samples\n", "for sample in random_samples:\n", " print(\"=\" * 50)\n", " print(f\"Task ID: {sample['task_id']}\")\n", " print(f\"Question: {sample['Question']}\")\n", " print(f\"Level: {sample['Level']}\")\n", " print(f\"Final Answer: {sample['Final answer']}\")\n", " print(f\"Annotator Metadata: \")\n", " print(f\" ├── Steps: \")\n", " for step in sample['Annotator Metadata']['Steps'].split('\\n'):\n", " print(f\" │ ├── {step}\")\n", " print(f\" ├── Number of steps: {sample['Annotator Metadata']['Number of steps']}\")\n", " print(f\" ├── How long did this take?: {sample['Annotator Metadata']['How long did this take?']}\")\n", " print(f\" ├── Tools:\")\n", " for tool in sample['Annotator Metadata']['Tools'].split('\\n'):\n", " print(f\" │ ├── {tool}\")\n", " print(f\" └── Number of tools: {sample['Annotator Metadata']['Number of tools']}\")\n", "print(\"=\" * 50)" ] }, { "cell_type": "code", "execution_count": 20, "id": "e2a495c9", "metadata": {}, "outputs": [ { "ename": "ModuleNotFoundError", "evalue": "No module named 'google.colab'", "output_type": "error", "traceback": [ "\u001b[31m---------------------------------------------------------------------------\u001b[39m", "\u001b[31mModuleNotFoundError\u001b[39m Traceback (most recent call last)", "\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[20]\u001b[39m\u001b[32m, line 8\u001b[39m\n\u001b[32m 4\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m dotenv \u001b[38;5;28;01mimport\u001b[39;00m load_dotenv\n\u001b[32m 5\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m langchain_huggingface \u001b[38;5;28;01mimport\u001b[39;00m HuggingFaceEmbeddings\n\u001b[32m 6\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m langchain_community.vectorstores \u001b[38;5;28;01mimport\u001b[39;00m SupabaseVectorStore\n\u001b[32m 7\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m supabase.client \u001b[38;5;28;01mimport\u001b[39;00m Client, create_client\n\u001b[32m----> \u001b[39m\u001b[32m8\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m google.colab \u001b[38;5;28;01mimport\u001b[39;00m userdata\n\u001b[32m 9\u001b[39m \n\u001b[32m 10\u001b[39m \n\u001b[32m 11\u001b[39m load_dotenv()\n", "\u001b[31mModuleNotFoundError\u001b[39m: No module named 'google.colab'" ] } ], "source": [ "### build a vector database based on the metadata.jsonl\n", "# https://python.langchain.com/docs/integrations/vectorstores/supabase/\n", "import os\n", "from dotenv import load_dotenv\n", "from langchain_huggingface import HuggingFaceEmbeddings\n", "from langchain_community.vectorstores import SupabaseVectorStore\n", "from supabase.client import Client, create_client\n", "from google.colab import userdata\n", "\n", "\n", "load_dotenv()\n", "# the problem is with embedding find a way for it\n", "embeddings = HuggingFaceEmbeddings(model_name=\"sentence-transformers/all-mpnet-base-v2\") # dim=768\n", "\n", "supabase_url = userdata.get(\"SUPABASE_URL\")\n", "supabase_key = userdata.get(\"SUPABASE_SERVICE_KEY\")\n", "supabase: Client = create_client(supabase_url, supabase_key)" ] }, { "cell_type": "code", "execution_count": null, "id": "33906b51", "metadata": {}, "outputs": [], "source": [ "# wrap the metadata.jsonl's questions and answers into a list of document\n", "from langchain.schema import Document\n", "docs = []\n", "for sample in json_QA:\n", " content = f\"Question : {sample['Question']}\\n\\nFinal answer : {sample['Final answer']}\"\n", " doc = {\n", " \"content\" : content,\n", " # \"metadata\" : { # meatadata的格式必须时source键,否则会报错\n", " # \"source\" : sample['task_id']\n", " # },\n", " \"metadata\" : sample['task_id'],\n", " \"embedding\" : embeddings.embed_query(content),\n", " }\n", " docs.append(doc)\n", "\n", "# upload the documents to the vector database\n", "try:\n", " response = (\n", " supabase.table(\"documents\")\n", " .insert(docs)\n", " .execute()\n", " )\n", "except Exception as exception:\n", " print(\"Error inserting data into Supabase:\", exception)\n", "\n", "# ALTERNATIVE : Save the documents (a list of dict) into a csv file, and manually upload it to Supabase\n", "# import pandas as pd\n", "# df = pd.DataFrame(docs)\n", "# df.to_csv('supabase_docs.csv', index=False)" ] }, { "cell_type": "code", "execution_count": null, "id": "55e4e051", "metadata": {}, "outputs": [], "source": [ "# add items to vector database\n", "vector_store = SupabaseVectorStore(\n", " client=supabase,\n", " embedding= embeddings,\n", " table_name=\"documents\",\n", " query_name=\"match_documents_langchain\",\n", ")\n", "retriever = vector_store.as_retriever()" ] }, { "cell_type": "code", "execution_count": null, "id": "2aa38595", "metadata": {}, "outputs": [], "source": [ "query = \"On June 6, 2023, an article by Carolyn Collins Petersen was published in Universe Today. This article mentions a team that produced a paper about their observations, linked at the bottom of the article. Find this paper. Under what NASA award number was the work performed by R. G. Arendt supported by?\"\n", "# matched_docs = vector_store.similarity_search(query, 2)\n", "docs = retriever.invoke(query, k=2)\n", "docs[0]" ] }, { "cell_type": "code", "execution_count": null, "id": "6af8bbd5", "metadata": {}, "outputs": [], "source": [ "# list of the tools used in all the samples\n", "from collections import Counter, OrderedDict\n", "\n", "tools = []\n", "for sample in json_QA:\n", " for tool in sample['Annotator Metadata']['Tools'].split('\\n'):\n", " tool = tool[2:].strip().lower()\n", " if tool.startswith(\"(\"):\n", " tool = tool[11:].strip()\n", " tools.append(tool)\n", "tools_counter = OrderedDict(Counter(tools))\n", "print(\"List of tools used in all samples:\")\n", "print(\"Total number of tools used:\", len(tools_counter))\n", "for tool, count in tools_counter.items():\n", " print(f\" ├── {tool}: {count}\")" ] }, { "cell_type": "code", "execution_count": null, "id": "b59f2c84", "metadata": {}, "outputs": [], "source": [ "system_prompt = \"\"\"\n", "You are a helpful assistant tasked with answering questions using a set of tools.\n", "If the tool is not available, you can try to find the information online. You can also use your own knowledge to answer the question.\n", "You need to provide a step-by-step explanation of how you arrived at the answer.\n", "==========================\n", "Here is a few examples showing you how to answer the question step by step.\n", "\"\"\"\n", "for i, samples in enumerate(random_samples):\n", " system_prompt += f\"\\nQuestion {i+1}: {samples['Question']}\\nSteps:\\n{samples['Annotator Metadata']['Steps']}\\nTools:\\n{samples['Annotator Metadata']['Tools']}\\nFinal Answer: {samples['Final answer']}\\n\"\n", "system_prompt += \"\\n==========================\\n\"\n", "system_prompt += \"Now, please answer the following question step by step.\\n\"\n", "\n", "# save the system_prompt to a file\n", "with open('system_prompt.txt', 'w') as f:\n", " f.write(system_prompt)" ] }, { "cell_type": "code", "execution_count": null, "id": "a5094e3a", "metadata": {}, "outputs": [], "source": [ "# load the system prompt from the file\n", "with open('system_prompt.txt', 'r') as f:\n", " system_prompt = f.read()\n", "print(system_prompt)" ] }, { "cell_type": "code", "execution_count": null, "id": "eccbef50", "metadata": {}, "outputs": [], "source": [ "import dotenv\n", "from langgraph.graph import MessagesState, START, StateGraph\n", "from langgraph.prebuilt import tools_condition\n", "from langgraph.prebuilt import ToolNode\n", "from langchain_google_genai import ChatGoogleGenerativeAI\n", "from langchain_huggingface import HuggingFaceEmbeddings\n", "from langchain_community.tools.tavily_search import TavilySearchResults\n", "from langchain_community.document_loaders import WikipediaLoader\n", "from langchain_community.document_loaders import ArxivLoader\n", "from langchain_community.vectorstores import SupabaseVectorStore\n", "from langchain.tools.retriever import create_retriever_tool\n", "from langchain_core.messages import HumanMessage, SystemMessage\n", "from langchain_core.tools import tool\n", "from supabase.client import Client, create_client\n", "\n", "# Define the retriever from supabase\n", "load_dotenv()\n", "embeddings = HuggingFaceEmbeddings(model_name=\"sentence-transformers/all-mpnet-base-v2\") # dim=768\n", "\n", "supabase_url = userdata.get(\"SUPABASE_URL\")\n", "supabase_key = userdata.get(\"SUPABASE_SERVICE_KEY\")\n", "supabase: Client = create_client(supabase_url, supabase_key)\n", "vector_store = SupabaseVectorStore(\n", " client=supabase,\n", " embedding= embeddings,\n", " table_name=\"documents\",\n", " query_name=\"match_documents_langchain\",\n", ")\n", "\n", "question_retrieve_tool = create_retriever_tool(\n", " vector_store.as_retriever(),\n", " \"Question Retriever\",\n", " \"Find similar questions in the vector database for the given question.\",\n", ")\n", "\n", "@tool\n", "def multiply(a: int, b: int) -> int:\n", " \"\"\"Multiply two numbers.\n", "\n", " Args:\n", " a: first int\n", " b: second int\n", " \"\"\"\n", " return a * b\n", "\n", "@tool\n", "def add(a: int, b: int) -> int:\n", " \"\"\"Add two numbers.\n", "\n", " Args:\n", " a: first int\n", " b: second int\n", " \"\"\"\n", " return a + b\n", "\n", "@tool\n", "def subtract(a: int, b: int) -> int:\n", " \"\"\"Subtract two numbers.\n", "\n", " Args:\n", " a: first int\n", " b: second int\n", " \"\"\"\n", " return a - b\n", "\n", "@tool\n", "def divide(a: int, b: int) -> int:\n", " \"\"\"Divide two numbers.\n", "\n", " Args:\n", " a: first int\n", " b: second int\n", " \"\"\"\n", " if b == 0:\n", " raise ValueError(\"Cannot divide by zero.\")\n", " return a / b\n", "\n", "@tool\n", "def modulus(a: int, b: int) -> int:\n", " \"\"\"Get the modulus of two numbers.\n", "\n", " Args:\n", " a: first int\n", " b: second int\n", " \"\"\"\n", " return a % b\n", "\n", "@tool\n", "def wiki_search(query: str) -> str:\n", " \"\"\"Search Wikipedia for a query and return maximum 2 results.\n", "\n", " Args:\n", " query: The search query.\"\"\"\n", " search_docs = WikipediaLoader(query=query, load_max_docs=2).load()\n", " formatted_search_docs = \"\\n\\n---\\n\\n\".join(\n", " [\n", " f'\\n{doc.page_content}\\n'\n", " for doc in search_docs\n", " ])\n", " return {\"wiki_results\": formatted_search_docs}\n", "\n", "@tool\n", "def web_search(query: str) -> str:\n", " \"\"\"Search Tavily for a query and return maximum 3 results.\n", "\n", " Args:\n", " query: The search query.\"\"\"\n", " search_docs = TavilySearchResults(max_results=3).invoke(query=query)\n", " formatted_search_docs = \"\\n\\n---\\n\\n\".join(\n", " [\n", " f'\\n{doc.page_content}\\n'\n", " for doc in search_docs\n", " ])\n", " return {\"web_results\": formatted_search_docs}\n", "\n", "@tool\n", "def arvix_search(query: str) -> str:\n", " \"\"\"Search Arxiv for a query and return maximum 3 result.\n", "\n", " Args:\n", " query: The search query.\"\"\"\n", " search_docs = ArxivLoader(query=query, load_max_docs=3).load()\n", " formatted_search_docs = \"\\n\\n---\\n\\n\".join(\n", " [\n", " f'\\n{doc.page_content[:1000]}\\n'\n", " for doc in search_docs\n", " ])\n", " return {\"arvix_results\": formatted_search_docs}\n", "\n", "@tool\n", "def similar_question_search(question: str) -> str:\n", " \"\"\"Search the vector database for similar questions and return the first results.\n", "\n", " Args:\n", " question: the question human provided.\"\"\"\n", " matched_docs = vector_store.similarity_search(query, 3)\n", " formatted_search_docs = \"\\n\\n---\\n\\n\".join(\n", " [\n", " f'\\n{doc.page_content[:1000]}\\n'\n", " for doc in matched_docs\n", " ])\n", " return {\"similar_questions\": formatted_search_docs}\n", "\n", "tools = [\n", " multiply,\n", " add,\n", " subtract,\n", " divide,\n", " modulus,\n", " wiki_search,\n", " web_search,\n", " arvix_search,\n", " question_retrieve_tool\n", "]\n", "\n", "llm = ChatGoogleGenerativeAI(model=\"gemini-2.0-flash\")\n", "llm_with_tools = llm.bind_tools(tools)" ] }, { "cell_type": "code", "execution_count": null, "id": "42bc4172", "metadata": {}, "outputs": [], "source": [ "# load the system prompt from the file\n", "with open('system_prompt.txt', 'r') as f:\n", " system_prompt = f.read()\n", "\n", "\n", "# System message\n", "sys_msg = SystemMessage(content=system_prompt)\n", "\n", "# Node\n", "def assistant(state: MessagesState):\n", " \"\"\"Assistant node\"\"\"\n", " return {\"messages\": [llm_with_tools.invoke([sys_msg] + state[\"messages\"])]}\n", "\n", "# Build graph\n", "builder = StateGraph(MessagesState)\n", "builder.add_node(\"assistant\", assistant)\n", "builder.add_node(\"tools\", ToolNode(tools))\n", "builder.add_edge(START, \"assistant\")\n", "builder.add_conditional_edges(\n", " \"assistant\",\n", " # If the latest message (result) from assistant is a tool call -> tools_condition routes to tools\n", " # If the latest message (result) from assistant is a not a tool call -> tools_condition routes to END\n", " tools_condition,\n", ")\n", "builder.add_edge(\"tools\", \"assistant\")\n", "\n", "# Compile graph\n", "graph = builder.compile()\n" ] }, { "cell_type": "code", "execution_count": null, "id": "ba2daddb", "metadata": {}, "outputs": [], "source": [ "from IPython.display import Image, display\n", "\n", "display(Image(graph.get_graph(xray=True).draw_mermaid_png()))" ] }, { "cell_type": "code", "execution_count": null, "id": "28f3e47a", "metadata": {}, "outputs": [], "source": [ "question = \"\"\n", "messages = [HumanMessage(content=question)]\n", "messages = graph.invoke({\"messages\": messages})" ] }, { "cell_type": "code", "execution_count": null, "id": "af971a1e", "metadata": {}, "outputs": [], "source": [ "for m in messages['messages']:\n", " m.pretty_print()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.4" } }, "nbformat": 4, "nbformat_minor": 5 }