Replies: 1 comment 1 reply
-
Hello @ParseDark thanks for pointing out the wrong import in this code example. It was a quick fix and should work now: https://docs.haystack.deepset.ai/docs/creating-pipelines Just had to change two imports from haystack.document_stores.in_memory import InMemoryDocumentStore
from haystack.components.generators import OpenAIGenerator and I also updated the way the OpenAI api key is passed to the OpenAIGenerator. If you are looking for more code examples, I would recommend https://haystack.deepset.ai/tutorials |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description: As a new user starting with the initial tutorials, I've found the process to be fraught with difficulties. Despite having the latest pip install version, the code in the tutorials is still at version 1.0. This situation has led me to constantly consult the documentation, trying to pinpoint where my issues lie. The link to the tutorial I followed is:
Some potential solutions might include updating the version of code snippets annotated in the documentation, which could be helpful.https://docs.haystack.deepset.ai/docs/creating-pipelines
Beta Was this translation helpful? Give feedback.
All reactions