1

我想使用 weaviate 作为 haystack 的数据库,使用:

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

但是每次它都会创建一个新类。如何连接到已经可用的类/模式?也是write_documents不行。。

document_store.write_documents([docs])

有什么建议么?

4

0 回答 0