|
70 | 70 | "name": "stdout",
|
71 | 71 | "output_type": "stream",
|
72 | 72 | "text": [
|
73 |
| - "Requirement already satisfied: haystack-ai in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (2.0.0b6)\n", |
74 |
| - "Requirement already satisfied: boilerpy3 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (1.0.7)\n", |
75 |
| - "Requirement already satisfied: haystack-bm25 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (1.0.2)\n", |
76 |
| - "Requirement already satisfied: jinja2 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (3.1.3)\n", |
77 |
| - "Requirement already satisfied: lazy-imports in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (0.3.1)\n", |
78 |
| - "Requirement already satisfied: more-itertools in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (10.2.0)\n", |
79 |
| - "Requirement already satisfied: networkx in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (3.2.1)\n", |
80 |
| - "Requirement already satisfied: openai>=1.1.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (1.10.0)\n", |
81 |
| - "Requirement already satisfied: pandas in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (2.2.0)\n", |
82 |
| - "Requirement already satisfied: posthog in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (3.3.4)\n", |
| 73 | + "Collecting haystack-ai\n", |
| 74 | + " Using cached haystack_ai-2.5.1-py3-none-any.whl.metadata (13 kB)\n", |
| 75 | + "Collecting haystack-experimental (from haystack-ai)\n", |
| 76 | + " Using cached haystack_experimental-0.1.1-py3-none-any.whl.metadata (6.9 kB)\n", |
| 77 | + "Requirement already satisfied: jinja2 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (3.1.4)\n", |
| 78 | + "Collecting lazy-imports (from haystack-ai)\n", |
| 79 | + " Using cached lazy_imports-0.3.1-py3-none-any.whl.metadata (10 kB)\n", |
| 80 | + "Collecting more-itertools (from haystack-ai)\n", |
| 81 | + " Downloading more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)\n", |
| 82 | + "Collecting networkx (from haystack-ai)\n", |
| 83 | + " Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB)\n", |
| 84 | + "Collecting numpy<2 (from haystack-ai)\n", |
| 85 | + " Using cached numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl.metadata (61 kB)\n", |
| 86 | + "Collecting openai>=1.1.0 (from haystack-ai)\n", |
| 87 | + " Downloading openai-1.45.0-py3-none-any.whl.metadata (22 kB)\n", |
| 88 | + "Collecting pandas (from haystack-ai)\n", |
| 89 | + " Using cached pandas-2.2.2-cp312-cp312-macosx_10_9_x86_64.whl.metadata (19 kB)\n", |
| 90 | + "Collecting posthog (from haystack-ai)\n", |
| 91 | + " Downloading posthog-3.6.5-py2.py3-none-any.whl.metadata (2.0 kB)\n", |
| 92 | + "Requirement already satisfied: python-dateutil in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (2.9.0)\n", |
83 | 93 | "Requirement already satisfied: pyyaml in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (6.0.1)\n",
|
84 |
| - "Requirement already satisfied: tenacity in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (8.2.3)\n", |
85 |
| - "Requirement already satisfied: tqdm in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (4.66.1)\n", |
86 |
| - "Requirement already satisfied: typing-extensions in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (4.9.0)\n", |
87 |
| - "Requirement already satisfied: anyio<5,>=3.5.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from openai>=1.1.0->haystack-ai) (4.2.0)\n", |
88 |
| - "Requirement already satisfied: distro<2,>=1.7.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from openai>=1.1.0->haystack-ai) (1.9.0)\n", |
89 |
| - "Requirement already satisfied: httpx<1,>=0.23.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from openai>=1.1.0->haystack-ai) (0.26.0)\n", |
90 |
| - "Requirement already satisfied: pydantic<3,>=1.9.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from openai>=1.1.0->haystack-ai) (2.6.0)\n", |
91 |
| - "Requirement already satisfied: sniffio in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from openai>=1.1.0->haystack-ai) (1.3.0)\n", |
92 |
| - "Requirement already satisfied: numpy in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-bm25->haystack-ai) (1.26.3)\n", |
93 |
| - "Requirement already satisfied: MarkupSafe>=2.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from jinja2->haystack-ai) (2.1.4)\n", |
94 |
| - "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from pandas->haystack-ai) (2.8.2)\n", |
95 |
| - "Requirement already satisfied: pytz>=2020.1 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from pandas->haystack-ai) (2023.4)\n", |
96 |
| - "Requirement already satisfied: tzdata>=2022.7 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from pandas->haystack-ai) (2023.4)\n", |
97 |
| - "Requirement already satisfied: requests<3.0,>=2.7 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from posthog->haystack-ai) (2.31.0)\n", |
98 |
| - "Requirement already satisfied: six>=1.5 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from posthog->haystack-ai) (1.16.0)\n", |
99 |
| - "Requirement already satisfied: monotonic>=1.5 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from posthog->haystack-ai) (1.6)\n", |
100 |
| - "Requirement already satisfied: backoff>=1.10.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from posthog->haystack-ai) (2.2.1)\n", |
101 |
| - "Requirement already satisfied: idna>=2.8 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from anyio<5,>=3.5.0->openai>=1.1.0->haystack-ai) (3.6)\n", |
102 |
| - "Requirement already satisfied: certifi in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from httpx<1,>=0.23.0->openai>=1.1.0->haystack-ai) (2023.11.17)\n", |
103 |
| - "Requirement already satisfied: httpcore==1.* in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from httpx<1,>=0.23.0->openai>=1.1.0->haystack-ai) (1.0.2)\n", |
104 |
| - "Requirement already satisfied: h11<0.15,>=0.13 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from httpcore==1.*->httpx<1,>=0.23.0->openai>=1.1.0->haystack-ai) (0.14.0)\n", |
105 |
| - "Requirement already satisfied: annotated-types>=0.4.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from pydantic<3,>=1.9.0->openai>=1.1.0->haystack-ai) (0.6.0)\n", |
106 |
| - "Requirement already satisfied: pydantic-core==2.16.1 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from pydantic<3,>=1.9.0->openai>=1.1.0->haystack-ai) (2.16.1)\n", |
107 |
| - "Requirement already satisfied: charset-normalizer<4,>=2 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests<3.0,>=2.7->posthog->haystack-ai) (3.3.2)\n", |
108 |
| - "Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests<3.0,>=2.7->posthog->haystack-ai) (2.2.0)\n", |
| 94 | + "Requirement already satisfied: requests in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (2.32.3)\n", |
| 95 | + "Collecting tenacity!=8.4.0 (from haystack-ai)\n", |
| 96 | + " Using cached tenacity-9.0.0-py3-none-any.whl.metadata (1.2 kB)\n", |
| 97 | + "Collecting tqdm (from haystack-ai)\n", |
| 98 | + " Using cached tqdm-4.66.5-py3-none-any.whl.metadata (57 kB)\n", |
| 99 | + "Requirement already satisfied: typing-extensions>=4.7 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from haystack-ai) (4.12.2)\n", |
| 100 | + "Collecting anyio<5,>=3.5.0 (from openai>=1.1.0->haystack-ai)\n", |
| 101 | + " Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)\n", |
| 102 | + "Collecting distro<2,>=1.7.0 (from openai>=1.1.0->haystack-ai)\n", |
| 103 | + " Using cached distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)\n", |
| 104 | + "Collecting httpx<1,>=0.23.0 (from openai>=1.1.0->haystack-ai)\n", |
| 105 | + " Downloading httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)\n", |
| 106 | + "Collecting jiter<1,>=0.4.0 (from openai>=1.1.0->haystack-ai)\n", |
| 107 | + " Using cached jiter-0.5.0-cp312-cp312-macosx_10_12_x86_64.whl.metadata (3.6 kB)\n", |
| 108 | + "Collecting pydantic<3,>=1.9.0 (from openai>=1.1.0->haystack-ai)\n", |
| 109 | + " Downloading pydantic-2.9.1-py3-none-any.whl.metadata (146 kB)\n", |
| 110 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m147.0/147.0 kB\u001b[0m \u001b[31m5.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 111 | + "\u001b[?25hCollecting sniffio (from openai>=1.1.0->haystack-ai)\n", |
| 112 | + " Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)\n", |
| 113 | + "Requirement already satisfied: MarkupSafe>=2.0 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from jinja2->haystack-ai) (2.1.5)\n", |
| 114 | + "Collecting pytz>=2020.1 (from pandas->haystack-ai)\n", |
| 115 | + " Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)\n", |
| 116 | + "Collecting tzdata>=2022.7 (from pandas->haystack-ai)\n", |
| 117 | + " Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", |
| 118 | + "Requirement already satisfied: six>=1.5 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from python-dateutil->haystack-ai) (1.16.0)\n", |
| 119 | + "Collecting monotonic>=1.5 (from posthog->haystack-ai)\n", |
| 120 | + " Using cached monotonic-1.6-py2.py3-none-any.whl.metadata (1.5 kB)\n", |
| 121 | + "Collecting backoff>=1.10.0 (from posthog->haystack-ai)\n", |
| 122 | + " Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)\n", |
| 123 | + "Requirement already satisfied: charset-normalizer<4,>=2 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests->haystack-ai) (3.3.2)\n", |
| 124 | + "Requirement already satisfied: idna<4,>=2.5 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests->haystack-ai) (3.7)\n", |
| 125 | + "Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests->haystack-ai) (2.2.2)\n", |
| 126 | + "Requirement already satisfied: certifi>=2017.4.17 in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from requests->haystack-ai) (2024.6.2)\n", |
| 127 | + "Collecting httpcore==1.* (from httpx<1,>=0.23.0->openai>=1.1.0->haystack-ai)\n", |
| 128 | + " Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)\n", |
| 129 | + "Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx<1,>=0.23.0->openai>=1.1.0->haystack-ai)\n", |
| 130 | + " Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)\n", |
| 131 | + "Collecting annotated-types>=0.6.0 (from pydantic<3,>=1.9.0->openai>=1.1.0->haystack-ai)\n", |
| 132 | + " Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)\n", |
| 133 | + "Collecting pydantic-core==2.23.3 (from pydantic<3,>=1.9.0->openai>=1.1.0->haystack-ai)\n", |
| 134 | + " Downloading pydantic_core-2.23.3-cp312-cp312-macosx_10_12_x86_64.whl.metadata (6.6 kB)\n", |
| 135 | + "Using cached haystack_ai-2.5.1-py3-none-any.whl (351 kB)\n", |
| 136 | + "Using cached numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl (20.3 MB)\n", |
| 137 | + "Downloading openai-1.45.0-py3-none-any.whl (374 kB)\n", |
| 138 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m374.1/374.1 kB\u001b[0m \u001b[31m12.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", |
| 139 | + "\u001b[?25hUsing cached tenacity-9.0.0-py3-none-any.whl (28 kB)\n", |
| 140 | + "Using cached tqdm-4.66.5-py3-none-any.whl (78 kB)\n", |
| 141 | + "Using cached haystack_experimental-0.1.1-py3-none-any.whl (41 kB)\n", |
| 142 | + "Using cached lazy_imports-0.3.1-py3-none-any.whl (12 kB)\n", |
| 143 | + "Downloading more_itertools-10.5.0-py3-none-any.whl (60 kB)\n", |
| 144 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m4.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 145 | + "\u001b[?25hUsing cached networkx-3.3-py3-none-any.whl (1.7 MB)\n", |
| 146 | + "Using cached pandas-2.2.2-cp312-cp312-macosx_10_9_x86_64.whl (12.5 MB)\n", |
| 147 | + "Downloading posthog-3.6.5-py2.py3-none-any.whl (54 kB)\n", |
| 148 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.2/54.2 kB\u001b[0m \u001b[31m3.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 149 | + "\u001b[?25hUsing cached anyio-4.4.0-py3-none-any.whl (86 kB)\n", |
| 150 | + "Using cached backoff-2.2.1-py3-none-any.whl (15 kB)\n", |
| 151 | + "Using cached distro-1.9.0-py3-none-any.whl (20 kB)\n", |
| 152 | + "Downloading httpx-0.27.2-py3-none-any.whl (76 kB)\n", |
| 153 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m76.4/76.4 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 154 | + "\u001b[?25hUsing cached httpcore-1.0.5-py3-none-any.whl (77 kB)\n", |
| 155 | + "Using cached jiter-0.5.0-cp312-cp312-macosx_10_12_x86_64.whl (283 kB)\n", |
| 156 | + "Using cached monotonic-1.6-py2.py3-none-any.whl (8.2 kB)\n", |
| 157 | + "Downloading pydantic-2.9.1-py3-none-any.whl (434 kB)\n", |
| 158 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m434.4/434.4 kB\u001b[0m \u001b[31m7.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", |
| 159 | + "\u001b[?25hDownloading pydantic_core-2.23.3-cp312-cp312-macosx_10_12_x86_64.whl (1.8 MB)\n", |
| 160 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.8/1.8 MB\u001b[0m \u001b[31m8.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0mm\n", |
| 161 | + "\u001b[?25hDownloading pytz-2024.2-py2.py3-none-any.whl (508 kB)\n", |
| 162 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m508.0/508.0 kB\u001b[0m \u001b[31m10.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", |
| 163 | + "\u001b[?25hUsing cached sniffio-1.3.1-py3-none-any.whl (10 kB)\n", |
| 164 | + "Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB)\n", |
| 165 | + "Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)\n", |
| 166 | + "Using cached h11-0.14.0-py3-none-any.whl (58 kB)\n", |
| 167 | + "Installing collected packages: pytz, monotonic, tzdata, tqdm, tenacity, sniffio, pydantic-core, numpy, networkx, more-itertools, lazy-imports, jiter, h11, distro, backoff, annotated-types, pydantic, posthog, pandas, httpcore, anyio, httpx, openai, haystack-experimental, haystack-ai\n", |
| 168 | + "Successfully installed annotated-types-0.7.0 anyio-4.4.0 backoff-2.2.1 distro-1.9.0 h11-0.14.0 haystack-ai-2.5.1 haystack-experimental-0.1.1 httpcore-1.0.5 httpx-0.27.2 jiter-0.5.0 lazy-imports-0.3.1 monotonic-1.6 more-itertools-10.5.0 networkx-3.3 numpy-1.26.4 openai-1.45.0 pandas-2.2.2 posthog-3.6.5 pydantic-2.9.1 pydantic-core-2.23.3 pytz-2024.2 sniffio-1.3.1 tenacity-9.0.0 tqdm-4.66.5 tzdata-2024.1\n", |
109 | 169 | "Collecting langdetect\n",
|
110 |
| - " Downloading langdetect-1.0.9.tar.gz (981 kB)\n", |
111 |
| - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m981.5/981.5 kB\u001b[0m \u001b[31m11.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", |
112 |
| - "\u001b[?25h Preparing metadata (setup.py): started\n", |
113 |
| - " Preparing metadata (setup.py): finished with status 'done'\n", |
| 170 | + " Using cached langdetect-1.0.9-py3-none-any.whl\n", |
114 | 171 | "Requirement already satisfied: six in /Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages (from langdetect) (1.16.0)\n",
|
115 |
| - "Building wheels for collected packages: langdetect\n", |
116 |
| - " Building wheel for langdetect (setup.py): started\n", |
117 |
| - " Building wheel for langdetect (setup.py): finished with status 'done'\n", |
118 |
| - " Created wheel for langdetect: filename=langdetect-1.0.9-py3-none-any.whl size=993224 sha256=8ec8e722a5a05de5f2df58f42eeb655dad2d4dce611f88b04c375fd435f3f36a\n", |
119 |
| - " Stored in directory: /Users/tuanacelik/Library/Caches/pip/wheels/c1/67/88/e844b5b022812e15a52e4eaa38a1e709e99f06f6639d7e3ba7\n", |
120 |
| - "Successfully built langdetect\n", |
121 | 172 | "Installing collected packages: langdetect\n",
|
122 | 173 | "Successfully installed langdetect-1.0.9\n"
|
123 | 174 | ]
|
|
173 | 224 | "metadata": {
|
174 | 225 | "id": "mN2fFuWWP_8D"
|
175 | 226 | },
|
176 |
| - "outputs": [ |
177 |
| - { |
178 |
| - "name": "stderr", |
179 |
| - "output_type": "stream", |
180 |
| - "text": [ |
181 |
| - "/Users/tuanacelik/opt/anaconda3/envs/tutorials/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", |
182 |
| - " from .autonotebook import tqdm as notebook_tqdm\n" |
183 |
| - ] |
184 |
| - } |
185 |
| - ], |
| 227 | + "outputs": [], |
186 | 228 | "source": [
|
187 | 229 | "from haystack import Document, Pipeline\n",
|
188 | 230 | "from haystack.document_stores.in_memory import InMemoryDocumentStore\n",
|
|
225 | 267 | },
|
226 | 268 | {
|
227 | 269 | "cell_type": "code",
|
228 |
| - "execution_count": 8, |
| 270 | + "execution_count": 3, |
229 | 271 | "metadata": {
|
230 | 272 | "id": "rfC1ZCigQJgI"
|
231 | 273 | },
|
|
256 | 298 | "outputs": [],
|
257 | 299 | "source": [
|
258 | 300 | "language_classifier = DocumentLanguageClassifier(languages=[\"en\", \"fr\", \"es\"])\n",
|
259 |
| - "router_rules = {\"en\": {\"language\": {\"$eq\": \"en\"}}, \"fr\": {\"language\": {\"$eq\": \"fr\"}}, \"es\": {\"language\": {\"$eq\": \"es\"}}}\n", |
| 301 | + "router_rules = {\"en\": {\"field\": \"meta.language\", \"operator\": \"==\", \"value\": \"en\"}, \n", |
| 302 | + " \"fr\": {\"field\": \"meta.language\", \"operator\": \"==\", \"value\": \"fe\"}, \n", |
| 303 | + " \"es\": {\"field\": \"meta.language\", \"operator\": \"==\", \"value\": \"es\"}}\n", |
260 | 304 | "router = MetadataRouter(rules=router_rules)"
|
261 | 305 | ]
|
262 | 306 | },
|
|
729 | 773 | "name": "python",
|
730 | 774 | "nbconvert_exporter": "python",
|
731 | 775 | "pygments_lexer": "ipython3",
|
732 |
| - "version": "3.12.1" |
| 776 | + "version": "3.12.4" |
733 | 777 | },
|
734 | 778 | "widgets": {
|
735 | 779 | "application/vnd.jupyter.widget-state+json": {
|
|
0 commit comments