The following code snippet in the AstraDB 🤝 Haystack Integration cookbook is not working
# embedding_dim is the number of dimensions the embedding model supports.
document_store = AstraDocumentStore(
astra_collection=ASTRA_DB_COLLECTION_NAME,
duplicates_policy=DuplicatePolicy.SKIP,
embedding_dim=384,
)
The error message is:
TypeError: AstraDocumentStore.__init__() got an unexpected keyword argument 'astra_collection'
Another issue in the cookbook code is the following code snippet:
rag_pipeline.draw("./rag_pipeline.png")
It returns this error:
TypeError: PipelineBase.draw() takes 1 positional argument but 2 were given
I'm using haystack 2.19.0