Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

milvus_haystack-0.0.4-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

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

Hashes for milvus_haystack-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f371bac6f94fb5c4c9a4efb34b86d5041e6f4fe2fa1e561b36489ac7c6f02898
MD5 dd4bfa17746647ac065899accdc39489
BLAKE2b-256 fa61f45b840b33251171f13b55ad093c78c86d869a2e657c03ffc35fef8e09c3

See more details on using hashes here.

File details

Details for the file milvus_haystack-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for milvus_haystack-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6423c79efb982a49524ffc8455b7be5e26fd8b02115f2a4b538e158a71bea0d
MD5 4309f9e49776706dc5bb5cab338d5df8
BLAKE2b-256 816a329f6c51addc09b339f1897dd4caca65a9b8b6d9fe2558dff06ea5d22963

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page