Skip to main content

Model components for PyMilvus, the Python SDK for Milvus

Project description

Milvus Model Lib

The milvus-model library provides the integration with common embedding and reranker models for Milvus, a high performance open-source vector database built for AI applications. milvus-model lib is included as a dependency in pymilvus, the Python SDK of Milvus.

milvus-model supports embedding and reranker models from service providers like OpenAI, Voyage AI, Cohere, and open-source models through SentenceTransformers or Hugging Face Text Embeddings Inference (TEI) .

milvus-model supports Python 3.8 and above.

Installation

If you use pymilvus, you can install milvus-model through its alias pymilvus[model]:

pip install pymilvus[model] 
# or pip install "pymilvus[model]" for zsh.

You can also install it directly:

pip install pymilvus.model

To upgrade milvus-model to the latest version, use:

pip install pymilvus.model --upgrade

If milvus-model was initially installed as part of the PyMilvus optional components, you should also upgrade PyMilvus to ensure compatibility. This can be done with:

pip install pymilvus[model] --upgrade

If you need to install a specific version of milvus-model, specify the version number:

pip install pymilvus.model==0.3.0

This command installs version 0.3.0 of milvus-model.

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

pymilvus_model-0.3.1.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

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

pymilvus_model-0.3.1-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file pymilvus_model-0.3.1.tar.gz.

File metadata

  • Download URL: pymilvus_model-0.3.1.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pymilvus_model-0.3.1.tar.gz
Algorithm Hash digest
SHA256 42a8fdc4980f55626454e62dd181d37f037053f6c88dd7b9533151e15195f3e0
MD5 c8493f786d458eea23475e3e5e8e1e2d
BLAKE2b-256 21f5da605f027dbba0bca7176e5be03c9736fd6dd81e8e606c5712fd2617de93

See more details on using hashes here.

File details

Details for the file pymilvus_model-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pymilvus_model-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 46.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pymilvus_model-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c08286e33747319d813abf53a7cbaef812428bc10f9141dfda02e771f9c1ef44
MD5 5a185da9ac1a6938b9a047ac3ae19c16
BLAKE2b-256 f186c136aca355fbce25595d2b055443747a9b8b63f63928c7daa94dc840dc9f

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