Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"%%bash\n",
"\n",
"pip install haystack-ai\n",
"pip install langdetect"
"pip install langdetect-haystack"
]
},
{
Expand Down Expand Up @@ -91,7 +91,7 @@
"source": [
"from haystack import Document, Pipeline\n",
"from haystack.document_stores.in_memory import InMemoryDocumentStore\n",
"from haystack.components.classifiers import DocumentLanguageClassifier\n",
"from haystack_integrations.components.classifiers.langdetect import DocumentLanguageClassifier\n",
"from haystack.components.routers import MetadataRouter\n",
"from haystack.components.writers import DocumentWriter\n",
"\n",
Expand Down Expand Up @@ -389,7 +389,7 @@
"from haystack.components.builders import ChatPromptBuilder\n",
"from haystack.components.generators.chat import OpenAIChatGenerator\n",
"from haystack.dataclasses import ChatMessage\n",
"from haystack.components.routers import TextLanguageRouter\n",
"from haystack_integrations.components.routers.langdetect import TextLanguageRouter\n",
"\n",
"prompt_template = [\n",
" ChatMessage.from_user(\n",
Expand Down
Loading