mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-27 21:43:44 +03:00
7 lines
176 B
Python
7 lines
176 B
Python
|
from haystack import Document
|
||
|
from milvus_haystack import MilvusDocumentStore
|
||
|
|
||
|
ds = MilvusDocumentStore()
|
||
|
ds.write_documents([Document("Some Content")])
|
||
|
ds.get_all_documents()
|