Closed dariush-saberi closed 4 days ago
Hello!
In general, we try to keep the documentation up to date, but there might be some errors (you can also suggest changes to the docs using the "Suggest Edits" button).
About the Quick Start, I cannot reproduce your error and I suggest you check that you have properly installed Haystack, as explained in the docs.
I hope this helps you reproduce the error. This is just one example, but I wanted to bring it to your attention as I’ve been using your API extensively. The level of outdated documentation is quite concerning.
If you are on a Jupyter notebook, I would try restarting the kernel.
I cannot reproduce the error on Colab:
# make conda work on Colab
!pip install -q condacolab
import condacolab
condacolab.install()
# install haystack
!conda config --add channels conda-forge/label/haystack-ai_rc
!conda install haystack-ai
# import Pipelines: works for me
from haystack import Pipeline, PredefinedPipeline
My bad. Thank you. It worked after restarting the kernel.
Most of the examples provided in your documentation do not seem to be functioning correctly. Even on your website’s first page, under the “Quick Start” section (https://haystack.deepset.ai/overview/quick-start), there appears to be an error regarding the “PredefinedPipeline.” The line “from haystack import Pipeline, PredefinedPipeline” results in an error indicating that “PredefinedPipeline” cannot be found. Where can I find the correct and up-to-date documentation?