Back to Chatgpt Retrieval Plugin

Zilliz

docs/providers/zilliz/setup.md

latest2.5 KB
Original Source

Zilliz

Zilliz is a managed cloud-native vector database designed for the billion scale. Zilliz offers many key features, such as:

  • Multiple indexing algorithms
  • Multiple distance metrics
  • Scalar filtering
  • Time travel searches
  • Rollback and with snapshots
  • Full RBAC
  • 99.9% uptime
  • Separated storage and compute
  • Multi-language SDK's

Find more information here.

Self Hosted vs SaaS

Zilliz is a SaaS database, but offers an open-source solution, Milvus. Both options offer fast searches at the billion scale, but Zilliz handles data management for you. It automatically scales compute and storage resources and creates optimal indexes for your data. See the comparison here.

Deploying the Database

Zilliz Cloud is deployable in a few simple steps. First, create an account here. Once you have an account set up, follow the guide here to set up a database and get the parameters needed for this application.

Environment Variables:

NameRequiredDescription
DATASTOREYesDatastore name, set to zilliz
BEARER_TOKENYesYour secret token
OPENAI_API_KEYYesYour OpenAI API key
ZILLIZ_COLLECTIONOptionalZilliz collection name. Defaults to a random UUID
ZILLIZ_URIYesURI for the Zilliz instance
ZILLIZ_USERYesZilliz username
ZILLIZ_PASSWORDYesZilliz password
ZILLIZ_CONSISTENCY_LEVELOptionalData consistency level for the collection, defaults to Bounded

Running Zilliz Integration Tests

A suite of integration tests is available to verify the Zilliz integration. To run the tests, create a Zilliz database and update the environment variables.

Then, launch the test suite with this command:

bash
pytest ./tests/datastore/providers/zilliz/test_zilliz_datastore.py