No project description provided
Project description
Milvus Document Store for Haystack
Installation
pip install -e milvus-haystack
Usage
First, to start up a Milvus service, follow the 'Start Milvus' instructions in the documentation.
Then, to use the MilvusDocumentStore in a Haystack pipeline"
from haystack import Document
from milvus_haystack import MilvusDocumentStore
document_store = MilvusDocumentStore()
documents = [Document(
content="A Foo Document",
meta={"page": "100", "chapter": "intro"},
embedding=[-10.0] * 128,
)]
document_store.write_documents(documents)
document_store.count_documents() # 1
License
milvus-haystack is distributed under the terms of the Apache-2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
milvus_haystack-0.0.4.tar.gz
(16.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file milvus_haystack-0.0.4.tar.gz.
File metadata
- Download URL: milvus_haystack-0.0.4.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f371bac6f94fb5c4c9a4efb34b86d5041e6f4fe2fa1e561b36489ac7c6f02898
|
|
| MD5 |
dd4bfa17746647ac065899accdc39489
|
|
| BLAKE2b-256 |
fa61f45b840b33251171f13b55ad093c78c86d869a2e657c03ffc35fef8e09c3
|
File details
Details for the file milvus_haystack-0.0.4-py3-none-any.whl.
File metadata
- Download URL: milvus_haystack-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6423c79efb982a49524ffc8455b7be5e26fd8b02115f2a4b538e158a71bea0d
|
|
| MD5 |
4309f9e49776706dc5bb5cab338d5df8
|
|
| BLAKE2b-256 |
816a329f6c51addc09b339f1897dd4caca65a9b8b6d9fe2558dff06ea5d22963
|