Coder Social home page Coder Social logo

milvus_cli's People

Contributors

chris-zilliz avatar crazyshipone avatar czhen-zilliz avatar evantkchong avatar haorenfsa avatar kateshaowanjou avatar matrixji avatar nameczz avatar shanghaikid avatar shawnsi avatar sre-ci-robot avatar yeuoly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

milvus_cli's Issues

how to connect db use milvus_cli0.4.0

connect db error use milvus_cli0.4.0

connect -uri 192.168.xx.xx:19530 -t root:xxxx
message=I1legal uri: [192.168.xx.xx:19530],expected form "http[s]://[user :[email protected]
connect to MiTvus error!<ConnectionConfigException: (code=1,
:12345>

`milvus_cli` core dumps at any command.

I installed milvus_cli and readline in RHEL 8. and milvus_cli core dumps at any command.

[root@st2]# milvus_cli



  __  __ _ _                    ____ _     ___
 |  \/  (_) |_   ___   _ ___   / ___| |   |_ _|
 | |\/| | | \ \ / / | | / __| | |   | |    | |
 | |  | | | |\ V /| |_| \__ \ | |___| |___ | |
 |_|  |_|_|_| \_/  \__,_|___/  \____|_____|___|

Milvus cli version: 0.4.0
Pymilvus version: 2.3.0

Learn more: https://github.com/zilliztech/milvus_cli.


milvus_cli > connect
free(): invalid pointer
Aborted (core dumped)
[root@st2]# milvus_cli


  __  __ _ _                    ____ _     ___
 |  \/  (_) |_   ___   _ ___   / ___| |   |_ _|
 | |\/| | | \ \ / / | | / __| | |   | |    | |
 | |  | | | |\ V /| |_| \__ \ | |___| |___ | |
 |_|  |_|_|_| \_/  \__,_|___/  \____|_____|___|

Milvus cli version: 0.4.0
Pymilvus version: 2.3.0

Learn more: https://github.com/zilliztech/milvus_cli.


milvus_cli > help
free(): invalid pointer
Aborted (core dumped)
pip show pymilvus
Name: pymilvus
Version: 2.3.0
Summary: Python Sdk for Milvus
Home-page:
Author:
Author-email: Milvus Team <[email protected]>
License:
Location: /root/jupyter/virtualenv/slack/lib/python3.10/site-packages
Requires: environs, grpcio, pandas, protobuf, ujson
Required-by: milvus-cli

Query failed on loaded collection

Milvus version: dev version.
Cli: v0.2.0

  1. connect milvus
  2. query on already loaded collection
  3. throw Error: <BaseException: (code=5, message=collection has already been loaded, and the number of replicas 1 is not same as the request's 0. Should release first then reload with the new number of replicas)>

query on unloaded collection, every working fine.

[BUG] Error: No such command 'describe'

我的版本如下:

  • python 3.8.17
  • pymilvus 2.3.0
  • milvus_cli 0.4.0
    当我使用 milvus_cli 连接到 milvus 后,执行 describe collection -c test_collection ,命令行报错 Error: No such command 'describe'.

Milvus_cli GPU_IVF_FLAT is not supported. Please fix the bug.

I just want to test Milvus on GPU server with milvus_cli. But there is no any GPU_IVF_FLAT option to create index. The output is like that: Milvus cli version: 0.4.0
Pymilvus version: 2.3.0
Learn more: https://github.com/zilliztech/milvus_cli.
milvus_cli >
milvus_cli > create index
Collection name (docs_general, car): car
The name of the field to create an index for (id, vector, color, brand): vector
Index name: idx_vct
Index type (FLAT, IVF_FLAT, IVF_SQ8, IVF_PQ, RNSG, HNSW, ANNOY, AUTOINDEX, DISKANN, ) []:

milvus_cli-v0.3.3-Linux fail to start /lib64/libm.so.6: version `GLIBC_2.35' not found

cli failed to start on RHEL 8

./milvus_cli-v0.3.3-Linux
[3800578] Error loading Python lib '/tmp/_MEIzrq14X/libpython3.8.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIzrq14X/libpython3.8.so.1.0)

python --version
Python 3.10.12

I tried with python 3.8, failed at the same error.

./milvus_cli-v0.3.3-Linux
[3803912] Error loading Python lib '/tmp/_MEIbq8zhU/libpython3.8.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIbq8zhU/libpython3.8.so.1.0)

python --version
Python 3.8.16

Add a brew install method for milvus

as a macos user, I like to manage all my software using homebrew. Could you add a formula to add the milvus CLI so that it could be installed with:

brew install milvus-cli

[Bug] Command "show loading_progress" is unusable

Command "show loading_progress" errors anyway no matter how I use this command:
image
image
After some look up, I found that milvus_cli passes the partition parameter of tuple type to pymilvus, but pymilvus only accepts the partition parameter of list type, resulting in the above error.
I think there are two solutions to this issuse:

  1. Implement a callback function in "show loading_progress" which transform the partition parameter of tuple type to list type.
  2. Modify pymilvus to make pymilvus support partition_arrary parameter input of tuple type.

I personally prefer solution 1 because it this has the least impact on the whole Milvus project, and I've already implemented this.
Please let me know what you think.

milvus_cli show collection does not support json schema

image
as picture show. when i run 'show collection -c $collection_name'.i got different response. question collection schema not have json filed. openai_amc_question have json field like 'FieldSchema(name='question_meta', dtype=DataType.JSON),'

please tell me what happened?

milvus_cli cannot use VARCHAR's data type

Milvus cannot use the dataType of varchar when creating a collection, indicating the need for varchar. However, using varchar will result in an error

command line as follows
milvus_cli > create collection -c test_commond -f id:INT64: -f enterprise_id:VarChar: -f vector:FLOAT_VECTOR:1536 -p id -d test_commond
Error!
Invalid field data type, should be one of ['BOOL', 'INT8', 'INT16', 'INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BINARY_VECTOR', 'FLOAT_VECTOR']
milvus_cli >
milvus_cli > create collection -c test_commond -f id:INT64: -f enterprise_id:VARCHAR: -f vector:FLOAT_VECTOR:1536 -p id -d test_commond
Error!
Invalid field data type, should be one of ['BOOL', 'INT8', 'INT16', 'INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BINARY_VECTOR', 'FLOAT_VECTOR']
milvus_cli >
milvus_cli > create collection -c test_commond -f id:INT64: -f enterprise_id:STRING: -f vector:FLOAT_VECTOR:1536 -p id -d test_commond
RPC error: [create_collection], <MilvusException: (code=1, message=string data type not supported yet, please use VarChar type instead)>, <Time:{'RPC start': '2023-04-20 15:12:31.273735', 'RPC error': '2023-04-20 15:12:31.274766'}>
Error occurred!
<MilvusException: (code=1, message=string data type not supported yet, please use VarChar type instead)>

It's necessary to provide reset password api in cli

As usually, we never want to change password by write some python codes and execute it, and authorization is very important in current world, why not just provide it in cli? or maybe I can provide a PR to milvus_cli project to implement this feature

Implement TLS Capability for Secure Communication in Milvus CLI

The current iteration of the Milvus CLI lacks Transport Layer Security (TLS) capability, leaving communications unencrypted despite supporting authentication. This enhancement request aims to fortify the CLI by implementing TLS support for secure data transmission between the CLI and the server.
@nameczz

Enhancement proposal : A milvus_cli without any dependencies

Current milvus_cli depends on python >=3.8.5 to run, while most server image in production (like RHEL<=7 or ubantu <=16) won't have python at such high version. Some slimed or old images may only have python2 or even no python installed.

I'm recently try to build a rpm binary release for RHEL7, and I mean to enclude a milvus_cli for the user to check the service after installation. But I give up for there're so many dependency to install and there're dependency conflicts that could drive our user crazy.

Now that the go SDK is available, maybe we can use it to build a binary client without dependencies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.