How to use old schema of weaviate in haystack?

Viewed 64

I want to use weaviate as a database for haystack using:

from haystack.document_store import WeaviateDocumentStore
document_store = WeaviateDocumentStore(port= "", host="", username="", password="", index="document")

But each time it creates a new class. How can I connect to an already available class/schema? Also write_documents is does not work..

document_store.write_documents([docs])

Any suggestions?

0 Answers
Related