akarpov/search/pipeline.py

7 lines
176 B
Python
Raw Normal View History

2023-11-06 20:11:15 +03:00
from haystack import Document
from milvus_haystack import MilvusDocumentStore
ds = MilvusDocumentStore()
ds.write_documents([Document("Some Content")])
ds.get_all_documents()