Hello Milvus

After the Milvus server is successfully started, you can use this example program to create a table, insert 10 vectors, and then run a vector similarity search.

  1. Make sure Python 3.6 and a compatible pip are installed.

  2. Install Milvus Python SDK.

    # Install Milvus Python SDK
    $ pip3 install pymilvus==1.1.0
    To learn more about Milvus Python SDK, go to Milvus Python SDK Readme.
  3. Download Python example code.

    # Download Python example
    $ wget
    If you cannot use wget to download the example code, you can also create and copy the example code.
  4. Run the example code.

    # Run Milvus Python example
    $ python3
  5. Confirm the program is running correctly.

    Query result is correct.

Congratulations! You have successfully completed your first vector similarity search with Milvus.

What's next

On this page